
@Mojo(name="report",
threadSafe=false)
@Execute(lifecycle="scoverage",
phase=TEST)
public class SCoverageReportMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.apache.maven.reporting.MavenReport
scoverage life cycle.
scoverage life cycle project is compiled with SCoverage instrumentation
and unit tests are executed before report generation.
| Constructor and Description |
|---|
SCoverageReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
void |
execute()
Generates SCoverage report.
|
void |
generate(org.codehaus.doxia.sink.Sink sink,
java.util.Locale locale) |
java.lang.String |
getCategoryName() |
java.lang.String |
getDescription(java.util.Locale locale) |
java.lang.String |
getName(java.util.Locale locale) |
java.lang.String |
getOutputName() |
java.io.File |
getReportOutputDirectory() |
boolean |
isExternalReport() |
void |
setReportOutputDirectory(java.io.File reportOutputDirectory) |
public java.lang.String getName(java.util.Locale locale)
getName in interface org.apache.maven.reporting.MavenReportpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportpublic void generate(org.codehaus.doxia.sink.Sink sink,
java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionpublic java.lang.String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportpublic boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportpublic java.lang.String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic java.io.File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(java.io.File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionException - if unexpected problem occursCopyright © 2014–2022. All rights reserved.