From cb1046b6d32eb9eb95659ff169c163ece630d8f1 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 7 Jan 2016 01:37:58 -0500 Subject: [PATCH] Add section for aggregating javadocs Change-Id: Ic627673347cf8b9ac1cc7311374554e8fc1a0919 Signed-off-by: Thanh Ha --- src/site/markdown/maven-site.md | 49 ++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 4 deletions(-) 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 + + + + + + + -- 2.36.6