@Mojo(name="report") @Execute(lifecycle="surefire", phase=TEST) public class SurefireReport extends AbstractSurefireReport
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteTool
Constructor and Description |
---|
SurefireReport(org.codehaus.plexus.i18n.I18N i18n) |
Modifier and Type | Method and Description |
---|---|
protected String |
getI18Nsection() |
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, getConsoleLogger, getDescription, getI18N, getI18nString, getName, getProject, getReactorProjects
closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
protected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
AbstractSurefireReport
getSurefireReportsDirectory
in class AbstractSurefireReport
subProject
- the project to query.public String getOutputName()
AbstractSurefireReport
getOutputName
in interface org.apache.maven.reporting.MavenReport
getOutputName
in class AbstractSurefireReport
protected boolean isSkipped()
AbstractSurefireReport
isSkipped
in class AbstractSurefireReport
true
if and only if the report should be generated.protected boolean isGeneratedWhenNoResults()
AbstractSurefireReport
isGeneratedWhenNoResults
in class AbstractSurefireReport
true
if and only if the report should be generated when there are no result files at all.protected String getI18Nsection()
getI18Nsection
in class AbstractSurefireReport
Copyright © 2004–2025 The Apache Software Foundation. All rights reserved.