Monthly Archives: September 2016

Failure to transfer https://repo.maven.apache.org/maven2 was cached in the local repository

Error :

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 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.17 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /LogReaderServer line 1 Maven Configuration Problem

Solution :

Remove all your failed downloads:

For windows:
cd %userprofile%.m2repository
for /r %i in (*.lastUpdated) do del %i

116 total views, no views today