Interface ArtifactResolver
public interface ArtifactResolver
Resolves the artifact, i.e download the file when required and attach it to the artifact
-
Method Summary
Modifier and TypeMethodDescriptionresolveArtifact
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact mavenArtifact) resolveArtifact
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate)
-
Method Details
-
resolveArtifact
ArtifactResult resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact mavenArtifact) throws ArtifactResolverException, IllegalArgumentException - Parameters:
buildingRequest
-ProjectBuildingRequest
mavenArtifact
-Artifact
- Returns:
ArtifactResult
- Throws:
ArtifactResolverException
- in case of an error.IllegalArgumentException
- in case of parameterbuildingRequest
isnull
or parametermavenArtifact
isnull
.
-