Interface ArtifactResolver
-
- All Known Implementing Classes:
DefaultArtifactResolver
public interface ArtifactResolver
Resolves the artifact, i.e download the file when required and attach it to the artifact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArtifactResult
resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact mavenArtifact)
ArtifactResult
resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate)
-
-
-
Method Detail
-
resolveArtifact
ArtifactResult resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact mavenArtifact) throws ArtifactResolverException, java.lang.IllegalArgumentException
- Parameters:
buildingRequest
-ProjectBuildingRequest
mavenArtifact
-Artifact
- Returns:
ArtifactResult
- Throws:
ArtifactResolverException
- in case of an error.java.lang.IllegalArgumentException
- in case of parameterbuildingRequest
isnull
or parametermavenArtifact
isnull
.
-
resolveArtifact
ArtifactResult resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate) throws ArtifactResolverException, java.lang.IllegalArgumentException
- Parameters:
buildingRequest
-ProjectBuildingRequest
coordinate
-ArtifactCoordinate
- Returns:
ArtifactResult
- Throws:
ArtifactResolverException
- in case of an error.java.lang.IllegalArgumentException
- in case of parameterbuildingRequest
isnull
or parametercoordinate
isnull
.
-
-