Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-76

Verifier executeGoal method is OS-dependent in case of failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • maven-verifier-1.0
    • maven-verifier-1.2
    • maven-verifier
    • None

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

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              snicoll Stephane Nicoll
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: