Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
Our nightly build does:
'mvn clean'
'mvn install'
'mvn cobertura'
'mvn site'
We have found that for the last couple of months (or possibly more), our coverage reports are showing 0% coverage on all tests. I have found that we have to run 'mvn cobertura:cobertura' TWICE! to get a valid coverage report. What gives? Is there any workaround? I have tried all sorts of things but nothing really works.
Issue Links
- is related to
-
SONAR-1455
0% code coverage reported with maven-surefire-plugin 2.5
-
I have the same problem. Basically, 'mvn clean cobertura:cobertura' gives 0% coverage on all tests, 'mvn clean cobertura:cobertura cobertura:cobertura' works correctly. This seems the same as
MCOBERTURA-25, however using surefire-2.3doesn't help, see the last remarks there.