• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   Copyright (c) 2009, 2017 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      Evgeny Mandrikov - 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>setup-parent</artifactId>
19    <version>1.0-SNAPSHOT</version>
20  </parent>
21
22  <artifactId>it-multiple-executions</artifactId>
23
24  <properties>
25    <!-- Make sure we actually prepend existing args-->
26    <argLine>"-Da=\"1\"" -Db=2</argLine>
27  </properties>
28
29  <build>
30    <plugins>
31      <plugin>
32        <groupId>@project.groupId@</groupId>
33        <artifactId>jacoco-maven-plugin</artifactId>
34        <executions>
35          <execution>
36            <id>first</id>
37            <goals>
38              <goal>prepare-agent</goal>
39            </goals>
40            <configuration>
41              <destFile>${project.build.directory}/nospace.exec</destFile>
42            </configuration>
43          </execution>
44          <execution>
45            <id>second</id>
46            <goals>
47              <goal>prepare-agent</goal>
48            </goals>
49            <configuration>
50              <destFile>${project.build.directory}/with space.exec</destFile>
51              <sessionId>"my" session</sessionId>
52            </configuration>
53          </execution>
54          <execution>
55            <id>third</id>
56            <goals>
57              <goal>prepare-agent</goal>
58            </goals>
59            <configuration>
60              <destFile>${project.build.directory}/third.exec</destFile>
61            </configuration>
62          </execution>
63        </executions>
64      </plugin>
65    </plugins>
66  </build>
67</project>
68