• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   Copyright (c) 2009, 2018 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  </parent>
21
22  <artifactId>it-customize-agent</artifactId>
23
24  <properties>
25    <jacoco.propertyName>coverageAgent</jacoco.propertyName>
26    <jacoco.destFile>${project.build.directory}/coverage.exec</jacoco.destFile>
27    <jacoco.append>false</jacoco.append>
28    <jacoco.exclClassLoaders>sun.reflect.DelegatingClassLoader:MyClassLoader</jacoco.exclClassLoaders>
29    <jacoco.inclBootstrapClasses>true</jacoco.inclBootstrapClasses>
30    <jacoco.inclNoLocationClasses>true</jacoco.inclNoLocationClasses>
31    <jacoco.sessionId>session</jacoco.sessionId>
32    <jacoco.dumpOnExit>true</jacoco.dumpOnExit>
33    <jacoco.output>file</jacoco.output>
34    <jacoco.address>localhost</jacoco.address>
35    <jacoco.port>9999</jacoco.port>
36    <jacoco.classDumpDir>${project.build.directory}/classdumps</jacoco.classDumpDir>
37    <jacoco.jmx>true</jacoco.jmx>
38
39    <jacoco.dataFile>${jacoco.destFile}</jacoco.dataFile>
40  </properties>
41
42  <build>
43    <plugins>
44      <plugin>
45        <groupId>@project.groupId@</groupId>
46        <artifactId>jacoco-maven-plugin</artifactId>
47        <executions>
48          <execution>
49            <goals>
50              <goal>prepare-agent</goal>
51              <goal>report</goal>
52            </goals>
53            <configuration>
54              <includes>
55                <include>*</include>
56              </includes>
57              <excludes>
58                <exclude>java.*</exclude>
59                <exclude>sun.*</exclude>
60              </excludes>
61            </configuration>
62          </execution>
63        </executions>
64      </plugin>
65      <plugin>
66        <groupId>org.apache.maven.plugins</groupId>
67        <artifactId>maven-surefire-plugin</artifactId>
68        <configuration>
69          <argLine>${coverageAgent}</argLine>
70        </configuration>
71      </plugin>
72    </plugins>
73  </build>
74</project>
75