Failure to transfer was cached in the local repository

Error :

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 from 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 ( 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

209 total views, 1 views today