[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aether-users] AETHER - Failed to read artifact descriptor
|
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
--
_______________________________________________
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