• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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" 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.7.5.201505241946</version>
19    <relativePath>../org.jacoco.build</relativePath>
20  </parent>
21
22  <artifactId>org.jacoco.ant</artifactId>
23
24  <name>JaCoCo :: Ant</name>
25  <description>JaCoCo Ant Tasks</description>
26
27  <dependencies>
28    <dependency>
29      <groupId>${project.groupId}</groupId>
30      <artifactId>org.jacoco.core</artifactId>
31    </dependency>
32    <dependency>
33      <groupId>${project.groupId}</groupId>
34      <artifactId>org.jacoco.report</artifactId>
35    </dependency>
36    <dependency>
37      <groupId>${project.groupId}</groupId>
38      <artifactId>org.jacoco.agent</artifactId>
39    </dependency>
40    <dependency>
41      <groupId>org.apache.ant</groupId>
42      <artifactId>ant</artifactId>
43      <scope>provided</scope>
44    </dependency>
45  </dependencies>
46
47  <build>
48    <sourceDirectory>src</sourceDirectory>
49
50    <plugins>
51      <plugin>
52        <groupId>org.apache.maven.plugins</groupId>
53        <artifactId>maven-shade-plugin</artifactId>
54        <executions>
55          <execution>
56            <phase>package</phase>
57            <goals>
58              <goal>shade</goal>
59            </goals>
60            <configuration>
61              <shadedArtifactAttached>true</shadedArtifactAttached>
62              <shadedClassifierName>nodeps</shadedClassifierName>
63              <minimizeJar>true</minimizeJar>
64              <relocations>
65                <relocation>
66                  <pattern>org.objectweb.asm</pattern>
67                  <shadedPattern>org.jacoco.asm</shadedPattern>
68                </relocation>
69              </relocations>
70            </configuration>
71          </execution>
72        </executions>
73      </plugin>
74    </plugins>
75  </build>
76</project>
77