org.apache.maven.plugin.dependency
Class AbstractAnalyzeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnalyzeMojo
public AbstractAnalyzeMojo()
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.