• 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"
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.7.5.201505241946</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>1.5.6</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  </dependencies>
80
81  <build>
82    <sourceDirectory>src</sourceDirectory>
83    <resources>
84      <resource>
85        <directory>META-INF</directory>
86        <targetPath>META-INF</targetPath>
87      </resource>
88    </resources>
89
90    <plugins>
91      <plugin>
92        <groupId>org.apache.maven.plugins</groupId>
93        <artifactId>maven-javadoc-plugin</artifactId>
94        <configuration>
95          <tagletArtifacts>
96            <tagletArtifact>
97              <groupId>org.apache.maven.plugin-tools</groupId>
98              <artifactId>maven-plugin-tools-javadoc</artifactId>
99              <version>2.8</version>
100            </tagletArtifact>
101          </tagletArtifacts>
102        </configuration>
103      </plugin>
104      <plugin>
105        <groupId>org.apache.maven.plugins</groupId>
106        <artifactId>maven-plugin-plugin</artifactId>
107        <executions>
108          <execution>
109            <id>help-mojo</id>
110            <goals>
111              <goal>helpmojo</goal>
112            </goals>
113          </execution>
114          <execution>
115            <id>report</id>
116            <phase>package</phase>
117            <goals>
118              <goal>report</goal>
119            </goals>
120          </execution>
121        </executions>
122      </plugin>
123    </plugins>
124  </build>
125</project>
126