IDEA打包失败
Failed to execute goalorg.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
- 解决办法—添加以下依赖
<!--添加配置跳过测试-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!--添加配置跳过测试-->