Can we start the maven build from the point where it failed

前端 未结 6 513
孤城傲影
孤城傲影 2020-12-13 03:20

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

6条回答
  •  不知归路
    2020-12-13 04:03

    you can resume the build from any module you want by using the -rf command. For example, if your build failed in myproject-proxy, you can use the following command:

    mvn -rf myproject-proxy clean install
    

提交回复
热议问题