Maven
  1. Maven
  2. MNG-4856

DefaultReportingConverter create incorrect site plugin configuration

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      1

      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

          Activity

          Hide
          Olivier Lamy added a comment - - edited

          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.

          Show
          Olivier Lamy added a comment - - edited 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.
          Hide
          Olivier Lamy added a comment -

          so nothing to do in core to fix that (see comments in PLXUTILS-134)

          Show
          Olivier Lamy added a comment - so nothing to do in core to fix that (see comments in PLXUTILS-134 )

            People

            • Assignee:
              Unassigned
              Reporter:
              Olivier Lamy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: