Here is your pseudo-pom:

<build>

          <plugins>
               <plugin>
                       <groupId>something.something.ABC</groupId>
                       <artifactId>ABCArtifact</artifactId>
                       <version>${someversionofABC}</version>
               </plugin>
               <plugin>
                       <artifactId>maven-antrun-plugin</artifactId>
               </plugin>
               <plugin>
                       <groupId>something.something.ABC</groupId>
                       <artifactId>ABCArtifact</artifactId>
                       <version>${someversionofABC}</version>
               </plugin>

AFAIK, You cannot repeat the same plugin multiple times in the plugins
section.

That is not to say that Maven should not support what you are trying to do,
just that my understanding of the rules of Maven for 2.0.x are that you
cannot do what you are trying to do using only one phase.

-Stephen


2008/12/22 Jaikiran <[email protected]>

>
> Thanks to Brett Porter, i found that this is similar to an already reported
> issue http://jira.codehaus.org/browse/MNG-3719
>
> I'll create a simple reproducible application and attach to that issue with
> more details. In the meantime, let me see if can i find a workaround for
> this issue.
> --
> View this message in context:
> http://www.nabble.com/Plugin-execution-order-incorrect-in-Maven-2.0.9-when-multiple-plugins-are-associated-with-the-same-phase-tp21113516p21123663.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to