Author: vsiveton Date: Wed Aug 13 15:00:42 2008 New Revision: 685695 URL: http://svn.apache.org/viewvc?rev=685695&view=rev Log: MJAVADOC-212: AggregatorJavadocReport/AggregatorTestJavadocReport are used by default in aggregator and no reports are generated
o updated documentation Modified: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/aggregate.apt Modified: maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/aggregate.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/aggregate.apt?rev=685695&r1=685694&r2=685695&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/aggregate.apt (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/site/apt/examples/aggregate.apt Wed Aug 13 15:00:42 2008 @@ -2,8 +2,9 @@ Aggregating Javadocs for Multi-Projects ------ Maria Odea Ching + Vincent Siveton ------ - 2008-07-31 + 2008-08-13 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -78,5 +79,42 @@ * Using The \<aggregate\> Goal The \<aggregate/\> parameter doesn't include generate source directories defined using the - {{{http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html}build-helper:add-source}}. In this case, you need - to use the <<<aggregate>>> goal and <<<test-aggregate>>> goals. + {{{http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html}build-helper:add-source}}. In this case, + you need to use the <<<aggregate>>> goal and <<<test-aggregate>>> goals. You could also define several \<reportSet/\> + like the following: + ++-----+ + +<project> + ... + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <reportSets> + <reportSet> + <id>non-aggregate</id> + <configuration> + ... + </configuration> + <reports> + <report>javadoc</report> + </reports> + </reportSet> + <reportSet> + <id>aggregate</id> + <configuration> + ... + </configuration> + <reports> + <report>aggregate</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + ... +</project> ++-----+