xref: /aosp_15_r20/external/jacoco/org.jacoco.tests/pom.xml (revision 7e63c1270baf9bfa84f5b6aecf17bd0c1a75af94)
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/maven-v4_0_0.xsd">
15  <modelVersion>4.0.0</modelVersion>
16
17  <parent>
18    <groupId>org.jacoco</groupId>
19    <artifactId>org.jacoco.build</artifactId>
20    <version>0.8.7</version>
21    <relativePath>../org.jacoco.build</relativePath>
22  </parent>
23
24  <artifactId>org.jacoco.tests</artifactId>
25  <packaging>pom</packaging>
26
27  <name>JaCoCo :: Tests</name>
28
29  <modules>
30    <module>../org.jacoco.core.test</module>
31    <module>../org.jacoco.core.test.validation</module>
32    <module>../org.jacoco.report.test</module>
33    <module>../org.jacoco.agent.rt.test</module>
34    <module>../org.jacoco.agent.test</module>
35    <module>../org.jacoco.ant.test</module>
36    <module>../org.jacoco.cli.test</module>
37    <module>../org.jacoco.examples.test</module>
38    <module>../jacoco-maven-plugin.test</module>
39  </modules>
40
41  <properties>
42    <maven.deploy.skip>true</maven.deploy.skip>
43    <maven.javadoc.skip>true</maven.javadoc.skip>
44    <sonar.skip>true</sonar.skip>
45  </properties>
46
47  <build>
48    <sourceDirectory>src</sourceDirectory>
49
50    <plugins>
51      <plugin>
52        <groupId>org.jacoco</groupId>
53        <artifactId>jacoco-maven-plugin</artifactId>
54        <version>${project.version}</version>
55        <configuration>
56          <exclClassLoaders>sun.reflect.DelegatingClassLoader:org.jacoco.core.test.TargetLoader:org.jacoco.core.test.InstrumentingLoader</exclClassLoaders>
57          <sessionId>${project.artifactId}</sessionId>
58          <includes>
59            <include>${jacoco.includes}</include>
60          </includes>
61          <excludes>
62            <exclude>${jacoco.excludes}</exclude>
63          </excludes>
64        </configuration>
65        <executions>
66          <execution>
67            <goals>
68              <goal>prepare-agent</goal>
69            </goals>
70          </execution>
71        </executions>
72      </plugin>
73    </plugins>
74  </build>
75</project>
76