| Property |
Default |
Optional? |
Description |
| maven.cobertura.dir |
${maven.build.dir}/cobertura |
Yes |
Specifies the root directory for cobertura output files.
|
| maven.cobertura.instrumentation |
${maven.cobertura.dir}/classes |
Yes |
Specifies the build directory for the instrumented classes.
|
| maven.cobertura.instrumentation.maxmemory |
64m |
Yes |
Specifies the JVM max memory amount for the instrumentation task.
|
| maven.cobertura.instrumentation.includes |
**/*.class |
Yes |
Specifies the pattern for the included classes of instrumentation.
|
| maven.cobertura.instrumentation.excludes |
Not defined |
Yes |
Specifies the pattern for the excluded classes of instrumentation. It's a comma separated property.
|
| maven.cobertura.report.maxmemory |
64m |
Yes |
Specifies the JVM max memory amount for the report task.
|
| maven.cobertura.ignoreregex |
Not defined |
Yes |
Tell Cobertura to ignore certain classes using a regular expression.
eg. to ignore all calls to commons-logging you can use org.apache.commons.logging.*.
|
| maven.cobertura.junit.fork |
yes |
Yes |
Specifies the fork attribute for the JUnit test for the coverage analysis.
|
| maven.cobertura.datafile |
${maven.cobertura.dir}/cobertura.ser |
Yes |
Specify the name of the file to use for storing the metadata about your classes.
|
| maven.cobertura.force |
false |
Yes |
Force cobertura to be invoked even if no JUnit test classes exist. This will
allow one to get the metric of the total number of executable lines in the code
even if unit tests do not exist.
|