@Component(role=DependencyCollector.class, hint="maven31") public class Maven31DependencyCollector extends Object implements DependencyCollector
DependencyCollector
Constructor and Description |
---|
Maven31DependencyCollector() |
Modifier and Type | Method and Description |
---|---|
CollectorResult |
collectDependencies(ProjectBuildingRequest buildingRequest,
DependableCoordinate root) |
CollectorResult |
collectDependencies(ProjectBuildingRequest buildingRequest,
org.apache.maven.model.Dependency root)
A dependency may have excludes
|
CollectorResult |
collectDependencies(ProjectBuildingRequest buildingRequest,
org.apache.maven.model.Model root) |
public CollectorResult collectDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Dependency root) throws DependencyCollectorException
DependencyCollector
collectDependencies
in interface DependencyCollector
buildingRequest
- ProjectBuildingRequest
root
- Dependency
CollectorResult
DependencyCollectorException
- in case of an error.public CollectorResult collectDependencies(ProjectBuildingRequest buildingRequest, DependableCoordinate root) throws DependencyCollectorException
collectDependencies
in interface DependencyCollector
buildingRequest
- ProjectBuildingRequest
.root
- DependableCoordinate
CollectorResult
DependencyCollectorException
- in case of an error which can be a component lookup error or
an error while trying to look up the dependencies.public CollectorResult collectDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Model root) throws DependencyCollectorException
collectDependencies
in interface DependencyCollector
buildingRequest
- ProjectBuildingRequest
.root
- Model
CollectorResult
DependencyCollectorException
- in case of an error which can be a component lookup error or
an error while trying to look up the dependencies.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.