我们可以从失败的地方开始构建maven [英] Can we start the maven build from the point where it failed
本文介绍了我们可以从失败的地方开始构建maven的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我正在对我的大型项目进行完整构建,该项目有7个模块,而在第6个模块上,由于测试失败,构建失败。有什么方法可以从失败的角度开始构建吗?
Suppose, I am doing a full build on my large project which has 7 modules and on the 6th module, the build failed because a test failed. Is there any way by which I can start the build from the point it failed?
推荐答案
你可以从第6次恢复构建模块使用 -rf
或 - resume-from
:
You can resume the build from the 6th module using -rf
or --resume-from
:
-rf,--resume-from
从指定项目恢复反应堆
-rf, --resume-from
Resume reactor from specified project
参见高级反应堆选项了解详情。
这篇关于我们可以从失败的地方开始构建maven的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文