xref: /aosp_15_r20/external/jacoco/jacoco-maven-plugin.test/it/it-report-aggregate/report/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      Marc R. Hoffmann, Jan Wloka - 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>it-report-aggregate</artifactId>
20    <version>1.0-SNAPSHOT</version>
21  </parent>
22
23  <artifactId>report</artifactId>
24  <name>Aggregate Report</name>
25
26  <dependencies>
27    <dependency>
28      <groupId>jacoco</groupId>
29      <artifactId>child1</artifactId>
30      <version>${project.version}</version>
31      <scope>compile</scope>
32    </dependency>
33    <dependency>
34      <groupId>jacoco</groupId>
35      <artifactId>child1-test</artifactId>
36      <version>${project.version}</version>
37      <scope>test</scope>
38    </dependency>
39    <dependency>
40      <groupId>jacoco</groupId>
41      <artifactId>child2</artifactId>
42      <version>[2-SNAPSHOT,)</version>
43      <scope>runtime</scope>
44    </dependency>
45  </dependencies>
46
47  <build>
48    <plugins>
49      <plugin>
50        <groupId>@project.groupId@</groupId>
51        <artifactId>jacoco-maven-plugin</artifactId>
52        <executions>
53          <execution>
54            <id>report-aggregate</id>
55            <phase>verify</phase>
56            <goals>
57              <goal>report-aggregate</goal>
58            </goals>
59          </execution>
60        </executions>
61      </plugin>
62    </plugins>
63  </build>
64
65</project>
66