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

Source: Internet
Author: User
Tags jboss

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.