[
https://jira.codehaus.org/browse/MSHARED-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=322415#comment-322415
]
Sebastian Schaffert commented on MSHARED-271:
---------------------------------------------
any progress on this issue? It is a bit annoying, because we would like to use
the reporting plugin for creating different kinds of Javadoc (Java API and REST
API), and at the moment all workarounds are not really good...
> 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