@Mojo(name="report", threadSafe=true) public class InvokerReport extends AbstractMavenReport
mvn clean integration-test site
to ensure the build results are present when this goal is invoked.Modifier and Type | Field and Description |
---|---|
protected I18N |
i18n
Internationalization component.
|
protected File |
outputDirectory
The output directory for the report.
|
protected MavenProject |
project
The Maven Project.
|
protected Renderer |
siteRenderer
Doxia Site Renderer component.
|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
Constructor and Description |
---|
InvokerReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
protected void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
String |
getOutputName() |
protected MavenProject |
getProject() |
protected Renderer |
getSiteRenderer() |
closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
@Parameter(defaultValue="${project}", readonly=true, required=true) protected MavenProject project
@Component protected Renderer siteRenderer
@Component protected I18N i18n
@Parameter(defaultValue="${project.reporting.outputDirectory}", required=true) protected File outputDirectory
protected void executeReport(Locale locale) throws MavenReportException
executeReport
in class AbstractMavenReport
MavenReportException
protected String getOutputDirectory()
getOutputDirectory
in class AbstractMavenReport
protected MavenProject getProject()
getProject
in class AbstractMavenReport
protected Renderer getSiteRenderer()
getSiteRenderer
in class AbstractMavenReport
public String getOutputName()
public boolean canGenerateReport()
canGenerateReport
in interface MavenReport
canGenerateReport
in class AbstractMavenReport
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.