scoverage:report
Note:
This goal should be used as a Maven report.
Full name:
org.scoverage:scoverage-maven-plugin:2.0.6:report
Description:
Generates code coverage by unit tests report in forked scoverage
life cycle.
In forked scoverage
life cycle project is compiled with SCoverage instrumentation and unit tests are executed before report generation.
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
1.0.0
. - Invokes the execution of the following lifecycle phase prior to executing itself:
test
. - Executes in its own lifecycle:
scoverage
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<aggregate> |
boolean |
1.1.0 |
In multi-module project additionally generate aggregated SCoverage report.
Default: false User Property: scoverage.aggregate |
<aggregateOnly> |
boolean |
1.4.0 |
In multi-module project generate only aggregated SCoverage report.
Scoverage reports for individual modules will not be generated. Default: false User Property: scoverage.aggregateOnly |
<encoding> |
String |
1.2.0 |
The file encoding to use when reading Scala sources.
Default: ${project.build.sourceEncoding} User Property: encoding |
<skip> |
boolean |
1.0.0 |
Allows SCoverage to be skipped.
Default: false User Property: scoverage.skip |
Parameter Details
<aggregate>
In multi-module project additionally generate aggregated SCoverage report.
- Type:
boolean
- Since:
1.1.0
- Required:
No
- User Property:
scoverage.aggregate
- Default:
false
<aggregateOnly>
In multi-module project generate only aggregated SCoverage report.
Scoverage reports for individual modules will not be generated.
Scoverage reports for individual modules will not be generated.
- Type:
boolean
- Since:
1.4.0
- Required:
No
- User Property:
scoverage.aggregateOnly
- Default:
false
<encoding>
The file encoding to use when reading Scala sources.
- Type:
java.lang.String
- Since:
1.2.0
- Required:
No
- User Property:
encoding
- Default:
${project.build.sourceEncoding}
<skip>
Allows SCoverage to be skipped.
- Type:
boolean
- Since:
1.0.0
- Required:
No
- User Property:
scoverage.skip
- Default:
false