一.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>