Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] AETHER - Failed to read artifact descriptor

Hello,

I was just getting Dependency Hierarchy by Aether for that Artifact org.sonatype.nexus:nexus-api:1.9.2-RC3 . 

M.

---------- Původní zpráva ----------
Od: Manfred Moser <manfred@xxxxxxxxxxxxxxxx>
Komu: aether-users@xxxxxxxxxxx
Datum: 26. 4. 2015 3:55:50
Předmět: Re: [aether-users] AETHER - Failed to read artifact descriptor


Whatever you are doing you should upgrade Nexus ... 1.9 is a couple of years old and by now full of problems. The latest release 2.11... 

 

manfred

Jeff MAURY wrote on 2015-04-25 14:33:

This is a special case: BTW, working with RC versions, you should expect to get undetermined behaviour.
 
Jeff
 
On Sat, Apr 25, 2015 at 11:23 PM, <e92-330cd@xxxxxxxxx> wrote:
Yes I know... 
 
I am getting many such errors... i know its because of the wrong content of POM. but is there anything else what I could do? 
I guess not. Coz sometime when I am trying to solve some hierarchy dependency..it can take up to 3 minutes...and then I will get the exception: Failed to read Artifact descriptor...
 
so imagine that, when I am trying to solve 6000 Artifacts hierarchy dependencies.... not good :(
 
M.
 
 

---------- Původní zpráva ----------
Od: Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
Komu: aether-users@xxxxxxxxxxx
Datum: 25. 4. 2015 23:09:23
Předmět: Re: [aether-users] AETHER - Failed to read artifact descriptor

 
There is something bad in Nexus 1.9.2-RC3: although from a Maven POV, it is a release, it has a dependency on a -SNAPSHOT artifact thus it's likely the default Aether conf cannot resolve such an artifact.
 
Regards
Jeff
 
On Sat, Apr 25, 2015 at 10:50 PM, <e92-330cd@xxxxxxxxx> wrote:
Hello,
 
Why I am getting this exception please? I mean i know why...but Aether cant solve it somehow?
 
I tried to get Direct dependencies for artifact: org.sonatype.nexus:nexus-api:1.9.2-RC3 
 
so the only thing what I could do ..is just ignore the missing jar/pom file in central repo and ignore the exception?
 
 
 
ArtifactDescriptorRequest descriptorRequest = new ArtifactDescriptorRequest();
descriptorRequest.setArtifact(artifact);
descriptorRequest.setRepositories(artifactRequest.getRepositories());
ArtifactDescriptorResult descriptorResult;
descriptorResult = system.readArtifactDescriptor(session, descriptorRequest);
 
Failed to read ArtifactDescriptor...org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.sonatype.nexus:nexus-api:jar:1.9.2-RC3
 
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:370) ~
 
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.sonatype.nexus:nexus-runtime-platform:pom:1.9.2-SNAPSHOT in central (http://central.maven.org/maven2/)
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:126) ~
 
 

_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users
 
 
--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users

_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users
 
 
--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users

Back to the top