Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.0.7
-
Fix Version/s: None
-
Component/s: Command Line
-
Labels:None
-
Patch Submitted:Yes
Description
The mvn.bat script always exits with code 0 on Windows XP/NT. With version 2.0.7, the following line was removed from the error section:
if "%OS%"=="Windows_NT" @endlocal
This causes the ERROR_CODE to retain the value 0 when the program exits. Replacing this line solves the problem.
Issue Links
- duplicates
-
MNG-3084
mvn.bat in maven 2.0.7 does not return the correct error code.
-