[ 
https://jira.codehaus.org/browse/MCOBERTURA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274337#comment-274337
 ] 

Gan Yang commented on MCOBERTURA-52:
------------------------------------

I am working with the Cobertura 2.5.1 plugin and this issue still remains. When 
I put in excludes they are completely ignored.

> Ignores and Excludes do nothing
> -------------------------------
>
>                 Key: MCOBERTURA-52
>                 URL: https://jira.codehaus.org/browse/MCOBERTURA-52
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows
>            Reporter: Jim Wilson
>
> After adding this to the POM:
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>cobertura-maven-plugin</artifactId>
>         <configuration>
>           <instrumentation>
>             <excludes>
>               <exclude>org/example/**/*Test.class</exclude>
>               <exclude>${basedir}</exclude>
>             </excludes>
>           </instrumentation>
>           <check>
>             <haltOnFailure>false</haltOnFailure>
>           </check>
>         </configuration>
>         <executions>
>           <execution>
>             <goals>
>               <goal>clean</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
>   </build>
> Cobertura still reports on all classes.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to