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:
- ContextEnabled, Mojo, MavenMultiPageReport, MavenReport
public class InvokerReport
- extends 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
- Is defined by the goal name:
- report
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected MavenProject project
- The Maven Project.
- Is defined by:
- default-value:
- ${project}
- Is readonly.
- Is required.
siteRenderer
protected Renderer siteRenderer
- Doxia Site Renderer component.
- Is a Plexus component defined by:
i18n
protected I18N i18n
- Internationalization component.
- Is a Plexus component defined by:
outputDirectory
protected 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.
- Is defined by:
- default-value:
- ${project.reporting.outputDirectory}
- Is required.
InvokerReport
public InvokerReport()
executeReport
protected void executeReport(Locale locale)
throws MavenReportException
- Specified by:
executeReport
in class AbstractMavenReport
- Throws:
MavenReportException
getOutputDirectory
protected String getOutputDirectory()
- Specified by:
getOutputDirectory
in class AbstractMavenReport
getProject
protected MavenProject getProject()
- Specified by:
getProject
in class AbstractMavenReport
getSiteRenderer
protected Renderer getSiteRenderer()
- Specified by:
getSiteRenderer
in class AbstractMavenReport
getDescription
public String getDescription(Locale locale)
getName
public String getName(Locale locale)
getOutputName
public String getOutputName()
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReport
in interface MavenReport
- Overrides:
canGenerateReport
in class AbstractMavenReport
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.