Hello, the problem occurs when merging the two definitions of the same plugin into one. John Casey from the maven team just commented on the JIRA issue I submitted on this that two definitions of the same plugin in one pom should be a validation error.
As far as two different plugins go, I haven't tested it but I imagine, as they are not merged, that the execution order is the order they are defined in the pom. I'd be thankful if anyone could confirm or refute that statement though. David > -----Original Message----- > From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] > Sent: 16 April 2008 17:08 > To: Maven Users List > Subject: Re: Order of executing plugins changed in 2.0.9 ? > > Wendy Smoak wrote: > > On Wed, Apr 16, 2008 at 7:22 AM, Bernhard David > <[EMAIL PROTECTED]> wrote: > >> Hello, > >> > >> after some long hours with the debugger, I discovered the > following. > >> > >> If I define a plugin twice like this: > > > > What happens if you put both <execution>s in the same <plugin>? > > > > I see you've already solved it by consolidating even further, to one > > execution with two goals. > > > > I'm trying to think of a situation where you'd need to declare a > > plugin twice in one phase-- usually multiple executions are fine. > > > > The problem is: if it doesn't work with the same plugin > twice, it will > most probably not work with two different plugins - that's > what I had here. > > Stefan > -- > best regards, > > Stefan Seidel > software developer > ________________________ > VUB Printmedia GmbH > Chopinstraße 4 > D-04103 Leipzig > Germany > tel. +49 (341) 9 60 50 07 > fax. +49 (341) 9 60 50 92 > mail. [EMAIL PROTECTED] > web. www.vub.de > > HRB Köln 24015 > UStID DE 122 649 251 > GF Dr. Achim Preuss Neudorf, > Dr. Christian Preuss Neudorf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
