cobertura-runtime:sourcecollector

Full name:

ch.elca.el4j.maven.plugins:maven-cobertura-runtime-plugin:3.1:sourcecollector

Description:

Goal to collect java source files of instrumented class files.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test-compile.

Required Parameters

Name Type Since Description
includeTestFiles boolean - Is true if the test files should be instrumented too. Default is false.
Default value is: false.
sourceFileListExcludes String - Comma separated excludes for the files list.
Default value is: **/*Test.java.
sourceFileListIncludes String - Comma separated includes for the files list.
Default value is: **/*.java.

Parameter Details

includeTestFiles:

Is true if the test files should be instrumented too. Default is false.
  • Type: boolean
  • Required: Yes
  • Expression: ${cobertura-runtime.includeTestFiles}
  • Default: false

sourceFileListExcludes:

Comma separated excludes for the files list.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${cobertura-runtime.sourceFileListExcludes}
  • Default: **/*Test.java

sourceFileListIncludes:

Comma separated includes for the files list.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${cobertura-runtime.sourceFileListIncludes}
  • Default: **/*.java