@Mojo(name="report-aggregate-module",
defaultPhase=PREPARE_PACKAGE,
aggregator=true)
public class PitReportAggregationModuleMojo
extends PitReportMojo
Based upon Jacoco's ReportAggregateMojo, creates a structured report (HTML, XML, or CSV) from multiple projects. The report is created the all modules this project includes as dependencies.
To successfully aggregate reports, each of the individual sub-module reports
must have the exportLineCoverage set to true, and must export an
XML formatted report.
then call the mojo ONLY on the parent
mvn pitest:report-aggregate-module --non-recursive
| Constructor and Description |
|---|
PitReportAggregationModuleMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
canGenerateReport, getInputEncoding, getName, getOutputDirectory, getOutputEncoding, getOutputName, getProject, getReportsDirectory, getSiteRenderer, getSourceDataFormats, isExternalReport, isSkipcloseReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, setReportOutputDirectorypublic String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportgetDescription in class PitReportMojoprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class PitReportMojoorg.apache.maven.reporting.MavenReportExceptionCopyright © 2022 org.pitest. All rights reserved.