AFAIK it's the order they are defined in in the pom. This would depend on the version of Maven though, as it has not always been like that.
/Anders On Wed, Jul 7, 2010 at 08:08, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > The rule for Maven is that the order of plugin execution within a phase is > undefined. > > -Stephen > > On 6 July 2010 21:47, asookazian <asookaz...@gmail.com> wrote: > > > > > Does the plugin goal below get executed before or after the completion of > > the > > install phase when I exec 'mvn clean install' command? Is there a way to > > configure the before or after order? > > > > <profile> > > <id>ant-explode</id> > > <build> > > <plugins> > > <plugin> > > > > <groupId>org.apache.maven.plugins</groupId> > > > > <artifactId>maven-antrun-plugin</artifactId> > > <executions> > > <execution> > > <phase>install</phase> > > <configuration> > > <tasks> > > <echo > > message="Invoking explode ant target..."/> > > <ant > > antfile="build.xml" target="explode"/> > > </tasks> > > </configuration> > > <goals> > > <goal>run</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > </plugins> > > </build> > > </profile> > > -- > > View this message in context: > > > http://maven.40175.n5.nabble.com/when-does-the-plugin-goal-get-executed-during-the-lifecycle-tp946348p946348.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > >