How can I make the Maven build fail if the Ant build that was starten via
exec-maven-plugin fails?

I'm modifying an existing Ant build so it will build on Bamboo. The easiest
way to get all the dependecies sorted out was to wrap it in a Maven build.
An added complication was that some added tasks run only with Ant 1.5.x so I
couldn't use maven-antrun-plugin but I got it working using
exec-maven-plugin.

I got my build working locally and on Bamboo. One issue I still have is that
when the Ant build fails, the Maven build continues and ends successful.

What do I need to do to fail the Maven build if the Ant build fails?
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-fail-Maven-build-when-exec-started-Ant-build-fails-tp2827248p2827248.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