@Mojo(name="report",
inheritByDefault=false)
@Execute(lifecycle="surefire",
phase=TEST)
public class SurefireReportMojo
extends AbstractSurefireReportMojo
outputDirectory, project, siteRenderer| Constructor and Description |
|---|
SurefireReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOutputName() |
protected File |
getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
Gets the default surefire reports directory for the specified project.
|
protected boolean |
isGeneratedWhenNoResults()
Whether the report should be generated when there are no test results.
|
protected boolean |
isSkipped()
Whether the report should be generated or not.
|
canGenerateReport, executeReport, getDescription, getNamecloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectoryprotected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
AbstractSurefireReportMojogetSurefireReportsDirectory in class AbstractSurefireReportMojosubProject - the project to query.public String getOutputName()
AbstractSurefireReportMojogetOutputName in interface org.apache.maven.reporting.MavenReportgetOutputName in class AbstractSurefireReportMojoprotected boolean isSkipped()
AbstractSurefireReportMojoisSkipped in class AbstractSurefireReportMojotrue if and only if the report should be generated.protected boolean isGeneratedWhenNoResults()
AbstractSurefireReportMojoisGeneratedWhenNoResults in class AbstractSurefireReportMojotrue if and only if the report should be generated when there are no result files at all.Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.