|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright (c) 2009, 2012 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 13 | + <modelVersion>4.0.0</modelVersion> |
| 14 | + |
| 15 | + <groupId>org.jacoco</groupId> |
| 16 | + <artifactId>org.jacoco.examples.maven.xtend</artifactId> |
| 17 | + <version>1.0-SNAPSHOT</version> |
| 18 | + <packaging>jar</packaging> |
| 19 | + |
| 20 | + <name>JaCoCo Maven plug-in example for Xtend project</name> |
| 21 | + <url>http://www.eclemma.org/jacoco</url> |
| 22 | + |
| 23 | + <dependencies> |
| 24 | + <dependency> |
| 25 | + <groupId>org.eclipse.xtend</groupId> |
| 26 | + <artifactId>org.eclipse.xtend.lib</artifactId> |
| 27 | + <version>2.3.0</version> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>junit</groupId> |
| 31 | + <artifactId>junit</artifactId> |
| 32 | + <version>4.10</version> |
| 33 | + <scope>test</scope> |
| 34 | + </dependency> |
| 35 | + </dependencies> |
| 36 | + |
| 37 | + <build> |
| 38 | + <sourceDirectory>src/main/xtend</sourceDirectory> |
| 39 | + <testSourceDirectory>src/test/xtend</testSourceDirectory> |
| 40 | + <plugins> |
| 41 | + <plugin> |
| 42 | + <groupId>org.eclipse.xtend</groupId> |
| 43 | + <artifactId>xtend-maven-plugin</artifactId> |
| 44 | + <version>2.3.0</version> |
| 45 | + <executions> |
| 46 | + <execution> |
| 47 | + <goals> |
| 48 | + <goal>compile</goal> |
| 49 | + <goal>testCompile</goal> |
| 50 | + </goals> |
| 51 | + <configuration> |
| 52 | + <outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory> |
| 53 | + <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory> |
| 54 | + </configuration> |
| 55 | + </execution> |
| 56 | + </executions> |
| 57 | + </plugin> |
| 58 | + <plugin> |
| 59 | + <groupId>org.jacoco</groupId> |
| 60 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 61 | + <version>0.5.8.201207111220</version> |
| 62 | + <executions> |
| 63 | + <execution> |
| 64 | + <goals> |
| 65 | + <goal>prepare-agent</goal> |
| 66 | + </goals> |
| 67 | + </execution> |
| 68 | + <execution> |
| 69 | + <id>report</id> |
| 70 | + <phase>prepare-package</phase> |
| 71 | + <goals> |
| 72 | + <goal>report</goal> |
| 73 | + </goals> |
| 74 | + </execution> |
| 75 | + </executions> |
| 76 | + </plugin> |
| 77 | + </plugins> |
| 78 | + </build> |
| 79 | + |
| 80 | + <repositories> |
| 81 | + <repository> |
| 82 | + <id>xtend</id> |
| 83 | + <url>http://build.eclipse.org/common/xtend/maven/</url> |
| 84 | + </repository> |
| 85 | + </repositories> |
| 86 | + <pluginRepositories> |
| 87 | + <pluginRepository> |
| 88 | + <id>xtend</id> |
| 89 | + <url>http://build.eclipse.org/common/xtend/maven/</url> |
| 90 | + </pluginRepository> |
| 91 | + </pluginRepositories> |
| 92 | + |
| 93 | +</project> |
0 commit comments