执行maven install跳过执行maven test方法(网上搜的记录一下,方面以后使用)时间:2022-05-17 00:25:01直接在pom文件加上这段配置就可以了 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.4.2</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin>