diff --git a/pom.xml b/pom.xml
index 557eb76ea2eecbdd2d833bb0c6cf8f0afa33647f..68ec3e414a0c52b851ab813c7ad656ad13a16c2c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,7 @@
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<java.version>1.6</java.version>
+		<javadocOutputDir>apidocs</javadocOutputDir>
 	</properties>
 
 	<distributionManagement>
@@ -347,6 +348,9 @@
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-javadoc-plugin</artifactId>
 				<version>2.9.1</version>
+				<configuration>
+					<destDir>${javadocOutputDir}</destDir>
+				</configuration>
 			</plugin>
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>