Maven使用mvn命令时跳过test的参数

方法有两种:

方法1:

mvn install -DskipTests

 方法2:

mvn install -Dmaven.test.skip=true

猜你喜欢

转载自fableking.iteye.com/blog/2215042