clover:instrument does not take testRecources 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


My pom.xml includes some testRecources, see an example below. 

...
  <build>
        <testResources>
                <testResource>
                        <directory>../SubProjectA/src/test/resources</directory>
                </testResource>
        </testResources>
  </build>
...

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