org.apache.maven.plugin.dependency
Class AnalyzeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.dependency.AnalyzeMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- JustAnalyzeMojo
public class AnalyzeMojo
- extends org.apache.maven.plugin.AbstractMojo
This goal analyzes your project's dependencies and lists dependencies that
should be declared, but are not, and dependencies that are declared but
unused. It also executes the analyze-dep-mgt goal.
- Since:
- 2.0-alpha-3
- Version:
- $Id: AnalyzeMojo.java 552528 2007-07-02 16:12:47Z markh $
- Author:
- Mark Hobson
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
outputDirectory
protected java.io.File outputDirectory
- Target folder
- Since:
- 2.0-alpha-5
AnalyzeMojo
public AnalyzeMojo()
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
writeScriptableOutput
public void writeScriptableOutput(java.util.Set artifacts)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.