@Component(role=DependencyCollector.class, hint="default") public class DefaultDependencyCollector extends Object implements DependencyCollector, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Constructor and Description |
|---|
DefaultDependencyCollector() |
| 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) |
void |
contextualize(org.codehaus.plexus.context.Context context)
Injects the Plexus content.
|
protected static boolean |
isMaven31() |
public CollectorResult collectDependencies(ProjectBuildingRequest buildingRequest, org.apache.maven.model.Dependency root) throws DependencyCollectorException
DependencyCollectorcollectDependencies in interface DependencyCollectorbuildingRequest - ProjectBuildingRequestroot - DependencyCollectorResultDependencyCollectorException - in case of an error.public CollectorResult collectDependencies(ProjectBuildingRequest buildingRequest, DependableCoordinate root) throws DependencyCollectorException
collectDependencies in interface DependencyCollectorbuildingRequest - ProjectBuildingRequest.root - DependableCoordinateCollectorResultDependencyCollectorException - 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 DependencyCollectorbuildingRequest - ProjectBuildingRequest.root - ModelCollectorResultDependencyCollectorException - in case of an error which can be a component lookup error or
an error while trying to look up the dependencies.protected static boolean isMaven31()
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizablecontext - Plexus context to inject.org.codehaus.plexus.context.ContextException - if the PlexusContainer could not be located.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.