Interface ArtifactResolver
-
- All Known Implementing Classes:
DefaultArtifactResolver
public interface ArtifactResolverResolves 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 ArtifactResultresolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.Artifact mavenArtifact)ArtifactResultresolveArtifact(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-ProjectBuildingRequestmavenArtifact-Artifact- Returns:
ArtifactResult- Throws:
ArtifactResolverException- in case of an error.java.lang.IllegalArgumentException- in case of parameterbuildingRequestisnullor parametermavenArtifactisnull.
-
resolveArtifact
ArtifactResult resolveArtifact(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate) throws ArtifactResolverException, java.lang.IllegalArgumentException
- Parameters:
buildingRequest-ProjectBuildingRequestcoordinate-ArtifactCoordinate- Returns:
ArtifactResult- Throws:
ArtifactResolverException- in case of an error.java.lang.IllegalArgumentException- in case of parameterbuildingRequestisnullor parametercoordinateisnull.
-
-