On 6/20/07, Kanzlers, Andreas <[EMAIL PROTECTED]> 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