• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3   Copyright (c) 2009, 2018 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.0</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>2.2.1</maven>
31  </prerequisites>
32
33  <dependencies>
34    <dependency>
35      <groupId>org.apache.maven</groupId>
36      <artifactId>maven-plugin-api</artifactId>
37      <version>${project.prerequisites.maven}</version>
38    </dependency>
39    <dependency>
40      <groupId>org.apache.maven</groupId>
41      <artifactId>maven-project</artifactId>
42      <version>${project.prerequisites.maven}</version>
43    </dependency>
44    <dependency>
45      <groupId>org.codehaus.plexus</groupId>
46      <artifactId>plexus-utils</artifactId>
47      <version>3.0.22</version>
48    </dependency>
49    <dependency>
50      <groupId>org.apache.maven.shared</groupId>
51      <artifactId>file-management</artifactId>
52      <version>1.2.1</version>
53    </dependency>
54
55    <dependency>
56      <groupId>org.apache.maven.reporting</groupId>
57      <artifactId>maven-reporting-api</artifactId>
58      <version>${project.prerequisites.maven}</version>
59    </dependency>
60    <dependency>
61      <groupId>org.apache.maven.reporting</groupId>
62      <artifactId>maven-reporting-impl</artifactId>
63      <version>2.1</version>
64    </dependency>
65
66    <dependency>
67      <groupId>${project.groupId}</groupId>
68      <artifactId>org.jacoco.agent</artifactId>
69      <classifier>runtime</classifier>
70    </dependency>
71    <dependency>
72      <groupId>${project.groupId}</groupId>
73      <artifactId>org.jacoco.core</artifactId>
74    </dependency>
75    <dependency>
76      <groupId>${project.groupId}</groupId>
77      <artifactId>org.jacoco.report</artifactId>
78    </dependency>
79
80    <dependency>
81      <groupId>org.apache.maven.plugin-tools</groupId>
82      <artifactId>maven-plugin-annotations</artifactId>
83      <version>3.4</version>
84      <!-- annotations are needed only to build the plugin: -->
85      <scope>provided</scope>
86    </dependency>
87  </dependencies>
88
89  <build>
90    <sourceDirectory>src</sourceDirectory>
91    <resources>
92      <resource>
93        <directory>META-INF</directory>
94        <targetPath>META-INF</targetPath>
95      </resource>
96    </resources>
97
98    <plugins>
99      <plugin>
100        <groupId>org.apache.maven.plugins</groupId>
101        <artifactId>maven-javadoc-plugin</artifactId>
102        <configuration>
103          <tagletArtifacts>
104            <tagletArtifact>
105              <groupId>org.apache.maven.plugin-tools</groupId>
106              <artifactId>maven-plugin-tools-javadoc</artifactId>
107              <version>2.8</version>
108            </tagletArtifact>
109          </tagletArtifacts>
110        </configuration>
111      </plugin>
112      <plugin>
113        <groupId>org.apache.maven.plugins</groupId>
114        <artifactId>maven-plugin-plugin</artifactId>
115        <executions>
116          <execution>
117            <id>default-descriptor</id>
118            <phase>process-classes</phase>
119          </execution>
120          <execution>
121            <id>help-goal</id>
122            <goals>
123              <goal>helpmojo</goal>
124            </goals>
125          </execution>
126          <execution>
127            <id>report</id>
128            <phase>package</phase>
129            <goals>
130              <goal>report</goal>
131            </goals>
132          </execution>
133        </executions>
134      </plugin>
135    </plugins>
136  </build>
137</project>
138