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
output of echo $? should be 0 when the mvn build succeeded