Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2002

The mvn.bat Script does not return the error-code of Maven

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0, 2.0.1, 2.0.2
    • 2.0.3
    • Command Line
    • None
    • Windows XP

    Description

      The mvn.bat Script does not return with an error-code if Maven failed. The scipt only returns error-codes for problems with the environment. If Maven fails the Script does not propagate Maven's error code back to the caller. Since we are calling mvn.bat from some ant-wrapper-script it is essential for us to have mvn.bat return an error if Maven fails instead of success.

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            schulte77 Christian Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: