org.apache.maven.plugin.invoker
Class InvokerReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.invoker.InvokerReport
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport
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:
- olamy
Field Summary |
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization component. |
protected java.io.File |
outputDirectory
The output directory for the report. |
protected org.apache.maven.project.MavenProject |
project
The Maven Project. |
protected org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
Doxia Site Renderer component. |
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 |
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.maven.project.MavenProject project
- The Maven Project.
siteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
- Doxia Site Renderer component.
i18n
protected org.codehaus.plexus.i18n.I18N i18n
- Internationalization component.
outputDirectory
protected java.io.File outputDirectory
- The output directory for the report. Note that this parameter is only evaluated if the goal is run directly from
the command line. If the goal is run indirectly as part of a site generation, the output directory configured in
the Maven Site Plugin is used instead.
InvokerReport
public InvokerReport()
executeReport
protected void executeReport(java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
- Specified by:
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
- Throws:
org.apache.maven.reporting.MavenReportException
getOutputDirectory
protected java.lang.String getOutputDirectory()
- Specified by:
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
getProject
protected org.apache.maven.project.MavenProject getProject()
- Specified by:
getProject
in class org.apache.maven.reporting.AbstractMavenReport
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
- Specified by:
getSiteRenderer
in class org.apache.maven.reporting.AbstractMavenReport
getDescription
public java.lang.String getDescription(java.util.Locale locale)
getName
public java.lang.String getName(java.util.Locale locale)
getOutputName
public java.lang.String getOutputName()
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
- Overrides:
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.