You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2010/10/06 17:42:32 UTC
[jira] Created: (MNG-4856) DefaultReportingConverter create
incorrect site plugin configuration
DefaultReportingConverter create incorrect site plugin configuration
--------------------------------------------------------------------
Key: MNG-4856
URL: http://jira.codehaus.org/browse/MNG-4856
Project: Maven 2 & 3
Issue Type: Bug
Components: Inheritance and Interpolation, POM, Sites & Reporting
Affects Versions: 3.0
Reporter: Olivier Lamy
Attachments: MSITE-484.zip
for child pom mvn help:effective-pom displays
{code}
<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>
...
{code}
which is not the jxr plugin configuration defined in the child pom for the site plugin.
test project attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-4856) DefaultReportingConverter create
incorrect site plugin configuration
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237685#action_237685 ]
Olivier Lamy commented on MNG-4856:
-----------------------------------
After more debugging the model come with this merge in DefaultReportingConverter.
So the issue looks to be more model inheritance regarding build/plugins section.
> DefaultReportingConverter create incorrect site plugin configuration
> --------------------------------------------------------------------
>
> Key: MNG-4856
> URL: http://jira.codehaus.org/browse/MNG-4856
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Inheritance and Interpolation, POM, Sites & Reporting
> Affects Versions: 3.0
> Reporter: Olivier Lamy
> Attachments: MSITE-484.zip
>
>
> for child pom mvn help:effective-pom displays
> {code}
> <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>
> ...
> {code}
> which is not the jxr plugin configuration defined in the child pom for the site plugin.
> test project attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4856) DefaultReportingConverter create
incorrect site plugin configuration
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MNG-4856.
-----------------------------
Resolution: Won't Fix
so nothing to do in core to fix that (see comments in PLXUTILS-134)
> DefaultReportingConverter create incorrect site plugin configuration
> --------------------------------------------------------------------
>
> Key: MNG-4856
> URL: http://jira.codehaus.org/browse/MNG-4856
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Inheritance and Interpolation, POM, Sites & Reporting
> Affects Versions: 3.0
> Reporter: Olivier Lamy
> Attachments: MSITE-484.zip
>
>
> for child pom mvn help:effective-pom displays
> {code}
> <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>
> ...
> {code}
> which is not the jxr plugin configuration defined in the child pom for the site plugin.
> test project attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MNG-4856) DefaultReportingConverter
create incorrect site plugin configuration
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237685#action_237685 ]
Olivier Lamy edited comment on MNG-4856 at 10/6/10 12:03 PM:
-------------------------------------------------------------
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.
was (Author: olamy):
After more debugging the model come with this merge in DefaultReportingConverter.
So the issue looks to be more model inheritance regarding build/plugins section.
> DefaultReportingConverter create incorrect site plugin configuration
> --------------------------------------------------------------------
>
> Key: MNG-4856
> URL: http://jira.codehaus.org/browse/MNG-4856
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Inheritance and Interpolation, POM, Sites & Reporting
> Affects Versions: 3.0
> Reporter: Olivier Lamy
> Attachments: MSITE-484.zip
>
>
> for child pom mvn help:effective-pom displays
> {code}
> <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>
> ...
> {code}
> which is not the jxr plugin configuration defined in the child pom for the site plugin.
> test project attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira