Plugin's properties

PropertyDefaultOptional?Description
maven.cobertura.dir${maven.build.dir}/coberturaYes Specifies the root directory for cobertura output files.
maven.cobertura.instrumentation${maven.cobertura.dir}/classesYes Specifies the build directory for the instrumented classes.
maven.cobertura.instrumentation.includes**/*.classYes Specifies the pattern for the included classes of instrumentation.
maven.cobertura.instrumentation.excludesNot definedYes Specifies the pattern for the excluded classes of instrumentation. It's a comma separated property.
maven.cobertura.junit.forkyesYes Specifies the fork attribute for the JUnit test for the coverage analysis.
maven.cobertura.datafile${basedir}/cobertura.serYes 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.reportfalseYes 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.line50Yes Line test coverage % under which the build will fail when cobertura:check is called.
maven.cobertura.check.branch50Yes Branch test coverage % under which the build will fail when cobertura:check is called.
maven.cobertura.check.file${maven.cobertura.dir}/check.txtYes File where to store results when cobertura:check is called.