You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lukewpatterson <lu...@gmail.com> on 2010/03/28 22:42:56 UTC

aligning goal configuration ordering with lifecycle ordering

What is the likelihood that Maven will someday support multiple configuration
sections of the same plugin? ( http://jira.codehaus.org/browse/MNG-1701
helps restrict the practice )

Here's the use case: In my POM, I want to list the <goal>s in the order that
they occur in the build.  It seems like it should be possible (and would
feel natural), since Maven is all about ordering and lifecycle phases.

Or maybe there is another way to get ordering without needing multiple
configuration sections, I'm not sure.

-- 
View this message in context: http://old.nabble.com/aligning-goal-configuration-ordering-with-lifecycle-ordering-tp28062295p28062295.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: aligning goal configuration ordering with lifecycle ordering

Posted by Justin Edelson <ju...@gmail.com>.
It already does. That's what the <execution> element is for. MNG-1701 is to
prohibit multiple <plugin> elements, but it is perfectly legal to have
multiple <execution> elements (each with their own configuration) within a
single <plugin> element.

HTH,
Justin

On Sun, Mar 28, 2010 at 4:42 PM, lukewpatterson <lu...@gmail.com>wrote:

>
> What is the likelihood that Maven will someday support multiple
> configuration
> sections of the same plugin? ( http://jira.codehaus.org/browse/MNG-1701
> helps restrict the practice )


> Here's the use case: In my POM, I want to list the <goal>s in the order
> that
> they occur in the build.  It seems like it should be possible (and would
> feel natural), since Maven is all about ordering and lifecycle phases.
>
> Or maybe there is another way to get ordering without needing multiple
> configuration sections, I'm not sure.
>
> --
> View this message in context:
> http://old.nabble.com/aligning-goal-configuration-ordering-with-lifecycle-ordering-tp28062295p28062295.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>