Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

maven force continue if one module fails

Tags:

maven

I have a 'master' pom file that includes multiple modules. I want maven to continue to build even if one module fails, instead of skipping the rest. Which option/configuration should I use? Thanks

like image 352
EyeQ Tech Avatar asked Jul 30 '13 09:07

EyeQ Tech


2 Answers

Fail at end should work in your scenario.

Basic Def from Maven Specs :

--fail-at-end - if a particular module build fails, continue the rest of the reactor            and report all failed modules at the end instead . 
like image 200
saurav Avatar answered Sep 19 '22 15:09

saurav


You can use the command line option:

--fail-at-end 

should be your friend.

like image 25
khmarbaise Avatar answered Sep 19 '22 15:09

khmarbaise