On 2/15/07, Mike Darretta <[EMAIL PROTECTED]> wrote:

I know this is a very simple question, but I'm lost on how to solve it.

I want to add an antrun task to my pom.xml that I can execute outside of
any lifecycle phase. In short, I want to run it much like a normal ant goal.

Half of me wants to say, "Then why not just use Ant?" and the other
half wants to know what you're doing in those tasks.  The default
lifecycle covers most situations, what are you doing that doesn't fit?

In any case, there is no getting around the fact that Maven is
lifecycle based.  Since it does work if you bind to a phase, try doing
that, and put it in a profile.  Then 'mvn antrun:run [phase]
-Pmyprofile' should work.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to