public interface ArtifactDescriptorReader
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
Gets information about an artifact like its direct dependencies and potential relocations.
|
ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request) throws 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
.ArtifactDescriptorException
- If the artifact descriptor could not be read.RepositorySystem.readArtifactDescriptor(RepositorySystemSession, ArtifactDescriptorRequest)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.