public interface ArtifactResolver
Modifier and Type | Method and Description |
---|---|
ArtifactResult |
resolveArtifact(RepositorySystemSession session,
ArtifactRequest request)
Resolves the path for an artifact.
|
List<ArtifactResult> |
resolveArtifacts(RepositorySystemSession session,
Collection<? extends ArtifactRequest> requests)
Resolves the paths for a collection of artifacts.
|
ArtifactResult resolveArtifact(RepositorySystemSession session, ArtifactRequest request) throws ArtifactResolutionException
session
- The repository session, must not be null
.request
- The resolution request, must not be null
.null
.ArtifactResolutionException
- If the artifact could not be resolved.Artifact.getFile()
,
RepositorySystem.resolveArtifact(RepositorySystemSession, ArtifactRequest)
List<ArtifactResult> resolveArtifacts(RepositorySystemSession session, Collection<? extends ArtifactRequest> requests) throws ArtifactResolutionException
session
- The repository session, must not be null
.requests
- The resolution requests, must not be null
.null
.ArtifactResolutionException
- If any artifact could not be resolved.Artifact.getFile()
,
RepositorySystem.resolveArtifacts(RepositorySystemSession, Collection)
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.