[ https://issues.apache.org/jira/browse/MRELEASE-1080 ]


    Mirko Klemm deleted comment on MRELEASE-1080:
    ---------------------------------------

was (Author: JIRAUSER286414):
Investigated further: There seems to be an internal WARNING which also occurs 
only under GIT bash. During release tagging and "git commit" in the plugin, for 
every file untracked with git I get a warning:

{{[WARNING] Ignoring unrecognized line: ?? 
src/test/resources/Defaults_by_New_Default_Definition.csv}}

The release:prepare still ends with "BUILD SUCCESS".

This doesn't happen under CMD and PowerShell.

Maybe this is what leads to the non-zero exit status?

> Maven v3.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)

Reply via email to