Package org.apache.maven.plugins.invoker
Class InvokerReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.invoker.InvokerReport
- 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",
threadSafe=true)
public class InvokerReport
extends org.apache.maven.reporting.AbstractMavenReport
Generate a report based on the results of the Maven invocations. Note: This mojo doesn't fork any
lifecycle, if you have a clean working copy, you have to use a command like
mvn clean integration-test site
to ensure the build results are present when this goal is invoked.- Since:
- 1.4
- Author:
- Olivier Lamy
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.codehaus.plexus.i18n.I18N
Internationalization componentFields inherited from class org.apache.maven.reporting.AbstractMavenReport
localRepository, outputDirectory, project, remoteRepositories, siteRenderer, siteTool
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
executeReport
(Locale locale) getDescription
(Locale locale) Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
i18n
@Component protected org.codehaus.plexus.i18n.I18N i18nInternationalization component
-
-
Constructor Details
-
InvokerReport
public InvokerReport()
-
-
Method Details
-
executeReport
- Specified by:
executeReport
in classorg.apache.maven.reporting.AbstractMavenReport
- Throws:
org.apache.maven.reporting.MavenReportException
-
getName
-
getDescription
-
getOutputName
-
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReport
in interfaceorg.apache.maven.reporting.MavenReport
- Overrides:
canGenerateReport
in classorg.apache.maven.reporting.AbstractMavenReport
-