Maven 2.x Cobertura Plugin

Build reactor does not halt when coverage is below specified parameters

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.5
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows 2000, JDK 1.5
  • Testcase included:
    yes
  • Number of attachments :
    1

Description

Configuration parameters fail.

The plugin does not halt the reactor when a class falls below the thresholds defined by branchrate or linerate, or when the entire project falls below totalbranchrate or totallinerate. I have attached a simple test case. Everything is set to 100%, however the test provided has a line coverage of 71% and a branch coverage of 50%.

Activity

Hide
Todd Nine added a comment -

I will be working on fixing this over the weekend.

Show
Todd Nine added a comment - I will be working on fixing this over the weekend.
Hide
Todd Nine added a comment -

As of 8/19, the documentation at

http://mojo.codehaus.org/cobertura-maven-plugin/usage.html#Check

Does not match the documentation in the src/site/apt/usage.apt file. Deploying the documentation created for 2.0 will resolve this issue.

Show
Todd Nine added a comment - As of 8/19, the documentation at http://mojo.codehaus.org/cobertura-maven-plugin/usage.html#Check Does not match the documentation in the src/site/apt/usage.apt file. Deploying the documentation created for 2.0 will resolve this issue.
Hide
Robert Scholte added a comment -

Current documentation was deployed when releasing cobertura-m-p 2.4, so it should be more than up to date.

Show
Robert Scholte added a comment - Current documentation was deployed when releasing cobertura-m-p 2.4, so it should be more than up to date.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: