Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-76

Verifier executeGoal method is OS-dependent in case of failure

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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 :
      0

      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

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Fixed as per MSHARED-73.

          Show
          Benjamin Bentmann added a comment - Fixed as per MSHARED-73 .

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Stéphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: