org.apache.maven.plugin.dependency
Class AnalyzeReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.apache.maven.plugin.dependency.AnalyzeReportMojo
All Implemented Interfaces:
ContextEnabled, Mojo, MavenReport

@Mojo(name="analyze-report",
      requiresDependencyResolution=TEST,
      threadSafe=true)
@Execute(phase=TEST_COMPILE)
public class AnalyzeReportMojo
extends AbstractMavenReport

Analyzes the dependencies of this project and produces a report that summarizes which are: used and declared; used and undeclared; unused and declared.

Since:
2.0-alpha-5
Version:
$Id: AnalyzeReportMojo.java 1451088 2013-02-28 04:22:41Z brianf $

Field Summary
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AnalyzeReportMojo()
           
 
Method Summary
 void executeReport(Locale locale)
           
protected  ResourceBundle getBundle(Locale locale)
           
 String getDescription(Locale locale)
           
 String getName(Locale locale)
           
protected  String getOutputDirectory()
           
 String getOutputName()
           
protected  MavenProject getProject()
           
protected  Renderer getSiteRenderer()
           
 boolean isSkip()
           
 void setSkip(boolean skip)
           
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, getCategoryName, getReportOutputDirectory, getSink, isExternalReport, setReportOutputDirectory
 
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

AnalyzeReportMojo

public AnalyzeReportMojo()
Method Detail

executeReport

public void executeReport(Locale locale)
                   throws MavenReportException
Specified by:
executeReport in class AbstractMavenReport
Throws:
MavenReportException

getOutputName

public String getOutputName()

getName

public String getName(Locale locale)

getDescription

public String getDescription(Locale locale)

getProject

protected MavenProject getProject()
Specified by:
getProject in class AbstractMavenReport

getOutputDirectory

protected String getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractMavenReport

getSiteRenderer

protected Renderer getSiteRenderer()
Specified by:
getSiteRenderer in class AbstractMavenReport

getBundle

protected ResourceBundle getBundle(Locale locale)
Parameters:
locale - the current locale

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean skip)


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