Answer to question 1: No, you can't control in which order the plugins in a specific phase run. And indeed, there are some pre and post phases (or other phases, which normally are not very heavily used):
For the default lifecycle: <phases> <phase>validate</phase> <phase>initialize</phase> <phase>generate-sources</phase> <phase>process-sources</phase> <phase>generate-resources</phase> <phase>process-resources</phase> <phase>compile</phase> <phase>process-classes</phase> <phase>generate-test-sources</phase> <phase>process-test-sources</phase> <phase>generate-test-resources</phase> <phase>process-test-resources</phase> <phase>test-compile</phase> <phase>process-test-classes</phase> <phase>test</phase> <phase>package</phase> <phase>pre-integration-test</phase> <phase>integration-test</phase> <phase>post-integration-test</phase> <phase>verify</phase> <phase>install</phase> <phase>deploy</phase> </phases> What are you trying to accomplish? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Oct 9, 2008 at 3:04 PM, Baptiste MATHUS <[EMAIL PROTECTED]> wrote: > I never developed a real plugin, but I guess that having a look here could > here : > http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/main/resources/META-INF/plexus/components.xml > > In fact, you'll see there the existing phase (pre- or post- ones). > > Cheers. > > 2008/10/9 <[EMAIL PROTECTED]> > >> Hi, >> >> >> >> 1. how can I control the sequence of execution when more than one plugin >> is bound to the same phase? >> >> 2. When I bind a plugin to a phase, can I control if it is executed just >> before or after the phase? >> >> >> >> >> >> Wolfgang >> >> > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]