@Component(role=ArtifactResolver.class, hint="maven3") public class Maven30ArtifactResolver extends Object implements ArtifactResolver
Constructor and Description |
---|
Maven30ArtifactResolver() |
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.