Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5155

'inherited' flag of report sets ignored.

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Defining a report plugin in a parent pom like

      <reporting>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <reportSets>
              <reportSet>
                <id>javadoc</id>
                <reports>
                  <report>javadoc</report>
                  <report>test-javadoc</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>aggregate</id>
                <inherited>false</inherited>
                <reports>
                  <report>aggregate</report>
                  <report>test-aggregate</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
        </plugins>
      </reporting>
      

      the report set with id 'aggregate' will appear in the effective model of child modules although the 'inherited' flag is set to false.

      Attachments

        1. MNG-5155.zip
          1 kB
        2. MNG-5155.patch
          0.7 kB
        3. MNG-5155.patch
          2 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              schulte77 Christian Schulte
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: