@Component(role=DependencyGraphBuilder.class, hint="maven2") public class Maven2DependencyGraphBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements DependencyGraphBuilder
DependencyTreeBuilder
Constructor and Description |
---|
Maven2DependencyGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
buildDependencyGraph(MavenProject project,
ArtifactFilter filter)
Builds the dependency graph for Maven 2.
|
DependencyNode |
buildDependencyGraph(MavenProject project,
ArtifactFilter filter,
Collection<MavenProject> reactorProjects)
Builds the dependency graph for Maven 2.
|
public DependencyNode buildDependencyGraph(MavenProject project, ArtifactFilter filter) throws DependencyGraphBuilderException
buildDependencyGraph
in interface DependencyGraphBuilder
project
- the projectfilter
- artifact filter (can be null
)DependencyGraphBuilderException
- if some of the dependencies could not be resolved.public DependencyNode buildDependencyGraph(MavenProject project, ArtifactFilter filter, Collection<MavenProject> reactorProjects) throws DependencyGraphBuilderException
notice: the reactor projects are ignored as no work has been done to try to do the same hack as with Maven 3.
buildDependencyGraph
in interface DependencyGraphBuilder
project
- the projectfilter
- artifact filter (can be null
)reactorProjects
- Ignored.DependencyGraphBuilderException
- if some of the dependencies could not be resolved.Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.