Home | History | Annotate | Download | only in it-check-fails-no-halt
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3    Copyright (c) 2009, 2017 Mountainminds GmbH & Co. KG and Contributors
      4    All rights reserved. This program and the accompanying materials
      5    are made available under the terms of the Eclipse Public License v1.0
      6    which accompanies this distribution, and is available at
      7    http://www.eclipse.org/legal/epl-v10.html
      8 
      9    Contributors:
     10       Evgeny Mandrikov - initial API and implementation
     11       Kyle Lieber - implementation of CheckMojo
     12 -->
     13 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     14          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     15   <modelVersion>4.0.0</modelVersion>
     16 
     17   <parent>
     18     <groupId>jacoco</groupId>
     19     <artifactId>setup-parent</artifactId>
     20     <version>1.0-SNAPSHOT</version>
     21   </parent>
     22 
     23   <artifactId>it-check-fails-no-hault</artifactId>
     24 
     25   <build>
     26     <plugins>
     27       <plugin>
     28         <groupId>@project.groupId@</groupId>
     29         <artifactId>jacoco-maven-plugin</artifactId>
     30         <executions>
     31           <execution>
     32             <goals>
     33               <goal>prepare-agent</goal>
     34             </goals>
     35           </execution>
     36           <execution>
     37             <id>check</id>
     38             <goals>
     39               <goal>check</goal>
     40             </goals>
     41             <configuration>
     42               <haltOnFailure>false</haltOnFailure>
     43              <rules>
     44                 <!-- implementation is needed only for Maven 2 -->
     45                 <rule implementation="org.jacoco.maven.RuleConfiguration">
     46                   <element>BUNDLE</element>
     47                   <limits>
     48                     <!-- implementation is needed only for Maven 2 -->
     49                     <limit implementation="org.jacoco.report.check.Limit">
     50                       <counter>METHOD</counter>
     51                       <value>MISSEDCOUNT</value>
     52                       <maximum>0</maximum>
     53                     </limit>
     54                   </limits>
     55                 </rule>
     56               </rules>
     57             </configuration>
     58           </execution>
     59         </executions>
     60       </plugin>
     61     </plugins>
     62   </build>
     63 </project>
     64