[ 
http://jira.codehaus.org/browse/MCLOVER-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Massol closed MCLOVER-62.
---------------------------------

      Assignee: Vincent Massol
    Resolution: Duplicate

> Compile errors when files are <exclude>'ed from intrumentation.
> ---------------------------------------------------------------
>
>                 Key: MCLOVER-62
>                 URL: http://jira.codehaus.org/browse/MCLOVER-62
>             Project: Maven 2.x Clover Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Nick Pellow
>         Assigned To: Vincent Massol
>         Attachments: beanutils-clover-out.txt
>
>
> As far as I can tell, by looking at the source code, files that are excluded 
> from 
> instrumentation, are also excluded from being compiled.
> This means, that if I exclude source code that is referenced by the unit 
> tests, or indeed
> other sources that aren't excluded, the compile will fail.
> To observe this behaviour:
> 1)  Checkout the commons beanutils project from:
> http://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk
> 2) Add these lines to plugins element in the pom.xml
>       <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-clover-plugin</artifactId>
>           <configuration>
>             <excludes>
>               <exclude>**/locale/**</exclude>
>             </excludes>
>           </configuration>
>       </plugin>
> 3) Run: mvn clean clover:instrument clover:clover
>  
> Attached is the output from maven when running the above recipe with the -X 
> option.

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