Coreexception:could not calculate build Plan:plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its DEP Endencies could not being resolved:failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 in/HTTP Repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution won't be reattempted UN Til the update interval of jboss-public-repository-group has elapsed or updates is forced
This is due to the fact that there is no corresponding jar in the mirrored warehouse set locally.
<Mirrors> <Mirror> <ID>Jboss-public-repository-group</ID> <mirrorof>Central</mirrorof> <name>JBoss Public Repository Group</name> <URL>Http://repository.jboss.org/nexus/content/groups/public</URL> </Mirror> </Mirrors>
Workaround:
1. Locate the Maven library directory and enter: ~\.m2\repository\org\apache\maven\plugins\maven-compiler-plugin\3.1
2. If the 2.7.1 directory is only, "maven-compiler-plugin-3.1.pom.lastupdated" will need to http://repo1.maven.org/maven2/org/apache/maven/ PLUGINS/MAVEN-COMPILER-PLUGIN/3.1/, download the file inside and put it in 2.7.1, if not in the warehouse, then you can go to http://search.maven.org/this place to download, And then place them in the corresponding local repository.
3. Delete the maven-compiler-plugin-3.1.pom.lastupdated file under 2.7.1.
4. Project Right-click-->maven-->update Dependencies
Coreexception:could not calculate build Plan:plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its DEP Endencies could not being resolved