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 1451330 2013-02-28 20:41:08Z rfscholte $
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()
           
 boolean isSkip()
           
 void setSkip(boolean skip)
           
 
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

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean skip)


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