Skip to content

[MSHARED-76] Verifier executeGoal method is OS-dependent in case of failure #119

@jira-importer

Description

@jira-importer

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions