| <?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-offline-instrumentation</artifactId> |
| <packaging>pom</packaging> |
| |
| <modules> |
| <module>child</module> |
| <module>child-without-main-classes</module> |
| </modules> |
| |
| <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>@project.groupId@</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>instrument-classes</id> |
| <goals> |
| <goal>instrument</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>**/DoNotInstrument.class</exclude> |
| </excludes> |
| </configuration> |
| </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> |