1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   Copyright (c) 2009, 2019 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/maven-v4_0_0.xsd">
14  <modelVersion>4.0.0</modelVersion>
15
16  <parent>
17    <groupId>org.jacoco</groupId>
18    <artifactId>org.jacoco.build</artifactId>
19    <version>0.8.4</version>
20    <relativePath>../org.jacoco.build</relativePath>
21  </parent>
22
23  <artifactId>jacoco-maven-plugin</artifactId>
24  <packaging>maven-plugin</packaging>
25
26  <name>JaCoCo :: Maven Plugin</name>
27  <description>The JaCoCo Maven Plugin provides the JaCoCo runtime agent to your tests and allows basic report creation.</description>
28
29  <prerequisites>
30    <maven>3.0</maven>
31  </prerequisites>
32
33  <dependencyManagement>
34    <dependencies>
35      <!-- maven-reporting-impl and slight update of version of its transitive dependency on commons-collections -->
36      <dependency>
37        <groupId>org.apache.maven.reporting</groupId>
38        <artifactId>maven-reporting-impl</artifactId>
39        <version>2.1</version>
40      </dependency>
41      <dependency>
42        <groupId>commons-collections</groupId>
43        <artifactId>commons-collections</artifactId>
44        <version>3.2.2</version>
45      </dependency>
46    </dependencies>
47  </dependencyManagement>
48
49  <dependencies>
50    <dependency>
51      <groupId>org.apache.maven</groupId>
52      <artifactId>maven-plugin-api</artifactId>
53      <version>${project.prerequisites.maven}</version>
54    </dependency>
55    <dependency>
56      <groupId>org.apache.maven</groupId>
57      <artifactId>maven-core</artifactId>
58      <version>${project.prerequisites.maven}</version>
59    </dependency>
60    <dependency>
61      <groupId>org.codehaus.plexus</groupId>
62      <artifactId>plexus-utils</artifactId>
63      <version>3.0.22</version>
64    </dependency>
65    <dependency>
66      <groupId>org.apache.maven.shared</groupId>
67      <artifactId>file-management</artifactId>
68      <version>1.2.1</version>
69    </dependency>
70
71    <dependency>
72      <groupId>org.apache.maven.reporting</groupId>
73      <artifactId>maven-reporting-api</artifactId>
74      <version>${project.prerequisites.maven}</version>
75    </dependency>
76    <dependency>
77      <groupId>org.apache.maven.reporting</groupId>
78      <artifactId>maven-reporting-impl</artifactId>
79    </dependency>
80
81    <dependency>
82      <groupId>${project.groupId}</groupId>
83      <artifactId>org.jacoco.agent</artifactId>
84      <classifier>runtime</classifier>
85    </dependency>
86    <dependency>
87      <groupId>${project.groupId}</groupId>
88      <artifactId>org.jacoco.core</artifactId>
89    </dependency>
90    <dependency>
91      <groupId>${project.groupId}</groupId>
92      <artifactId>org.jacoco.report</artifactId>
93    </dependency>
94
95    <dependency>
96      <groupId>org.apache.maven.plugin-tools</groupId>
97      <artifactId>maven-plugin-annotations</artifactId>
98      <version>3.4</version>
99      <!-- annotations are needed only to build the plugin: -->
100      <scope>provided</scope>
101    </dependency>
102  </dependencies>
103
104  <build>
105    <sourceDirectory>src</sourceDirectory>
106    <resources>
107      <resource>
108        <directory>META-INF</directory>
109        <targetPath>META-INF</targetPath>
110      </resource>
111    </resources>
112
113    <plugins>
114      <plugin>
115        <groupId>org.apache.maven.plugins</groupId>
116        <artifactId>maven-plugin-plugin</artifactId>
117        <executions>
118          <execution>
119            <id>default-descriptor</id>
120            <phase>process-classes</phase>
121          </execution>
122          <execution>
123            <id>help-goal</id>
124            <goals>
125              <goal>helpmojo</goal>
126            </goals>
127          </execution>
128          <execution>
129            <id>report</id>
130            <phase>package</phase>
131            <goals>
132              <goal>report</goal>
133            </goals>
134          </execution>
135        </executions>
136      </plugin>
137    </plugins>
138  </build>
139</project>
140