[ http://jira.codehaus.org/browse/MNG-2221?page=all ]
     
John Casey closed MNG-2221:
---------------------------

    Resolution: Fixed

Added two new unit tests to 
maven-project:org.apache.maven.project.ModelUtilsTest to verify that merged 
plugins are no longer added to the child POM twice. Merged plugin definitions 
were not being cached, and could not be checked before being added a second 
time to the resulting plugins list (along with plugins that didn't undergo a 
merge).

> Multiple Executions of Plugin at Difference Inhertiance levels causes plugin 
> executions to run multiple times
> -------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-2221
>          URL: http://jira.codehaus.org/browse/MNG-2221
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0.4
>     Reporter: Stephen Duncan Jr
>     Assignee: John Casey
>     Priority: Critical
>      Fix For: 2.0.5
>  Attachments: repeat-test.zip
>
>
> Can occur in a variety of ways, but the attached test case shows a parent pom 
> defining an antrun-execution, and then a child specifying another execution 
> with a different id.  Both executions run twice when running from the child.
> I believe this is the same as Kenney Westerhof's comment: 
> http://jira.codehaus.org/browse/MNG-2054#action_62477

-- 
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