From: Thanh Ha Date: Thu, 7 Jan 2016 06:37:58 +0000 (-0500) Subject: Add section for aggregating javadocs X-Git-Tag: release/beryllium~201^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=cb1046b6d32eb9eb95659ff169c163ece630d8f1;hp=b3a252c361c26ca55a2f0d000f370cd61a45d596;p=releng%2Fbuilder.git Add section for aggregating javadocs Change-Id: Ic627673347cf8b9ac1cc7311374554e8fc1a0919 Signed-off-by: Thanh Ha --- diff --git a/src/site/markdown/maven-site.md b/src/site/markdown/maven-site.md index 191de0ec1..d95b2b526 100644 --- a/src/site/markdown/maven-site.md +++ b/src/site/markdown/maven-site.md @@ -95,10 +95,10 @@ example). ${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/ - - opendaylight-site - ${nexus.site.url}/${project.artifactId}/ - + + opendaylight-site + ${nexus.site.url}/${project.artifactId}/ + **Note:** For the project root pom.xml remove the final path @@ -121,3 +121,44 @@ content: * https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html * https://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html + +## Aggregating Java apidocs + +Javadoc is generated automatically for each bundle however to aggregate them +all into a single convenient url we need to ensure that the root pom has a +profile to activate it. The following should be copied into the profiles +section of the project root pom. + + + + + maven-site + + + ${user.dir}/deploy-site.xml + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + false + + + aggregate + + aggregate + + package + + + + + + +