@Component(role=ArtifactResolver.class, hint="maven31") public class Maven31ArtifactResolver extends Object implements ArtifactResolver
Constructor and Description |
---|
Maven31ArtifactResolver() |
Modifier and Type | Method and Description |
---|---|
ArtifactResult |
resolveArtifact(ProjectBuildingRequest buildingRequest,
Artifact mavenArtifact) |
ArtifactResult |
resolveArtifact(ProjectBuildingRequest buildingRequest,
ArtifactCoordinate coordinate) |
public ArtifactResult resolveArtifact(ProjectBuildingRequest buildingRequest, Artifact mavenArtifact) throws ArtifactResolverException
resolveArtifact
in interface ArtifactResolver
buildingRequest
- ProjectBuildingRequest
mavenArtifact
- Artifact
ArtifactResult
ArtifactResolverException
- in case of an error.public ArtifactResult resolveArtifact(ProjectBuildingRequest buildingRequest, ArtifactCoordinate coordinate) throws ArtifactResolverException
resolveArtifact
in interface ArtifactResolver
buildingRequest
- ProjectBuildingRequest
coordinate
- ArtifactCoordinate
ArtifactResult
ArtifactResolverException
- in case of an error.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.