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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.codehaus.plexus.i18n.I18NInternationalization componentprivate FileBase directory where all build reports have been written to.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidexecuteReport(Locale locale) getDescription(Locale locale) private StringgetI18nString(Locale locale, String key) private File[]Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Field Details
-
reportsDirectory
@Parameter(defaultValue="${project.build.directory}/invoker-reports", property="invoker.reportsDirectory") private File reportsDirectoryBase directory where all build reports have been written to. -
i18n
protected final org.codehaus.plexus.i18n.I18N i18nInternationalization component
-
-
Constructor Details
-
InvokerReport
@Inject public InvokerReport(org.codehaus.plexus.i18n.I18N i18n)
-
-
Method Details
-
executeReport
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-
getI18nString
-
getName
-
getDescription
-
getOutputName
-
getReportFiles
-
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport
-