[ http://jira.codehaus.org/browse/MCLOVER-42?page=all ]
     
Vincent Massol closed MCLOVER-42:
---------------------------------

     Resolution: Won't Fix
    Fix Version:     (was: 2.2)

Invalid issue.

> clover:instrument does not take testResources into account
> ----------------------------------------------------------
>
>          Key: MCLOVER-42
>          URL: http://jira.codehaus.org/browse/MCLOVER-42
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.1
>     Reporter: ErwinTukker
>     Assignee: Vincent Massol

>
>
> My pom.xml includes some testRecources, see an example below. 
> {code:xml}
> ...
>   <build>
>       <testResources>
>               <testResource>
>                       <directory>../SubProjectA/src/test/resources</directory>
>               </testResource>
>       </testResources>
>   </build>
> ...
> {code}
> Note that the testResource is an 'external' resource, in this case it is in 
> another sub project. The reason for this is that the testResource is shared 
> by multiple projects and it just happens to be located in SubProjectA.
> Now, when I run mvn:test, all tests run ok. However when running mvn 
> clover:instrument or mvn:site, tests fail because the testResource is not on 
> the classpath.
> Brgrds, Erwin.

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