Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.0
-
Fix Version/s: None
-
Component/s: Inheritance and Interpolation, POM, Sites & Reporting
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
for child pom mvn help:effective-pom displays
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3-SNAPSHOT</version>
<executions>
<execution>
<id>default-site</id>
<phase>site</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.1</version>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>summary</report>
<report>index</report>
<report>cim</report>
<report>issue-tracking</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>
...
which is not the jxr plugin configuration defined in the child pom for the site plugin.
test project attached.
Issue Links
- depends upon
-
PLXUTILS-134
Incorrect Xpp3Dom.mergeXpp3Dom
-
- is depended upon by
-
MSITE-484
Support adding and overriding report plugins in new maven-site-plugin 3.x reportPlugins configuration format
-
After more debugging the model come with this merge in DefaultReportingConverter.
So the issue looks to be more model inheritance regarding build/plugins section.
issue located in a recursive call in InheritanceModelMerger#mergePluginContainer_Plugins.