org.apache.maven.plugin.dependency
Class AnalyzeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
protected  java.io.File outputDirectory
          Target folder
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AnalyzeMojo()
           
 
Method Summary
 void execute()
           
 void writeScriptableOutput(java.util.Set artifacts)
           
 
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
 

Field Detail

outputDirectory

protected java.io.File outputDirectory
Target folder

Since:
2.0-alpha-5
Constructor Detail

AnalyzeMojo

public AnalyzeMojo()
Method Detail

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.