[
http://jira.codehaus.org/browse/MSHARED-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MSHARED-73.
------------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: maven-verifier 1.2
Fixed in [r696386|http://svn.apache.org/viewvc?view=rev&revision=696386].
> Verifier doesn't throw VerificationException upon non-zero exit code of
> mvn.bat on Windows
> ------------------------------------------------------------------------------------------
>
> Key: MSHARED-73
> URL: http://jira.codehaus.org/browse/MSHARED-73
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-verifier
> Affects Versions: maven-verifier 1.0
> Environment: Windows XP
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: maven-verifier 1.2
>
>
> Running the core ITs on a Windows box I got:
> {noformat}
> Failed tests:
>
> testitMNG3748(org.apache.maven.integrationtests.MavenITmng3748BadSettingsXmlTest)
>
> testitMNG3314(org.apache.maven.integrationtests.MavenITmng3314OfflineSnapshotsTest)
>
> testitMNG3220b(org.apache.maven.integrationtests.MavenITmng3220ImportScopeTest)
>
> testitMNG2695(org.apache.maven.integrationtests.MavenITmng2695OfflinePluginSnapshotsTest)
> {noformat}
> Investigation showed these failures were due to the Verifier not detecting
> the (expected) build failure of the IT. Just like in maven-invoker, the
> environment variable MAVEN_TERMINATE_CMD needs to be set to quit the entire
> {{cmd.exe}} process and not only {{mvn.bat}}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira