You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/04/03 10:23:00 UTC
[jira] [Commented] (MRELEASE-1080) Maven 3.8.4 exits with non-zero status from release:perform or :prepare even when successful
[ https://issues.apache.org/jira/browse/MRELEASE-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516485#comment-17516485 ]
Michael Osipov commented on MRELEASE-1080:
------------------------------------------
[~L.Viegas], there is a decent workaround to how deal with this issue until it is fixed upstream. Any reason not to use it?
> Maven 3.8.4 exits with non-zero status from release:perform or :prepare even when successful
> --------------------------------------------------------------------------------------------
>
> Key: MRELEASE-1080
> URL: https://issues.apache.org/jira/browse/MRELEASE-1080
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: perform, prepare
> Affects Versions: 3.0.0-M5
> Environment: Windows 10, Git for Windows Bourne Again Shell, Maven 3.8.4
> Reporter: Mirko Klemm
> Assignee: Michael Osipov
> Priority: Major
> Labels: exit, shell
> Fix For: 3.0.0-M6
>
>
> When doing a "release:prepare" or "release:perform", the maven process always exits with a shell exit status of 1, even when the goal has finished with a "BUILD SUCCESS" message, where it actually should return 0.
> This doesn't seem to have been the case with 2.x versions of the plugin.
> This is an important bug since it messes up using maven and the release plugin in shell scripts.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)