@Component(role=DependencyResolver.class, hint="maven3") public class Maven30DependencyResolver extends Object implements DependencyResolver
Constructor and Description |
---|
Maven30DependencyResolver() |
Modifier and Type | Method and Description |
---|---|
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
Collection<org.apache.maven.model.Dependency> mavenDependencies,
Collection<org.apache.maven.model.Dependency> managedMavenDependencies,
org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) |
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
DependableCoordinate coordinate,
org.apache.maven.shared.artifact.filter.resolve.TransformableFilter dependencyFilter)
This will resolve the dependencies of the coordinate, not resolving the the artifact of the coordinate itself.
|
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
org.apache.maven.model.Model model,
org.apache.maven.shared.artifact.filter.resolve.TransformableFilter dependencyFilter)
This will resolve the dependencies of the coordinate, not resolving the the artifact of the coordinate itself.
|
public Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, DependableCoordinate coordinate, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter dependencyFilter) throws DependencyResolverException
DependencyResolver
DependencyResolver.resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
resolveDependencies
in interface DependencyResolver
buildingRequest
- ProjectBuildingRequest
coordinate
- DependableCoordinate
dependencyFilter
- TransformableFilter
DependencyResolverException
- in case of an error.public Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Model model, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter dependencyFilter) throws DependencyResolverException
DependencyResolver
DependencyResolver.resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
resolveDependencies
in interface DependencyResolver
buildingRequest
- ProjectBuildingRequest
model
- Model
dependencyFilter
- TransformableFilter
DependencyResolverException
- in case of an error.public Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, Collection<org.apache.maven.model.Dependency> mavenDependencies, Collection<org.apache.maven.model.Dependency> managedMavenDependencies, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) throws DependencyResolverException
resolveDependencies
in interface DependencyResolver
buildingRequest
- the project building request, never null
mavenDependencies
- the dependencies to resolve, can be null
managedMavenDependencies
- managed dependencies, can be null
filter
- a filter, can be null
DependencyResolverException
- in case of an error.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.