"-Dmaven.test.skip.exec"和"-Dmaven.test.skip.exec"之间有什么区别?相对于"-Dmaven.test.skip = true"和"-DskipTests"? [英] What is the difference between "-Dmaven.test.skip.exec" vs "-Dmaven.test.skip=true" and "-DskipTests"?
本文介绍了"-Dmaven.test.skip.exec"和"-Dmaven.test.skip.exec"之间有什么区别?相对于"-Dmaven.test.skip = true"和"-DskipTests"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不确定maven指令-Dmaven.test.skip.exec
和-Dmaven.test.skip=true
-DskipTests
之间的区别是什么.两者似乎都抑制了测试周期.
I am not sure what the difference between the maven directives -Dmaven.test.skip.exec
and -Dmaven.test.skip=true
-DskipTests
are. Both seem to suppress the testing cycle.
推荐答案
"maven.test.skip.exec = true"测试被编译但未执行.
"maven.test.skip.exec=true" the tests get compiled, but not executed.
"maven.test.skip = true"无法编译或执行测试.
"maven.test.skip=true" doesn't compile or execute the tests.
-DskipTests"是与相同,与"maven.test.skip.exec = true"
"-DskipTests" is the same as "maven.test.skip.exec=true"
这篇关于"-Dmaven.test.skip.exec"和"-Dmaven.test.skip.exec"之间有什么区别?相对于"-Dmaven.test.skip = true"和"-DskipTests"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文