diff --git a/distribution/pom.xml b/distribution/pom.xml
index e1304aeae..1680955a6 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -145,6 +145,7 @@
${javadoc.additional.options}
+ ${project.reporting.outputDirectory}/javadocs
diff --git a/distribution/src/main/assembly/dist.xml b/distribution/src/main/assembly/dist.xml
index 845e646d1..a59c72c65 100644
--- a/distribution/src/main/assembly/dist.xml
+++ b/distribution/src/main/assembly/dist.xml
@@ -118,7 +118,7 @@
- target/site/apidocs
+ target/site/javadocs/apidocs
docs/api