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-customization</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>${project.groupId}</groupId> 29 <artifactId>child1</artifactId> 30 <version>${project.version}</version> 31 </dependency> 32 <dependency> 33 <groupId>${project.groupId}</groupId> 34 <artifactId>child2</artifactId> 35 <version>${project.version}</version> 36 </dependency> 37 </dependencies> 38 39 <build> 40 <plugins> 41 <plugin> 42 <groupId>@project.groupId@</groupId> 43 <artifactId>jacoco-maven-plugin</artifactId> 44 <executions> 45 <execution> 46 <id>report-aggregate</id> 47 <phase>verify</phase> 48 <goals> 49 <goal>report-aggregate</goal> 50 </goals> 51 <configuration> 52 <dataFileIncludes> 53 <dataFileInclude>target/*.coverage</dataFileInclude> 54 </dataFileIncludes> 55 <dataFileExcludes> 56 <dataFileExclude>target/child2.coverage</dataFileExclude> 57 </dataFileExcludes> 58 <outputDirectory>target/jacoco-aggregate-customization</outputDirectory> 59 </configuration> 60 </execution> 61 </executions> 62 </plugin> 63 </plugins> 64 </build> 65 66</project> 67