Stephane Nicoll opened MSHARED-76 and commented
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).
Affects: maven-verifier-1.0
Issue Links:
- MSHARED-73 Verifier doesn't throw VerificationException upon non-zero exit code of mvn.bat on Windows
("duplicates")
Stephane Nicoll opened MSHARED-76 and commented
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).
Affects: maven-verifier-1.0
Issue Links:
("duplicates")