maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jo Vandermeeren" <Jo.Vandermee...@ordina.be>
Subject Re: execution order of plugins
Date Wed, 20 Jun 2007 17:51:46 GMT
On 6/20/07, Kanzlers, Andreas <andreas.kanzlers@coremedia.com> wrote:
>
> If different plugins are executed within the same execution phase, which
> will be executed first ?



If multiple plugin executions are defined for the same phase (same or
different plugin), they are executed in the same order as they are defined
in your pom.xml.
Inherited goal executions are executed first.

There were some issues when inserting plugins by means of a profile, but
they should have been fixed in 2.0.7.

For example,
>
>   <artifactId>maven-antrun-plugin </artifactId>
>
>       <phase>package</phase>
>
>       ....
>
>     <artifactId>maven-dependency-plugin </artifactId>
>
>       <phase>package</phase>
>
>       ....
>
>   Is the maven-antrun-plugin executed first because it is positioned
> above the maven-dependency-plugin ?



Yes.

Regards,
>
> Andreas



Cheers
Jo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message