org.apache.maven.shared.dependency.graph.internal
Class Maven2DependencyGraphBuilder

java.lang.Object
  extended by org.apache.maven.shared.dependency.graph.internal.Maven2DependencyGraphBuilder
All Implemented Interfaces:
DependencyGraphBuilder

@Component(role=DependencyGraphBuilder.class,
           hint="maven2")
public class Maven2DependencyGraphBuilder
extends Object
implements DependencyGraphBuilder

Wrapper around Maven 2 dependency tree builder.

Since:
2.0
Author:
Hervé Boutemy
See Also:
DependencyTreeBuilder

Constructor Summary
Maven2DependencyGraphBuilder()
           
 
Method Summary
 DependencyNode buildDependencyGraph(MavenProject project, ArtifactFilter filter)
          Build the dependency graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maven2DependencyGraphBuilder

public Maven2DependencyGraphBuilder()
Method Detail

buildDependencyGraph

public DependencyNode buildDependencyGraph(MavenProject project,
                                           ArtifactFilter filter)
                                    throws DependencyGraphBuilderException
Description copied from interface: DependencyGraphBuilder
Build the dependency graph.

Specified by:
buildDependencyGraph in interface DependencyGraphBuilder
Parameters:
project - the project
filter - artifact filter (can be null
Returns:
the dependency graph
Throws:
DependencyGraphBuilderException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.