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