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:
- 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 $
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 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.