Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.3
-
Fix Version/s: 3.0.4
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
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.
Example project demonstrating the issue. Executing 'mvn help:effective-pom' the report set with id 'aggregate' is inherited to the 'module-a' model.