Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: maven-verifier-1.0
-
Fix Version/s: maven-verifier-1.2
-
Component/s: maven-verifier
-
Labels:None
-
Number of attachments :
Description
On windows Verifier.executeGoal() runs ok even if the underneath execution fails (this is good since there is a special method to make sure that everything went ok).
On linux/macOSx, a VerificationException is thrown (Exit code was non-zero)
This OS-dependent behavior is an issue when one wants to test that a given project is actually expected to fail (see project-026 in the EAR plugin for instance).
Issue Links
- duplicates
-
MSHARED-73
Verifier doesn't throw VerificationException upon non-zero exit code of mvn.bat on Windows
-
Fixed as per
MSHARED-73.