jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Shared Components
  • MSHARED-76

Verifier executeGoal method is OS-dependent in case of failure

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

Bug - A problem which impairs or prevents the functions of the product. MSHARED-73 Verifier doesn't throw VerificationException upon non-zero exit code of mvn.bat on Windows

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Benjamin Bentmann added a comment - 24/Oct/08 4:25 AM

Fixed as per MSHARED-73.

Show
Benjamin Bentmann added a comment - 24/Oct/08 4:25 AM Fixed as per MSHARED-73.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Stéphane Nicoll
Vote (0)
Watch (0)

Dates

  • Created:
    27/Dec/06 9:59 AM
    Updated:
    24/Oct/08 4:25 AM
    Resolved:
    24/Oct/08 4:25 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.