pom.xml revision d3dd13c831bb5f6ad9fb6e2789c672ad5caebbda
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/maven-v4_0_0.xsd"> 13 <modelVersion>4.0.0</modelVersion> 14 15 <parent> 16 <groupId>org.jacoco</groupId> 17 <artifactId>org.jacoco.build</artifactId> 18 <version>0.5.10.201208310627</version> 19 <relativePath>/org.jacoco.build</relativePath> 20 </parent> 21 22 <artifactId>org.jacoco.core</artifactId> 23 <packaging>eclipse-plugin</packaging> 24 25 <name>JaCoCo :: Core</name> 26 <description>JaCoCo Core</description> 27 28 <!-- Note that Tycho doesn't use those dependencies, but we need to declare them for consumers --> 29 <dependencies> 30 <dependency> 31 <groupId>asm</groupId> 32 <artifactId>asm</artifactId> 33 </dependency> 34 <dependency> 35 <groupId>asm</groupId> 36 <artifactId>asm-commons</artifactId> 37 </dependency> 38 </dependencies> 39 40 <build> 41 <sourceDirectory>src</sourceDirectory> 42 43 <plugins> 44 <!-- We can't define qualified.bundle.version as a project property, because buildQualifier constructed after reading POM by tycho-packaging-plugin --> 45 <!-- but we need it for resource filtering in compliance with Ant build, so here is workaround --> 46 <plugin> 47 <groupId>org.codehaus.groovy.maven</groupId> 48 <artifactId>gmaven-plugin</artifactId> 49 <executions> 50 <execution> 51 <phase>validate</phase> 52 <goals> 53 <goal>execute</goal> 54 </goals> 55 <configuration> 56 <source> 57 project.properties['qualified.bundle.version'] = project.properties['unqualifiedVersion'] + '.' + project.properties['buildQualifier'] 58 </source> 59 </configuration> 60 </execution> 61 </executions> 62 </plugin> 63 </plugins> 64 </build> 65</project> 66