You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/07/19 23:19:42 UTC
[jira] Created: (MSITE-596) inheritedReports IT fails
inheritedReports IT fails
-------------------------
Key: MSITE-596
URL: https://jira.codehaus.org/browse/MSITE-596
Project: Maven 2.x and 3.x Site Plugin
Issue Type: Bug
Components: Maven 3
Affects Versions: 3.0-beta-3
Reporter: Herve Boutemy
as discovered in MSITE-595:
- with M2, each report is added: child has 2 reports generated = index+summary
- with M3, each report replaces previous one: child has 1 report = summary
What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-596) inheritedReports IT fails
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MSITE-596:
--------------------------------
Fix Version/s: 3.1
If this cannot get fixed for 3.1, we need to document the different behaviour.
> inheritedReports IT fails
> -------------------------
>
> Key: MSITE-596
> URL: https://jira.codehaus.org/browse/MSITE-596
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, Maven 3
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
> Fix For: 3.1
>
>
> as discovered in MSITE-595:
> - with M2, each report is added: child has 2 reports generated = index+summary
> - with M3, each report replaces previous one: child has 1 report = summary
> What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
> Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-596) inheritedReports IT fails
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSITE-596:
----------------------------------
Fix Version/s: (was: 3.1)
backlog
> inheritedReports IT fails
> -------------------------
>
> Key: MSITE-596
> URL: https://jira.codehaus.org/browse/MSITE-596
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, Maven 3
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
> Fix For: backlog
>
>
> as discovered in MSITE-595:
> - with M2, each report is added: child has 2 reports generated = index+summary
> - with M3, each report replaces previous one: child has 1 report = summary
> What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
> Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-596) inheritedReports IT fails
Posted by "Karl M. Davis (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292705#comment-292705 ]
Karl M. Davis commented on MSITE-596:
-------------------------------------
Please note that some folks (me, for example) are now relying on the Maven 3 behavior to exclude reports in child projects. If you change this behavior, a number of my projects would break as I need a way to exclude reports occasionally.
> inheritedReports IT fails
> -------------------------
>
> Key: MSITE-596
> URL: https://jira.codehaus.org/browse/MSITE-596
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, Maven 3
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
> Fix For: 3.1
>
>
> as discovered in MSITE-595:
> - with M2, each report is added: child has 2 reports generated = index+summary
> - with M3, each report replaces previous one: child has 1 report = summary
> What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
> Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-596) inheritedReports IT fails
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MSITE-596:
--------------------------------
Component/s: inheritance
> inheritedReports IT fails
> -------------------------
>
> Key: MSITE-596
> URL: https://jira.codehaus.org/browse/MSITE-596
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, Maven 3
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
>
> as discovered in MSITE-595:
> - with M2, each report is added: child has 2 reports generated = index+summary
> - with M3, each report replaces previous one: child has 1 report = summary
> What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
> Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-596) inheritedReports IT fails
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273691#comment-273691 ]
Herve Boutemy commented on MSITE-596:
-------------------------------------
to have the same behaviour in M3 than in M2, we need a new Maven version: see [ModelMerger#mergeReporting_Plugins()|http://maven.apache.org/ref/3.0.3/maven-model/xref/org/apache/maven/model/merge/ModelMerger.html#1291] which is not overrided in [MavenModelMerger|http://maven.apache.org/ref/3.0.3/maven-model-builder/xref/org/apache/maven/model/merge/MavenModelMerger.html]
and of course, this can't be done in the new format, since inheritance is not supported at all
> inheritedReports IT fails
> -------------------------
>
> Key: MSITE-596
> URL: https://jira.codehaus.org/browse/MSITE-596
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
>
> as discovered in MSITE-595:
> - with M2, each report is added: child has 2 reports generated = index+summary
> - with M3, each report replaces previous one: child has 1 report = summary
> What is the expected behaviour? I'd say M2 is buggy, since POM inheritance logic usually replaces instead adding
> Should we try to stick with M2 behaviour? (if feasible, I still didn't check)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira