Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
maven-reporting-exec-1.0.2
-
None
-
maven 3.0.4
maven-site-plugin 3.2
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.
... <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>
Attachments
Attachments
Issue Links
- is duplicated by
-
MJAVADOC-335 In Maven 3 it is impossible to generate several JavaDoc reports at once
- Closed
-
SUREFIRE-905 Surefire report plugin only executed tests once. Junit Categorization is not possible
- Closed