How can the maven build be made to continue despite an error in one of the execution added by the Maven exec plugin?
How to continue and not fail build on error in Exec Maven Plugin execution?
2.4k views Asked by rob2universe At
2
There are 2 answers
0
On
You can use successCodes and list the error codes what you want to treat as success.
This was created for non-compliant application according to the docs docs but it is useful for such scenario.
I don't know any wildcard solution so you have to explicitly state the list of error codes for the successCodes.
Example solution using success code: