[ http://jira.codehaus.org/browse/MNG-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MNG-3700: ---------------------------- Attachment: ModelUtilsTest.patch test case (unit test patch for ModelUtilsTest in maven-project) > ModelUtils.clone doesn't clone plugin entries where inherited == false > ---------------------------------------------------------------------- > > Key: MNG-3700 > URL: http://jira.codehaus.org/browse/MNG-3700 > Project: Maven 2 > Issue Type: Bug > Components: POM > Affects Versions: 2.0.10 > Reporter: John Casey > Fix For: 2.0.11 > > 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