[ http://jira.codehaus.org/browse/MOJO-271?page=comments#action_57966 ] 

Jesper Zedlitz commented on MOJO-271:
-------------------------------------

This bug is really strange... The problem only occurs on one of my projects. 

It has something to do with the kind of unittests you are runinng. I removed 
all but one very simple test and it was no problem to genreate the coverage 
report calling "mvn site".

It seems that every unittests that has something to do with Spring confuses the 
site generation process - but that is only a guess.

> 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

Reply via email to