[ http://jira.codehaus.org/browse/MNG-2221?page=comments#action_77271 ] 
            
Sujan Kapadia commented on MNG-2221:
------------------------------------

I still see the following issue under Maven 2.0.4:

In a multi-module project, the parent POM configures the maven-antrun-plugin to 
declare dependencies for the plugin.  In the child POMs, the plugin is being 
executed twice.  The effective POM shows two plugin declarations.  Because of 
MNG-1949, I tried to configure the plugin in the parent POM so all modules 
executing maven-antrun-plugin would have the necessary dependencies.  Can 
anybody comment on this?

Thanks,
Sujan

Parent POM:
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <dependencies>
          <dependency>
            <groupId>ant</groupId>
            <artifactId>ant-nodeps</artifactId>
            <version>1.6.5</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>

> 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
>          Issue Type: Bug
>          Components: Inheritence and Interpolation
>    Affects Versions: 2.0.4
>            Reporter: Stephen Duncan Jr
>         Assigned To: 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