[ http://jira.codehaus.org/browse/MNG-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4344. ---------------------------------- Assignee: Benjamin Bentmann Resolution: Fixed Fix Version/s: 3.0-alpha-3 Fixed in [r812550|http://svn.apache.org/viewvc?view=rev&revision=812550]. > [regression] Managed executions of plugins introduced by default lifecycle > bindings execute before explicitly defined plugins > ----------------------------------------------------------------------------------------------------------------------------- > > Key: MNG-4344 > URL: http://jira.codehaus.org/browse/MNG-4344 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 3.0-alpha-3 > Reporter: Benjamin Bentmann > Assignee: Benjamin Bentmann > Fix For: 3.0-alpha-3 > > > For this POM snippet > {code:xml} > <build> > <pluginManagement> > <plugins> > <plugin> > <!-- NOTE: It's essential that this plugin is also referenced by the > default lifecycle bindings --> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-resources-plugin</artifactId> > <version>0.1-stub-SNAPSHOT</version> > <executions> > <execution> > <id>second</id> > <phase>validate</phase> > <goals> > <goal>resources</goal> > </goals> > <configuration> > <pathname>target/log.txt</pathname> > <message>second</message> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </pluginManagement> > <plugins> > <plugin> > <groupId>org.apache.maven.its.plugins</groupId> > <artifactId>maven-it-plugin-log-file</artifactId> > <version>2.1-SNAPSHOT</version> > <executions> > <execution> > <id>first</id> > <phase>validate</phase> > <goals> > <goal>log-string</goal> > </goals> > <configuration> > <logFile>target/log.txt</logFile> > <string>first</string> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </build> > {code} > and the invocation "mvn clean process-resources", the execution order is > first, second with Maven 2 but second, first with Maven 3. -- 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