You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2006/03/30 23:48:44 UTC

[jira] Commented: (MCLOVER-7) "mvn clover:report" generates errors in tests that execute properly in "mvn test"

    [ http://jira.codehaus.org/browse/MCLOVER-7?page=comments#action_62422 ] 

Vincent Massol commented on MCLOVER-7:
--------------------------------------

Chris, do you still have the problem with the final Clover plugin v 2.0?

> "mvn clover:report" generates errors in tests that execute properly in "mvn test"
> ---------------------------------------------------------------------------------
>
>          Key: MCLOVER-7
>          URL: http://jira.codehaus.org/browse/MCLOVER-7
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.0-alpha-1
>     Reporter: Chris Gray
>      Fix For: 2.1

>
>
> Some of our java code opens data files, which have been stored in the ${PROJECT_ROOT} directory.  When we execute "mvn test", the code compiles fine, and all unit tests pass.  However, when we add the clover plugin to the pom.xml file, all tests fail during the clover run.  As far as I can tell, it looks like clover when executes the tests, they look for the data files in the ${PROJECT_ROOT}/target/clover directory instead of the ${PROJECT_ROOT} directory.

-- 
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