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