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