[
http://jira.codehaus.org/browse/MNG-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason van Zyl updated MNG-3700:
-------------------------------
Fix Version/s: (was: 2.2.2)
3.0-alpha-7
> ModelUtils.clone doesn't clone plugin entries where inherited == false
> ----------------------------------------------------------------------
>
> Key: MNG-3700
> URL: http://jira.codehaus.org/browse/MNG-3700
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: POM
> Affects Versions: 2.0.10
> Reporter: John Casey
> Fix For: 3.0-alpha-7
>
> Attachments: ModelUtilsTest.patch
>
>
> ModelUtils.clone(..) uses the ModelInheritanceAssembler under the covers,
> with assembleAsInheritance == true. This is not strictly true, since
> inheritance semantics are different in some ways from clone semantics.
> This becomes an issue where plugins are concerned, especially when the plugin
> entry in the POM contains inherited == "false", which will lead to the
> cloning process *excluding* that plugin from the clone result.
--
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