@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(org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds the dependency graph for Maven 2.
|
DependencyNode |
buildDependencyGraph(org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter,
Collection<org.apache.maven.project.MavenProject> reactorProjects)
Builds the dependency graph for Maven 2.
|
public DependencyNode buildDependencyGraph(org.apache.maven.project.MavenProject project, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) throws DependencyGraphBuilderException
buildDependencyGraph in interface DependencyGraphBuilderproject - the projectfilter - artifact filter (can be null)DependencyGraphBuilderException - if some of the dependencies could not be resolved.public DependencyNode buildDependencyGraph(org.apache.maven.project.MavenProject project, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, Collection<org.apache.maven.project.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 DependencyGraphBuilderproject - 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.