org.apache.maven.plugin.dependency
Class TreeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.dependency.TreeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TreeMojo
extends org.apache.maven.plugin.AbstractMojo

Displays the dependency tree for this project.

Since:
2.0-alpha-5
Version:
$Id: TreeMojo.java 553260 2007-07-04 16:36:14Z markh $
Author:
Mark Hobson

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TreeMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.shared.dependency.tree.DependencyTree getDependencyTree()
          Gets the computed dependency tree for the Maven project.
 org.apache.maven.project.MavenProject getProject()
          Gets the Maven project used by this mojo.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeMojo

public TreeMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getProject

public org.apache.maven.project.MavenProject getProject()
Gets the Maven project used by this mojo.

Returns:
the Maven project

getDependencyTree

public org.apache.maven.shared.dependency.tree.DependencyTree getDependencyTree()
Gets the computed dependency tree for the Maven project.

Returns:
the dependency tree


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.