public interface DependencyResolver
Modifier and Type | Method and Description |
---|---|
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
Collection<org.apache.maven.model.Dependency> dependencies,
Collection<org.apache.maven.model.Dependency> managedDependencies,
org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) |
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
DependableCoordinate coordinate,
org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter)
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 filter)
This will resolve the dependencies of the coordinate, not resolving the the artifact of the coordinate itself.
|
Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, DependableCoordinate coordinate, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) throws DependencyResolverException
resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
buildingRequest
- ProjectBuildingRequest
coordinate
- DependableCoordinate
filter
- TransformableFilter
DependencyResolverException
- in case of an error.Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Model model, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) throws DependencyResolverException
resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
buildingRequest
- ProjectBuildingRequest
model
- Model
filter
- TransformableFilter
DependencyResolverException
- in case of an error.Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, Collection<org.apache.maven.model.Dependency> dependencies, Collection<org.apache.maven.model.Dependency> managedDependencies, org.apache.maven.shared.artifact.filter.resolve.TransformableFilter filter) throws DependencyResolverException
buildingRequest
- the project building request, never null
dependencies
- the dependencies to resolve, can be null
managedDependencies
- 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.