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 2021/09/12 16:11:00 UTC

[jira] [Closed] (MNG-7224) Exit Code of archetype:generate is always 1

     [ https://issues.apache.org/jira/browse/MNG-7224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-7224.
-------------------------------
    Fix Version/s:     (was: waiting-for-feedback)
       Resolution: Duplicate

Have the actual component updated to Plexus Interactivity 1.1 and the issue will be gone.

> 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 &amp; 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
>            Priority: Major
>
> 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)