Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-271

Multiple reportSets don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • maven-reporting-exec-1.0.2
    • maven-reporting-exec-1.1
    • maven-reporting-exec
    • 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

        1. test.zip
          1 kB
          Max Schaefer

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              awpxw Max Schaefer
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: