[
http://jira.codehaus.org/browse/MCOBERTURA-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126000
]
Claude Humard commented on MCOBERTURA-70:
-----------------------------------------
@Giridhar:
In my case, this workaround doesn't really work. Now, the report indeed is
generated with the first run, but it doesn't show all classes and those which
are shown got all a test-coverage of 100%, which is wrong.
Regards,
Claude
> 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