[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Frustrated with another string of "Failed to read artifact descriptor" errors
|
You could try delteing
$M2_HOME/repository/org/apache/maven/plugins/maven-jar-plugins directory
manually and then invoking Update dependencies + Force from m2e.
Cheers,
Rafał
On 02/17/2012 05:03 PM, KARR, DAVID wrote:
-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-
bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Friday, February 17, 2012 4:40 AM
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] Frustrated with another string of "Failed to
read artifact descriptor" errors
Maven cached IOException in local repository. Right-click on the
project, Maven->Update Dependencies and check "Force Update of
Snapshots/Releases" to force m2e to re-try remote repository access.
Adding the "Force update of Snapshots/Releases" fixed it for most of the projects.
However, two projects appear to be resistant to this. I've tried it multiple times on these two projects, and they both get:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.3.1
On 12-02-17 12:46 AM, KARR, DAVID wrote:
Today I restarted Eclipse (STS 2.8.1) and got a string of errors like
the following in all my Maven projects:
-------------------
ArtifactDescriptorException: Failed to read artifact descriptor for
com.sun.xml.bind:jaxb-impl:jar:2.2.4-1: ArtifactResolutionException:
Failure to transfer com.sun.xml.bind:jaxb-impl:pom:2.2.4-1 from
http://repo1.maven.org/maven2/ was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced. Original error: Could not transfer
artifact com.sun.xml.bind:jaxb-impl:pom:2.2.4-1 from/to central
(http://repo1.maven.org/maven2/): Failed to create a selector. to
http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-
impl-2.2.4-1.pom
-------------------
The errors were on numerous different artifacts.
I've tried restarting Eclipse. I've tried doing "Update Project".
I've tried doing a project clean. I always start up Eclipse with -
clean. What else should I try?
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users