Maven's Pom Report plugins is the solution.
Reference failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from Http://repo1.maven.org/maven2 was cached in the local repository, resolution would not is reattempted until the update interval of the central have elapsed or Updates are forced
Encountered an error similar to the above.
The reason is that Maven plugin is not downloaded locally.
If you view
Reference ~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1
, you'll find only one inside.
maven-surefire-plugin-2.7.1.pom.lastupdated
The file.
And there's no maven-surefire-plugin-2.7.1.jar.
Workaround:
1. Delete all files ending with lastupdated
2. Right click on Project---Maven-update Dependencies (Update project ... )
If you click Update and discover
~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1
There's still no maven-surefire-plugin-2.7.1.jar.
Go to HTTP://REPO1.MAVEN.ORG/MAVEN2/ORG/APACHE/MAVEN/PLUGINS/MAVEN-SUREFIRE-PLUGIN/2.7.1/
Download
Maven-surefire-plugin-2.7.1.jar MAVEN-SUREFIRE-PLUGIN-2.7.1.JAR.SHA1 Maven-surefire-plugin-2.7.1.pom Maven-surefire-plugin-2.7.1.pom.sha1
Repeat step 2 for the package.
Maven's POM report plugins missing solution