Maven returns an exit status of 0 even for failed builds?

2.3k Views Asked by At

I am using Maven v2.2.1 on my linux box. I have a build script that invokes mvn and does something based on the build status. I noticed that the exit status code is set to 0 irrespective of whether the mvn build fails or succeeds.

I also came across http://jira.codehaus.org/browse/MNG-3651 which claims that the issue is fixed in v2.1.0-M1. Has anyone else noticed this?

Thx!

0

There are 0 best solutions below