• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   Copyright (c) 2009, 2019 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-->
12<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
14  <modelVersion>4.0.0</modelVersion>
15
16  <parent>
17    <groupId>jacoco</groupId>
18    <artifactId>setup-parent</artifactId>
19    <version>1.0-SNAPSHOT</version>
20    <relativePath>../setup-parent</relativePath>
21  </parent>
22
23  <artifactId>it-java9</artifactId>
24
25  <build>
26    <plugins>
27      <plugin>
28        <groupId>org.apache.maven.plugins</groupId>
29        <artifactId>maven-compiler-plugin</artifactId>
30        <configuration>
31          <source>9</source>
32          <target>9</target>
33        </configuration>
34      </plugin>
35      <plugin>
36        <groupId>@project.groupId@</groupId>
37        <artifactId>jacoco-maven-plugin</artifactId>
38        <executions>
39          <execution>
40            <goals>
41              <goal>prepare-agent</goal>
42              <goal>report</goal>
43            </goals>
44          </execution>
45          <execution>
46            <id>check</id>
47            <goals>
48              <goal>check</goal>
49            </goals>
50            <configuration>
51              <rules>
52                <rule>
53                  <limits>
54                    <limit>
55                      <counter>INSTRUCTION</counter>
56                      <value>COVEREDCOUNT</value>
57                      <minimum>8</minimum>
58                      <maximum>8</maximum>
59                    </limit>
60                  </limits>
61                </rule>
62              </rules>
63            </configuration>
64          </execution>
65        </executions>
66      </plugin>
67    </plugins>
68  </build>
69</project>
70