[ http://jira.codehaus.org/browse/MNG-2002?page=all ]
Emmanuel Venisse closed MNG-2002:
---------------------------------
Resolution: Won't Fix
It works fine in 2.0.2. We use it with Continuum and if thare are failuires in
maven, the correct erro code is transmitted to caller.
You must set MAVEN_TERMINATE_CMD env var to "on" before to call mvn from ant.
> The mvn.bat Script does not return the error-code of Maven
> ----------------------------------------------------------
>
> Key: MNG-2002
> URL: http://jira.codehaus.org/browse/MNG-2002
> Project: Maven 2
> Type: Bug
> Components: Command Line
> Versions: 2.0, 2.0.1, 2.0.2
> Environment: Windows XP
> Reporter: Christian Schulte
> Priority: Blocker
>
>
> The mvn.bat Script does not return with an error-code if Maven failed. The
> scipt only returns error-codes for problems with the environment. If Maven
> fails the Script does not propagate Maven's error code back to the caller.
> Since we are calling mvn.bat from some ant-wrapper-script it is essential for
> us to have mvn.bat return an error if Maven fails instead of success.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]