Hello, due to the way merging is done (a plugin can have many executions, but there cannot be two plugin definitions with the same name and phase) if you add two <execution>s no merging is done and all is fine.
This issue arose because in EL4J we used to have two definitions in our pom file which worked fine up until 2.0.8 - I've changed that now. I suppose you might need two if they are both in different profiles or different pom files. David > -----Original Message----- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: 16 April 2008 16:29 > To: Maven Users List > Subject: Re: Order of executing plugins changed in 2.0.9 ? > > 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. > > -- > Wendy > > --------------------------------------------------------------------- > 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]