• 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-->
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-customize-agent</artifactId>
24
25  <properties>
26    <jacoco.propertyName>coverageAgent</jacoco.propertyName>
27    <jacoco.destFile>${project.build.directory}/coverage.exec</jacoco.destFile>
28    <jacoco.append>false</jacoco.append>
29    <jacoco.exclClassLoaders>sun.reflect.DelegatingClassLoader:MyClassLoader</jacoco.exclClassLoaders>
30    <jacoco.inclBootstrapClasses>true</jacoco.inclBootstrapClasses>
31    <jacoco.inclNoLocationClasses>true</jacoco.inclNoLocationClasses>
32    <jacoco.sessionId>session</jacoco.sessionId>
33    <jacoco.dumpOnExit>true</jacoco.dumpOnExit>
34    <jacoco.output>file</jacoco.output>
35    <jacoco.address>localhost</jacoco.address>
36    <jacoco.port>9999</jacoco.port>
37    <jacoco.classDumpDir>${project.build.directory}/classdumps</jacoco.classDumpDir>
38    <jacoco.jmx>true</jacoco.jmx>
39
40    <jacoco.dataFile>${jacoco.destFile}</jacoco.dataFile>
41  </properties>
42
43  <build>
44    <plugins>
45      <plugin>
46        <groupId>@project.groupId@</groupId>
47        <artifactId>jacoco-maven-plugin</artifactId>
48        <executions>
49          <execution>
50            <goals>
51              <goal>prepare-agent</goal>
52              <goal>report</goal>
53            </goals>
54            <configuration>
55              <includes>
56                <include>*</include>
57              </includes>
58              <excludes>
59                <exclude>java.*</exclude>
60                <exclude>sun.*</exclude>
61              </excludes>
62            </configuration>
63          </execution>
64        </executions>
65      </plugin>
66      <plugin>
67        <groupId>org.apache.maven.plugins</groupId>
68        <artifactId>maven-surefire-plugin</artifactId>
69        <configuration>
70          <argLine>${coverageAgent}</argLine>
71        </configuration>
72      </plugin>
73    </plugins>
74  </build>
75</project>
76