1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors 4 This program and the accompanying materials are made available under 5 the terms of the Eclipse Public License 2.0 which is available at 6 http://www.eclipse.org/legal/epl-2.0 7 8 SPDX-License-Identifier: EPL-2.0 9 10 Contributors: 11 Evgeny Mandrikov - initial API and implementation 12--> 13<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 15 <modelVersion>4.0.0</modelVersion> 16 17 <parent> 18 <groupId>org.jacoco</groupId> 19 <artifactId>org.jacoco.build</artifactId> 20 <version>0.8.7</version> 21 <relativePath>../org.jacoco.build</relativePath> 22 </parent> 23 24 <artifactId>jacoco-maven-plugin</artifactId> 25 <packaging>maven-plugin</packaging> 26 <url>https://www.jacoco.org/jacoco/trunk/doc/maven.html</url> 27 28 <name>JaCoCo :: Maven Plugin</name> 29 <description>The JaCoCo Maven Plugin provides the JaCoCo runtime agent to your tests and allows basic report creation.</description> 30 31 <prerequisites> 32 <maven>3.0</maven> 33 </prerequisites> 34 35 <dependencies> 36 <dependency> 37 <groupId>org.apache.maven</groupId> 38 <artifactId>maven-plugin-api</artifactId> 39 <version>${project.prerequisites.maven}</version> 40 </dependency> 41 <dependency> 42 <groupId>org.apache.maven</groupId> 43 <artifactId>maven-core</artifactId> 44 <version>${project.prerequisites.maven}</version> 45 </dependency> 46 <dependency> 47 <groupId>org.codehaus.plexus</groupId> 48 <artifactId>plexus-utils</artifactId> 49 <version>3.0.22</version> 50 </dependency> 51 <dependency> 52 <groupId>org.apache.maven.shared</groupId> 53 <artifactId>file-management</artifactId> 54 <version>1.2.1</version> 55 </dependency> 56 57 <dependency> 58 <groupId>org.apache.maven.reporting</groupId> 59 <artifactId>maven-reporting-api</artifactId> 60 <version>${project.prerequisites.maven}</version> 61 </dependency> 62 63 <dependency> 64 <groupId>${project.groupId}</groupId> 65 <artifactId>org.jacoco.agent</artifactId> 66 <classifier>runtime</classifier> 67 </dependency> 68 <dependency> 69 <groupId>${project.groupId}</groupId> 70 <artifactId>org.jacoco.core</artifactId> 71 </dependency> 72 <dependency> 73 <groupId>${project.groupId}</groupId> 74 <artifactId>org.jacoco.report</artifactId> 75 </dependency> 76 77 <dependency> 78 <groupId>org.apache.maven.plugin-tools</groupId> 79 <artifactId>maven-plugin-annotations</artifactId> 80 <version>3.4</version> 81 <!-- annotations are needed only to build the plugin: --> 82 <scope>provided</scope> 83 </dependency> 84 </dependencies> 85 86 <build> 87 <sourceDirectory>src</sourceDirectory> 88 <resources> 89 <resource> 90 <directory>META-INF</directory> 91 <targetPath>META-INF</targetPath> 92 </resource> 93 </resources> 94 95 <plugins> 96 <plugin> 97 <groupId>org.apache.maven.plugins</groupId> 98 <artifactId>maven-plugin-plugin</artifactId> 99 <executions> 100 <execution> 101 <id>default-descriptor</id> 102 <phase>process-classes</phase> 103 </execution> 104 <execution> 105 <id>help-goal</id> 106 <goals> 107 <goal>helpmojo</goal> 108 </goals> 109 </execution> 110 <execution> 111 <id>report</id> 112 <phase>package</phase> 113 <goals> 114 <goal>report</goal> 115 </goals> 116 </execution> 117 </executions> 118 </plugin> 119 </plugins> 120 </build> 121</project> 122