maven force continue if one module fails

后端 未结 2 1642

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/configura

2条回答
  •  旧巷少年郎
    2020-12-14 00:11

    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 .
    

提交回复
热议问题