You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by vicki <vi...@yahoo.com> on 2008/08/04 20:55:08 UTC

Is there an analog of ant's macrodef in maven?

Hi,
is there an analog of ant's macrodef in maven? I have a lot of redundant
functionality in my maven's pom dedicated to different integration testing
setups. Now I keep different setups in different profiles - but the pom is
becoming huge. So, I would like to specify a task like launching cargo just
once, and then refer to it from different integration tests.

Thanks!
Vicki
-- 
View this message in context: http://www.nabble.com/Is-there-an-analog-of-ant%27s-macrodef-in-maven--tp18817418p18817418.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: Is there an analog of ant's macrodef in maven?

Posted by Stephen Connolly <st...@gmail.com>.
Wrap it up in a plugin and just use your plugin

On Mon, Aug 4, 2008 at 7:55 PM, vicki <vi...@yahoo.com> wrote:

>
> Hi,
> is there an analog of ant's macrodef in maven? I have a lot of redundant
> functionality in my maven's pom dedicated to different integration testing
> setups. Now I keep different setups in different profiles - but the pom is
> becoming huge. So, I would like to specify a task like launching cargo just
> once, and then refer to it from different integration tests.
>
> Thanks!
> Vicki
> --
> View this message in context:
> http://www.nabble.com/Is-there-an-analog-of-ant%27s-macrodef-in-maven--tp18817418p18817418.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
>
>