可以修改pom.xml
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
也可以改maven-surefire-plugin
的配置
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
网友评论