atom feed7 messages in org.apache.maven.usersRe: when does the plugin goal get exe...
FromSent OnAttachments
asookazianJul 6, 2010 1:47 pm 
asookazianJul 6, 2010 2:09 pm 
Anders HammarJul 6, 2010 2:53 pm 
Stephen ConnollyJul 6, 2010 11:08 pm 
Anders HammarJul 6, 2010 11:18 pm 
Stephen ConnollyJul 7, 2010 12:40 am 
Anders HammarJul 7, 2010 1:12 am 
Subject:Re: when does the plugin goal get executed during the lifecycle
From:Stephen Connolly (step@gmail.com)
Date:Jul 6, 2010 11:08:56 pm
List:org.apache.maven.users

The rule for Maven is that the order of plugin execution within a phase is undefined.

-Stephen

On 6 July 2010 21:47, asookazian <asoo@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>