You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Kraushofer (Jira)" <ji...@apache.org> on 2021/08/27 10:41:00 UTC
[jira] [Created] (MNG-7224) Exit Code of archetype:generate is
always 1
Lukas Kraushofer created MNG-7224:
-------------------------------------
Summary: Exit Code of archetype:generate is always 1
Key: MNG-7224
URL: https://issues.apache.org/jira/browse/MNG-7224
Project: Maven
Issue Type: Bug
Components: Bootstrap & Build, Command Line, Core, Plugins and Lifecycle, Reactor and Workspace, Toolchains
Affects Versions: 3.8.2
Environment: Edition: Windows 10 Enterprise 2016 LTSB
Version: 1607
Maven Version: 3.8.2
Running commands in Git-Bash for Windows (2.33.0.windows.1)
Reporter: Lukas Kraushofer
the exit code of mvn running {{archetype:generate}} is always *1* which indicates an error for bash even when generating an archetype succeeded
we use some bash scripts which validate the exit code and with maven 3.8.2 our scripts don't work anymore, we did not have any problems with maven 3.8.1!
*How to reproduce*
# run {{mvn archetype:generate}}
# choose any archetype
# wait until the build succeeded
# run {{echo $?}}
# the output will be *1*
*Expected Result*
output of {{echo $?}} should be *0* when the mvn build succeeded
--
This message was sent by Atlassian Jira
(v8.3.4#803005)