| 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.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.junit.fork | yes | Yes | Specifies the fork attribute for the JUnit test for the coverage analysis. |
| maven.cobertura.datafile | ${basedir}/cobertura.ser | Yes | Specify the name of the file to use for storing the metadata about your classes. Seems cobertura doesn't work correctly if changed (to be verified) |
| maven.cobertura.check.report | false | Yes | Whether or not the cobertura check report is generated. Disabled by default because seems that it doesn't work on maven 1.0.x (works in 1.1-beta-1) |
| maven.cobertura.check.line | 50 | Yes | Line test coverage % under which the build will fail when cobertura:check is called. |
| maven.cobertura.check.branch | 50 | Yes | Branch test coverage % under which the build will fail when cobertura:check is called. |
| maven.cobertura.check.file | ${maven.cobertura.dir}/check.txt | Yes | File where to store results when cobertura:check is called. |