2.2.2 命令

This plugin has 8 goals:

Goals Desc.
cobertura:check Check the coverage percentages for unit tests from the last instrumentation,and optionally fail the build if the targets are not met. To fail the build you need to set configuration/check/haltOnFailure=true in the plugin's configuration.
cobertura:check-integration-test Check the coverage percentages for unit tests and integration tests from the last instrumentation, and optionally fail the build if the targets are not met. To fail the build you need to set configuration/check/haltOnFailure=true in the plugin's configuration.
cobertura:clean Clean up the files that Cobertura Maven Plugin has created during instrumentation.
cobertura:cobertura Instrument the compiled classes, run the unit tests and generate a Cobertura report.
cobertura:cobertura-integration-test Instrument the compiled classes, run the unit tests and integration tests and generate a Cobertura report.
cobertura:dump-datafile Output the contents of Cobertura's data file to the command line.
cobertura:help Display help information on cobertura-maven-plugin. Call mvn cobertura:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
cobertura:instrument Instrument the compiled classes.

results matching ""

    No results matching ""