1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (c) 2009, 2015 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-customize-agent</artifactId> 23 24 <properties> 25 <jacoco.propertyName>coverageAgent</jacoco.propertyName> 26 <jacoco.destFile>${project.build.directory}/coverage.exec</jacoco.destFile> 27 <jacoco.append>false</jacoco.append> 28 <jacoco.exclClassLoaders>sun.reflect.DelegatingClassLoader:MyClassLoader</jacoco.exclClassLoaders> 29 <jacoco.sessionId>session</jacoco.sessionId> 30 <jacoco.dumpOnExit>true</jacoco.dumpOnExit> 31 <jacoco.output>file</jacoco.output> 32 <jacoco.address>localhost</jacoco.address> 33 <jacoco.port>9999</jacoco.port> 34 <jacoco.classDumpDir>${project.build.directory}/classdumps</jacoco.classDumpDir> 35 </properties> 36 37 <build> 38 <plugins> 39 <plugin> 40 <groupId>@project.groupId@</groupId> 41 <artifactId>jacoco-maven-plugin</artifactId> 42 <executions> 43 <execution> 44 <goals> 45 <goal>prepare-agent</goal> 46 </goals> 47 <configuration> 48 <includes> 49 <include>*</include> 50 </includes> 51 <excludes> 52 <exclude>java.*</exclude> 53 <exclude>sun.*</exclude> 54 </excludes> 55 </configuration> 56 </execution> 57 </executions> 58 </plugin> 59 <plugin> 60 <groupId>org.apache.maven.plugins</groupId> 61 <artifactId>maven-surefire-plugin</artifactId> 62 <configuration> 63 <argLine>${coverageAgent}</argLine> 64 </configuration> 65 </plugin> 66 </plugins> 67 </build> 68 </project> 69