一、打包时跳过测试(单元测试插件):
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin>
对应MVN命令:mvn install -Dmaven.test.skip=true
一、打包时跳过测试(单元测试插件):
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin>
对应MVN命令:mvn install -Dmaven.test.skip=true