一.Maven打包失败
1.场景-项目中打包执行测试类 报错
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
二.解决方案
1.idea工具 跳过选择按钮
2.在pom文件中添加 插件
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
标签:execute,goal,plugin,surefire,maven,plugins,apache,org From: https://blog.51cto.com/ratelcloud/7452494