[ http://jira.codehaus.org/browse/MCOBERTURA-12?page=comments#action_82671 ] Pablo Gutierrez commented on MCOBERTURA-12: -------------------------------------------
I have the same issue, Bjorn did you add cobertura as a compile dependency like this? <dependency> <groupId>cobertura</groupId> <artifactId>cobertura</artifactId> <version>1.7</version> <scope>compile</scope> </dependency> Even having cobertura as a dependency on my pom, tests are executed twice, the first time fail and the second one with success. Thanks, Pablo > Cobertura runs tests twice > -------------------------- > > Key: MCOBERTURA-12 > URL: http://jira.codehaus.org/browse/MCOBERTURA-12 > Project: Maven 2.x Cobertura Plugin > Issue Type: Bug > Reporter: Mike Perham > Assigned To: Brett Porter > Fix For: 2.0 > > > 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 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email