Maven supports Ant scripts as Maven plugins.  Once you have your script
packaged as a Maven plugin, you can invoke it from the command line.  See
section 5 of the Better Builds With Maven book.



Elliot Barlas wrote:
> 
> Hi all, I would like to define a ant task in a AntRun plugin configuration
> that isn't tied to any phase.  I would like to be able to invoke it from
> the command line with mvn antrun:run.  Is this possible?  I haven't been
> able to get it working.
> 
> Thanks,
> Elliot
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-AntRun-Plugin---Phase-Required--tp18225255p18234364.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to