You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mirko Klemm (Jira)" <ji...@apache.org> on 2022/03/14 12:59: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=17506227#comment-17506227 ] 

Mirko Klemm commented on MRELEASE-1080:
---------------------------------------

The workaround regarding the plexus-interactivity-api dependency worked. Thank you!

> 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
>            Priority: Major
>              Labels: exit, shell
>             Fix For: waiting-for-feedback
>
>
> 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)