| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2009, 2018 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: |
| Charles Honton |
| --> |
| <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-dump</artifactId> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>@project.groupId@</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <output>tcpserver</output> |
| </configuration> |
| </execution> |
| <execution> |
| <id>dump</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>dump</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- implementation is needed only for Maven 2 --> |
| <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| <element>BUNDLE</element> |
| <limits> |
| <!-- implementation is needed only for Maven 2 --> |
| <limit implementation="org.jacoco.report.check.Limit"> |
| <counter>CLASS</counter> |
| <value>COVEREDCOUNT</value> |
| <minimum>1</minimum> |
| </limit> |
| </limits> |
| </rule> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>launch-server</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <java classname="Server" spawn="true" fork="true"> |
| <classpath refid="maven.runtime.classpath"/> |
| <jvmarg value="${argLine}"/> |
| <arg value="${project.build.directory}/term.txt"/> |
| </java> |
| </target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>stop-server</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <touch file="${project.build.directory}/term.txt" /> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |