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-multiple-executions</artifactId> 24 25 <properties> 26 <!-- Make sure we actually prepend existing args--> 27 <argLine>"-Da=\"1\"" -Db=2</argLine> 28 </properties> 29 30 <build> 31 <plugins> 32 <plugin> 33 <groupId>@project.groupId@</groupId> 34 <artifactId>jacoco-maven-plugin</artifactId> 35 <executions> 36 <execution> 37 <id>first</id> 38 <goals> 39 <goal>prepare-agent</goal> 40 </goals> 41 <configuration> 42 <destFile>${project.build.directory}/nospace.exec</destFile> 43 </configuration> 44 </execution> 45 <execution> 46 <id>second</id> 47 <goals> 48 <goal>prepare-agent</goal> 49 </goals> 50 <configuration> 51 <destFile>${project.build.directory}/with space.exec</destFile> 52 <sessionId>"my" session</sessionId> 53 </configuration> 54 </execution> 55 <execution> 56 <id>third</id> 57 <goals> 58 <goal>prepare-agent</goal> 59 </goals> 60 <configuration> 61 <destFile>${project.build.directory}/third.exec</destFile> 62 </configuration> 63 </execution> 64 </executions> 65 </plugin> 66 </plugins> 67 </build> 68</project> 69