aboutsummaryrefslogtreecommitdiff
path: root/jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-01-04 08:21:44 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-01-04 08:21:44 +0000
commitb86349ff4782994b7427c888eff3606cf0a114eb (patch)
treec332f0698611501646916ef5a640154f1617646a /jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml
parentc4db59fcfec12cc425e962f4e4874ca117799d53 (diff)
parent78e1300664b7dc9a76d033cd43cb03b0dadd6c1d (diff)
downloadjacoco-b86349ff4782994b7427c888eff3606cf0a114eb.tar.gz
Snap for 4525198 from 78e1300664b7dc9a76d033cd43cb03b0dadd6c1d to pi-release
Change-Id: I31bffe3ff999ab1ee9890ea68b426ddc0f50921d
Diffstat (limited to 'jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml')
-rw-r--r--jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml82
1 files changed, 82 insertions, 0 deletions
diff --git a/jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml b/jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml
new file mode 100644
index 00000000..ecf631fa
--- /dev/null
+++ b/jacoco-maven-plugin.test/it/it-java9-offline-instrumentation/pom.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2009, 2017 Mountainminds GmbH & Co. KG and Contributors
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Evgeny Mandrikov - initial API and implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>jacoco</groupId>
+ <artifactId>setup-parent</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>it-java9-offline-instrumentation</artifactId>
+
+ <dependencies>
+ <dependency>
+ <groupId>@project.groupId@</groupId>
+ <artifactId>org.jacoco.agent</artifactId>
+ <classifier>runtime</classifier>
+ <version>@project.version@</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>9</source>
+ <target>9</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>@project.groupId@</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>instrument-classes</id>
+ <goals>
+ <goal>instrument</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>restore-instrumented-classes</id>
+ <goals>
+ <goal>restore-instrumented-classes</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ <configuration>
+ <dataFile>${project.build.directory}/coverage.exec</dataFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <jacoco-agent.destfile>${project.build.directory}/coverage.exec</jacoco-agent.destfile>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>