org.apache.maven.plugin.dependency
Class AnalyzeReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.dependency.AnalyzeReportMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport
@Mojo(name="analyze-report",
requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class AnalyzeReportMojo- extends org.apache.maven.reporting.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 1367274 2012-07-30 20:32:05Z hboutemy $
| 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 |
| 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 |
AnalyzeReportMojo
public AnalyzeReportMojo()
executeReport
public void executeReport(Locale locale)
throws org.apache.maven.reporting.MavenReportException
- Specified by:
executeReport in class org.apache.maven.reporting.AbstractMavenReport
- Throws:
org.apache.maven.reporting.MavenReportException
getOutputName
public String getOutputName()
getName
public String getName(Locale locale)
getDescription
public String getDescription(Locale locale)
getProject
protected org.apache.maven.project.MavenProject getProject()
- Specified by:
getProject in class org.apache.maven.reporting.AbstractMavenReport
getOutputDirectory
protected String getOutputDirectory()
- Specified by:
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
- Specified by:
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReport
getBundle
protected ResourceBundle getBundle(Locale locale)
- Parameters:
locale - the current locale
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.