Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7224

Exit Code of archetype:generate is always 1

    XMLWordPrintableJSON

Details

    Description

      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

      1. run mvn archetype:generate
      2. choose any archetype
      3. wait until the build succeeded
      4. run echo $?
      5. the output will be 1

      Expected Result
      output of echo $? should be 0 when the mvn build succeeded

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              LukasKraushofer Lukas Kraushofer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: