[ 
https://jira.codehaus.org/browse/MCOBERTURA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Miguel Almeida updated MCOBERTURA-52:
-------------------------------------

    Attachment: Issue52Patch2.patch

2nd version of the patch: I added a test case.

This class is really hard to test, so I made a few changes to ease testing. 
However, a project maintainer should review this and:

a) Either confirm the test or suggest an alternative location for it

b) Suggest the relevant integration test where this test should be

> 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
>         Attachments: Issue52Patch2.patch, Issue52Patch.patch
>
>
> 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