Hi

when maven fails it returns with an exit code != 0 as most other tools commands
Check for that in Ant.

Cheers
Lucas

On 02/03/2011 05:30 AM, kamilofski wrote:
Thanks for the quick response.

I am actually already running maven from within ANT, except I am not sure
how to signal ant to say 'build failure' when the maven build fails. 
Currently it is saying 'build successful' in ANT but 'build failure' in
maven.

--
Oracle
Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 | | | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Folkungagatan 122 | 116 30 Stockholm


Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746
Green
          Oracle Oracle is committed to developing practices and products that help protect the environment

Reply via email to