[ https://jira.codehaus.org/browse/MSHARED-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MSHARED-271: ---------------------------------- Description: Having several report sets only the last one is created. Example: Create java doc report twice, with different parameters. First time with deprecated api list, second time without. Expected behaviour: The two directories are created with the different javadocs. However, currently onle one directory is created. {code:xml} ... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <reportSets> <reportSet> <id>without-deprecations</id> <configuration> <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> <destDir>myapidocs-without-deprecations</destDir> <nodeprecatedlist>true</nodeprecatedlist> </configuration> <reports> <report>javadoc</report> </reports> </reportSet> <reportSet> <id>with-deprecations</id> <configuration> <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> <destDir>myapidocs-with-deprecations</destDir> <nodeprecatedlist>false</nodeprecatedlist> </configuration> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting>{code} was: Having several report sets only the last one is created. Example: Create java doc report twice, with different parameters. First time with deprecated api list, second time without. Expected behaviour: The two directories are created with the different javadocs. However, currently onle one directory is created. ... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <reportSets> <reportSet> <id>without-deprecations</id> <configuration> <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> <destDir>myapidocs-without-deprecations</destDir> <nodeprecatedlist>true</nodeprecatedlist> </configuration> <reports> <report>javadoc</report> </reports> </reportSet> <reportSet> <id>with-deprecations</id> <configuration> <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> <destDir>myapidocs-with-deprecations</destDir> <nodeprecatedlist>false</nodeprecatedlist> </configuration> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> > Multiple reportSets don't work > ------------------------------ > > Key: MSHARED-271 > URL: https://jira.codehaus.org/browse/MSHARED-271 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-reporting-exec > Affects Versions: maven-reporting-exec-1.0.2 > Environment: maven 3.0.4 > maven-site-plugin 3.2 > Reporter: Max Schaefer > Assignee: Olivier Lamy > Priority: Critical > Attachments: test.zip > > > Having several report sets only the last one is created. > Example: Create java doc report twice, with different parameters. First time > with deprecated api list, second time without. > Expected behaviour: The two directories are created with the different > javadocs. > However, currently onle one directory is created. > {code:xml} > ... > <reporting> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.9</version> > <reportSets> > <reportSet> > <id>without-deprecations</id> > <configuration> > <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> > <destDir>myapidocs-without-deprecations</destDir> > <nodeprecatedlist>true</nodeprecatedlist> > </configuration> > <reports> > <report>javadoc</report> > </reports> > </reportSet> > <reportSet> > <id>with-deprecations</id> > <configuration> > <reportOutputDirectory>${project.reporting.outputDirectory}/myoutput</reportOutputDirectory> > <destDir>myapidocs-with-deprecations</destDir> > <nodeprecatedlist>false</nodeprecatedlist> > </configuration> > <reports> > <report>javadoc</report> > </reports> > </reportSet> > </reportSets> > </plugin> > </plugins> > </reporting>{code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira