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,
TransformableFilter filter) |
Iterable<ArtifactResult> |
resolveDependencies(ProjectBuildingRequest buildingRequest,
DependableCoordinate coordinate,
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,
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, TransformableFilter filter) throws DependencyResolverException
resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
buildingRequest
- ProjectBuildingRequest
coordinate
- DependableCoordinate
filter
- TransformableFilter
(can be null
).DependencyResolverException
- in case of an error.Iterable<ArtifactResult> resolveDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Model model, TransformableFilter filter) throws DependencyResolverException
resolveDependencies(ProjectBuildingRequest, Collection, Collection, TransformableFilter)
passing
Collections.singletonList(coordinate)
buildingRequest
- ProjectBuildingRequest
model
- Model
filter
- TransformableFilter
(can be null
).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, 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–2020 The Apache Software Foundation. All rights reserved.