maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Didion (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-1993) Child plugin order is arbitrary if inheritance is involved
Date Thu, 19 Jan 2006 23:19:06 GMT
Child plugin order is arbitrary if inheritance is involved
----------------------------------------------------------

         Key: MNG-1993
         URL: http://jira.codehaus.org/browse/MNG-1993
     Project: Maven 2
        Type: Bug

  Components: Inheritence and Interpolation  
    Reporter: John Didion
 Assigned to: John Casey 
     Fix For: 2.0.1


According to the documentation, "When multiple executions are given that match a particular
phase, they are executed in the order specified in the POM, with inherited executions running
first."  I assume that the order of the inherited executions would be in the order specified
in the parent POM, but the docs are unclear here.

However, in practice, it seems the ordering is as documented if there is no inheritance from
the parent.  But if there are plugins inherited, then the ordering is completely arbitrary,
with the inherited plugins not necessarily coming first.  I created a project that runs two
plugins, both bound to the same phase, with one specified in the parent and one specified
in the project.  The parent-specified plugin does not run first.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message