Class AnalyzeReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.dependency.analyze.AnalyzeReport
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo,- org.apache.maven.reporting.MavenMultiPageReport,- org.apache.maven.reporting.MavenReport
@Mojo(name="analyze-report",
      requiresDependencyResolution=TEST,
      threadSafe=true)
@Execute(phase=TEST_COMPILE)
public class AnalyzeReport
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
- 
Field SummaryFields inherited from class org.apache.maven.reporting.AbstractMavenReportlocale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteToolFields inherited from interface org.apache.maven.reporting.MavenReportCATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsConstructorDescriptionAnalyzeReport(org.apache.maven.shared.dependency.analyzer.ProjectDependencyAnalyzer analyzer, org.codehaus.plexus.i18n.I18N i18n) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidexecuteReport(Locale locale) getDescription(Locale locale) protected StringgetI18nString(Locale locale, String key) Methods inherited from class org.apache.maven.reporting.AbstractMavenReportcloseReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReportgetOutputPath
- 
Constructor Details
- 
Method Details- 
executeReport- Specified by:
- executeReportin class- org.apache.maven.reporting.AbstractMavenReport
- Throws:
- org.apache.maven.reporting.MavenReportException
 
- 
canGenerateReportpublic boolean canGenerateReport()- Specified by:
- canGenerateReportin interface- org.apache.maven.reporting.MavenReport
- Overrides:
- canGenerateReportin class- org.apache.maven.reporting.AbstractMavenReport
 
- 
getOutputName
- 
getName
- 
getDescription
- 
getI18nString- Parameters:
- locale- the locale
- key- the key to search for
- Returns:
- the text appropriate for the locale
 
 
-