xref: /aosp_15_r20/external/jacoco/jacoco-maven-plugin.test/it/it-site-failsafe/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/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-site-failsafe</artifactId>
24
25  <build>
26    <pluginManagement>
27      <plugins>
28        <plugin>
29          <groupId>org.apache.maven.plugins</groupId>
30          <artifactId>maven-failsafe-plugin</artifactId>
31          <version>2.14.1</version>
32        </plugin>
33        <plugin>
34          <groupId>org.apache.maven.plugins</groupId>
35          <artifactId>maven-surefire-plugin</artifactId>
36          <version>2.14.1</version>
37        </plugin>
38      </plugins>
39    </pluginManagement>
40    <plugins>
41      <plugin>
42        <groupId>@project.groupId@</groupId>
43        <artifactId>jacoco-maven-plugin</artifactId>
44        <executions>
45          <execution>
46            <id>default-prepare-agent</id>
47            <goals>
48              <goal>prepare-agent</goal>
49            </goals>
50          </execution>
51          <execution>
52            <id>default-prepare-agent-integration</id>
53            <goals>
54              <goal>prepare-agent-integration</goal>
55            </goals>
56          </execution>
57          <execution>
58            <id>default-report-integration</id>
59            <goals>
60              <goal>report-integration</goal>
61            </goals>
62          </execution>
63        </executions>
64      </plugin>
65      <plugin>
66        <groupId>org.apache.maven.plugins</groupId>
67        <artifactId>maven-failsafe-plugin</artifactId>
68        <executions>
69            <execution>
70                <id>default-integration-test</id>
71                <goals>
72                    <goal>integration-test</goal>
73                </goals>
74            </execution>
75        </executions>
76      </plugin>
77      <plugin>
78        <groupId>org.apache.maven.plugins</groupId>
79        <artifactId>maven-site-plugin</artifactId>
80        <!-- version 3.3 is needed as 3.2 is not able to produce multiple reports. -->
81        <version>3.3</version>
82      </plugin>
83    </plugins>
84  </build>
85
86  <reporting>
87    <excludeDefaults>true</excludeDefaults>
88    <plugins>
89      <plugin>
90        <groupId>@project.groupId@</groupId>
91        <artifactId>jacoco-maven-plugin</artifactId>
92        <version>@project.version@</version>
93      </plugin>
94    </plugins>
95  </reporting>
96</project>
97