public interface ArtifactDescriptorReader
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.resolution.ArtifactDescriptorResult |
readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.resolution.ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
org.eclipse.aether.resolution.ArtifactDescriptorResult readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) throws org.eclipse.aether.resolution.ArtifactDescriptorException
artifact descriptor policy
of the
session when dealing with certain error cases.session
- The repository session, must not be null
.request
- The descriptor request, must not be null
null
.org.eclipse.aether.resolution.ArtifactDescriptorException
- If the artifact descriptor could not be read.RepositorySystem.readArtifactDescriptor(RepositorySystemSession, ArtifactDescriptorRequest)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.