You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ian Springer (JIRA)" <ji...@codehaus.org> on 2007/10/08 23:15:08 UTC

[jira] Commented: (MRELEASE-292) during release:prepare, if one of the goals specified in preparationGoals fails, the release:prepare should abort/fail, but it continues along as if nothing bad happened

    [ http://jira.codehaus.org/browse/MRELEASE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109332 ] 

Ian Springer commented on MRELEASE-292:
---------------------------------------

I am using Maven 2.0.7 on Windows XP, but my mvn.bat does appear to contain the logic to exit with the same exit code as the Maven java process.

Can you point me to the mvn.bat patch you mentioned?

Thanks,
Ian



> during release:prepare, if one of the goals specified in preparationGoals fails, the release:prepare should abort/fail, but it continues along as if nothing bad happened
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-292
>                 URL: http://jira.codehaus.org/browse/MRELEASE-292
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: Ian Springer
>
> In my case, I specified "clean install" as the value of preparationGoals. One of my unit tests failed, which caused the "mvn clean install" to fail, but release:prepare continued on and tagged the release as if nothing had gone wrong during the prep goals...

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