[ http://jira.codehaus.org/browse/MOJO-271?page=all ] Brett Porter reopened MOJO-271: -------------------------------
this change causes the plugin to report 0% for everything because the code is not forked (try running it with cobertura.ser removed). It would also fail if tests fail. Needs more investigation. For me, tests are not run twice. So either there is something in your build, or something else in your environment causing this. > Cobertura runs tests twice > -------------------------- > > Key: MOJO-271 > URL: http://jira.codehaus.org/browse/MOJO-271 > Project: Mojo > Type: Bug > Components: cobertura > Versions: 2.0-beta-1 > Reporter: Mike Perham > Fix For: 2.0-beta-1 > > > The lifecycle.xml specifies a test goal but apparently this is redundant and > the second execution immediately fails the build. The standard forked > lifecycle already contains a test goal. If I just comment the entire block > out, it works as expected. -- 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