[ http://jira.codehaus.org/browse/MCOBERTURA-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105080 ]
Lukas Theussl commented on MCOBERTURA-70: ----------------------------------------- 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. > I must run 'mvn cobertura:cobertura' twice to get a valid coverage report. > -------------------------------------------------------------------------- > > Key: MCOBERTURA-70 > URL: http://jira.codehaus.org/browse/MCOBERTURA-70 > Project: Maven 2.x Cobertura Plugin > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Gary Kind > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email