Affects Version/s: 2.2.1
Fix Version/s: None
I would like to be able to deterministically order the execution of plugins bound to the same lifecycle phase. I have a project where I need to execute the antrun plugin, then the install4j-maven-plugin, again the antrun plugin and finally the rpm-maven-plugin.
I would like to be able to do this:
When defined like this, the execution order should be:
With the current maven (2.2.1), you can do this if you order your plugins in the pom.xml correctly and you don't need the same plugin twice. Depending on the <id/> (with natural sorting on String) would allow to declare the same plugin twice.
An alternative might be to add an additional element to <execution/>, like <order/> or something that only accepts a number.