You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laird Nelson <lj...@gmail.com> on 2010/06/21 20:06:42 UTC
Controlling plugin execution order within a phase?
Maven's documentation indicates that plugins bound to a phase will execute
in the order they are defined.
http://jira.codehaus.org/browse/MNG-2258 indicates that this is not the
case.
I am using Maven 2.2.1.
What options do I have to overcome this critical, jaw-droppingly severe bug?
How, in other words, in a given phase, can I sequence two or more plugins so
that the first one's results are visible to the second?
Thanks,
Laird
Re: Controlling plugin execution order within a phase?
Posted by Wayne Fay <wa...@gmail.com>.
> How, in other words, in a given phase, can I sequence two or more plugins so
> that the first one's results are visible to the second?
Bind them to separate phases. There are an awful lot of phases
available to you in the default lifecycle.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Controlling plugin execution order within a phase?
Posted by Jason van Zyl <ja...@sonatype.com>.
On Jun 21, 2010, at 2:06 PM, Laird Nelson wrote:
> Maven's documentation indicates that plugins bound to a phase will execute
> in the order they are defined.
>
> http://jira.codehaus.org/browse/MNG-2258 indicates that this is not the
> case.
>
> I am using Maven 2.2.1.
>
> What options do I have to overcome this critical, jaw-droppingly severe bug?
>
Use 3.x. We know it works there. Those who are working on 3.x aren't going to be back porting this. For build plugins this has been fixed, I can't speak to the reporting plugins as that's been decoupled and is now the concern of the maven-site-plugin, not the core.
If you want to back port it we can point you in the right direction.
> How, in other words, in a given phase, can I sequence two or more plugins so
> that the first one's results are visible to the second?
>
> Thanks,
> Laird
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------
{script:nopre:"/Users/jvanzyl/signature/signature.sh"}