Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4
问题记录:
Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from https://repo.maven.apache.org/maven2
was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from/to central (https://repo.maven.apache.org/maven2
): repo.maven.apache.org
解决办法:
到以下路径将 maven-surefire-plugin 文件夹删除:
.m2\repository\org\apache\maven\plugins\maven-surefire-plugin
其次,更新maven,重新加载maven-surefire-plugin 即可解决
本文解决了一个关于Maven Surefire Plugin (版本2.12.4) 的下载失败问题,提供了删除本地缓存并强制更新的解决方案。
2158

被折叠的 条评论
为什么被折叠?



