[ 
http://jira.codehaus.org/browse/MNG-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-3700.
----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann

ModelUtils is no longer used in 3.x, instead it uses Modello generated clone() 
methods.

> 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
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-8
>
>         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

        

Reply via email to