Could not transfer artifact org.apache.maven.surefire:surefire-junit4:pom:2.12.4 from/to central
添加编译插件,刷新Maven,即可解决问题
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>