You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/10/27 10:17:06 UTC

[jira] Closed: (MNG-4879) CLONE -Multiple Executions of Plugin at Difference Inhertiance levels causes plugin executions to run multiple times

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

Benjamin Bentmann closed MNG-4879.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann  (was: John Casey)

Not able to reproduce from the information given, both inherited execution and child execution run exactly once:
{noformat}
> mvn -V package
Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
Java version: 1.5.0_22
Java home: D:\java\jdk-1.5\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Child Repeat Execution Test 1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ child-repeat-test ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory M:\downloads\repeat-test\repeat-test\repeat-child-test\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ child-repeat-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ child-repeat-test ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory M:\downloads\repeat-test\repeat-test\repeat-child-test\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ child-repeat-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ child-repeat-test ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ child-repeat-test ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (parent-echo) @ child-repeat-test ---
[INFO] Executing tasks
     [echo] PARENT TESTING
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (child-echo) @ child-repeat-test ---
[INFO] Executing tasks
     [echo] CHILD TESTING
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.050s
[INFO] Finished at: Wed Oct 27 10:13:36 CEST 2010
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------
{noformat}


> CLONE -Multiple Executions of Plugin at Difference Inhertiance levels causes plugin executions to run multiple times
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4879
>                 URL: http://jira.codehaus.org/browse/MNG-4879
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>            Reporter: David Bernard
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>         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