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