org.apache.maven.plugin.dependency
Class AbstractAnalyzeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.dependency.AbstractAnalyzeMojo
All Implemented Interfaces:
ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Direct Known Subclasses:
AnalyzeMojo, AnalyzeOnlyMojo

public abstract class AbstractAnalyzeMojo
extends AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Analyzes the dependencies of this project and determines which are: used and declared; used and undeclared; unused and declared.

Since:
2.0-alpha-5
Version:
$Id: AbstractAnalyzeMojo.java 1401905 2012-10-24 22:24:44Z bimargulies $
Author:
Mark Hobson

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAnalyzeMojo()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
protected  ProjectDependencyAnalyzer createProjectDependencyAnalyzer()
           
 void execute()
           
 
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

AbstractAnalyzeMojo

public AbstractAnalyzeMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Specified by:
execute in interface Mojo
Throws:
MojoExecutionException
MojoFailureException

createProjectDependencyAnalyzer

protected ProjectDependencyAnalyzer createProjectDependencyAnalyzer()
                                                             throws MojoExecutionException
Throws:
MojoExecutionException

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


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