Package org.codehaus.mojo.buildplan
Class ReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.buildplan.ReportMojo
- 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="report",
defaultPhase=SITE)
public class ReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
Report plugin executions for the current project.
-
Field Summary
Fields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteToolFields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionReportMojo(org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.lifecycle.MavenExecutionPlanprotected voidexecuteReport(Locale locale) getDescription(Locale locale) Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Constructor Details
-
ReportMojo
@Inject public ReportMojo(org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles)
-
-
Method Details
-
executeReport
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-
getOutputName
-
getName
-
getDescription
-
calculateExecutionPlan
protected org.apache.maven.lifecycle.MavenExecutionPlan calculateExecutionPlan() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-