maven force continue if one module fails

后端 未结 2 1643

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:09

    You can use the command line option:

    --fail-at-end
    

    should be your friend.

    0 讨论(0)
  • 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 .
    
    0 讨论(0)
提交回复
热议问题