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

Miguel Almeida commented on MCOBERTURA-52:
------------------------------------------

According to 
http://maven.40175.n5.nabble.com/Cobertura-what-is-ignore-used-for-in-maven-I-don-t-see-it-mentioned-td114935.html
 :

"I'm guessing that ignore will still measure the coverage, but if you are 
enforcing a minimum coverage number, that package will be ignored.  Exclude 
will not even bother measuring the coverage "



> 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
>            Assignee: Robert Scholte
>         Attachments: Issue52Patch2.patch, Issue52Patch3.patch, 
> Issue52Patch4.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