@Component(role=DependencyGraphBuilder.class) public class DefaultDependencyGraphBuilder extends org.codehaus.plexus.logging.AbstractLogEnabled implements DependencyGraphBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Maven2DependencyGraphBuilder,
Maven3DependencyGraphBuilder| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.PlexusContainer |
container |
| Constructor and Description |
|---|
DefaultDependencyGraphBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DependencyNode |
buildDependencyGraph(org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Build the dependency graph.
|
void |
contextualize(org.codehaus.plexus.context.Context context) |
protected static boolean |
isMaven2x()
Check the current Maven version to see if it's Maven 2.x.
|
protected static boolean |
isMaven31()
Check the current Maven version to see if it's Maven 3.1.
|
public DependencyNode buildDependencyGraph(org.apache.maven.project.MavenProject project, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) throws DependencyGraphBuilderException
DependencyGraphBuilderbuildDependencyGraph in interface DependencyGraphBuilderproject - the projectfilter - artifact filter (can be nullDependencyGraphBuilderExceptionprotected static boolean isMaven2x()
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.Contextualizableorg.codehaus.plexus.context.ContextExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.