Maven Plugin Error Resolution

Source: Internet
Author: User

Maven Plugin Error Resolution

Create a MAVEN project with M2eclipse The Times wrong??

Maveneclipsebuilddependenciesauthorizationplugins

Create a MAVEN project with M2eclipse The Times wrong??

Problem:

Could not calculate build plan: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 be reattempted until the update interval o F Central have elapsed or updates are forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to Central ( HTTP://REPO1.MAVEN.ORG/MAVEN2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/ Maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. Error code 407, Proxy authentication Required (The ISA Server requires authorization to fulfill the request.  Access to the Web Proxy service is denied. ) Log4j-test01unknownmaven problem

Workaround:

1. Locate the Maven library directory and enter: ~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1

2. If the 2.7.1 directory is only, "maven-surefire-plugin-2.7.1.pom.lastupdated" will need to http://repo1.maven.org/maven2/org/apache/maven/ PLUGINS/MAVEN-SUREFIRE-PLUGIN/2.7.1/, download the files and put them in the 2.7.1.

3. Delete the maven-surefire-plugin-2.7.1.pom.lastupdated file under 2.7.1.

4. Project Right-click-->maven-->update Dependencies

.

Maven Plugin Error Resolution

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.