I want to call some ant tasks when I run maven.

I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me to understand, and does not lead me to what I wish to accomplish.

I want all my ant tasks in a build.xml file (not in the pom.xml).

But when I execute:  mvn compile install

I want it to run (by default) one or more ant tasks 
(in a specific order) that are in the build.xml.

Is there a way to do this?  When I type $mvn compile install I want
the build process to be oblivous to the fact that ant is being called,
unless there is a problem.

If the ant tasks fails, I want to fail the build as well.

thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-call-ant-task-from-maven---can-not-find-a-good-example-tp22992996p22992996.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