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

前端 未结 6 482
孤城傲影
孤城傲影 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 03:48

    Syntax: mvn -rf modulename mavengoal or mvn --resume-from modulename mavengoal

    Ex: mvn -rf admin-module clean install or mvn --resume-from admin-module clean install

提交回复
热议问题