Class AbstractAnalyzeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AnalyzeMojo
,AnalyzeOnlyMojo
public abstract class AbstractAnalyzeMojo
extends org.apache.maven.plugin.AbstractMojo
Analyzes the dependencies of this project and determines which are: used and declared; used and undeclared; unused
and declared; compile scoped but only used in tests.
- Since:
- 2.0-alpha-5
- Author:
- Mark Hobson
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractAnalyzeMojo
public AbstractAnalyzeMojo()
-
-
Method Details
-
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
-
createProjectDependencyAnalyzer
protected org.apache.maven.shared.dependency.analyzer.ProjectDependencyAnalyzer createProjectDependencyAnalyzer() throws org.apache.maven.plugin.MojoExecutionException- Returns:
ProjectDependencyAnalyzer
- Throws:
org.apache.maven.plugin.MojoExecutionException
- in case of an error.
-
isSkip
protected final boolean isSkip()- Returns:
skip
-