解决Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 问题

详细报错如下

1 Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 from 
2 http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, 
3 resolution will not be reattempted until the update interval of aliyun has elapsed or updates are forced. 
4 Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 
5 from/to aliyun (http://maven.aliyun.com/nexus/content/groups/public/): No route to host: connect    
6 pom.xml /config line 1  Maven Configuration Problem

解决

这里写图片描述

这里写图片描述

找到缓存在本地的文件删除重新下载即可.

原文地址:https://www.cnblogs.com/hoonick/p/9820678.html