@Mojo(name="report-aggregate",
defaultPhase=PREPARE_PACKAGE)
public class PitAggregationMojo
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. The the developer would simply include an extra module,
which has all of the modules which contain reports as dependencies. That
"report-aggregation" module would then call this mojo to aggregate all of the
individual reports into a single report.
| Constructor and Description |
|---|
PitAggregationMojo() |
| 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.