我有一个包含多个模块的'master'pom文件.即使一个模块出现故障,我也希望maven继续构建,而不是跳过其余模块.我应该使用哪个选项/配置?谢谢
sau*_*rav 69
最后的失败应该适用于您的场景.
Maven规范的基本定义:
--fail-at-end - if a particular module build fails, continue the rest of the reactor
and report all failed modules at the end instead .
Run Code Online (Sandbox Code Playgroud)
khm*_*ise 29
您可以使用命令行选项:
--fail-at-end
Run Code Online (Sandbox Code Playgroud)
应该是你的朋友.
归档时间: |
|
查看次数: |
20736 次 |
最近记录: |