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" 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.8.4</version> 19 <relativePath>../org.jacoco.build</relativePath> 20 </parent> 21 22 <artifactId>jacoco</artifactId> 23 <packaging>pom</packaging> 24 25 <name>JaCoCo :: Distribution</name> 26 <description>JaCoCo Standalone Distribution</description> 27 28 <dependencies> 29 <dependency> 30 <groupId>${project.groupId}</groupId> 31 <artifactId>org.jacoco.core</artifactId> 32 </dependency> 33 <dependency> 34 <groupId>${project.groupId}</groupId> 35 <artifactId>org.jacoco.report</artifactId> 36 </dependency> 37 <dependency> 38 <groupId>${project.groupId}</groupId> 39 <artifactId>org.jacoco.agent</artifactId> 40 </dependency> 41 <dependency> 42 <groupId>${project.groupId}</groupId> 43 <artifactId>org.jacoco.agent</artifactId> 44 <version>${project.version}</version> 45 <classifier>runtime</classifier> 46 </dependency> 47 <dependency> 48 <groupId>${project.groupId}</groupId> 49 <artifactId>org.jacoco.ant</artifactId> 50 </dependency> 51 <dependency> 52 <groupId>${project.groupId}</groupId> 53 <artifactId>org.jacoco.ant</artifactId> 54 <classifier>nodeps</classifier> 55 </dependency> 56 <dependency> 57 <groupId>${project.groupId}</groupId> 58 <artifactId>org.jacoco.cli</artifactId> 59 <version>${project.version}</version> 60 <classifier>nodeps</classifier> 61 </dependency> 62 <dependency> 63 <groupId>${project.groupId}</groupId> 64 <artifactId>org.jacoco.examples</artifactId> 65 <version>${project.version}</version> 66 <type>zip</type> 67 </dependency> 68 <dependency> 69 <groupId>${project.groupId}</groupId> 70 <artifactId>org.jacoco.doc</artifactId> 71 <version>${project.version}</version> 72 <classifier>javadoc</classifier> 73 </dependency> 74 </dependencies> 75 76 <build> 77 <sourceDirectory>src</sourceDirectory> 78 79 <plugins> 80 <plugin> 81 <groupId>org.apache.maven.plugins</groupId> 82 <artifactId>maven-assembly-plugin</artifactId> 83 <executions> 84 <execution> 85 <phase>package</phase> 86 <goals> 87 <goal>single</goal> 88 </goals> 89 <configuration> 90 <finalName>jacoco-${qualified.bundle.version}</finalName> 91 <appendAssemblyId>false</appendAssemblyId> 92 <descriptors> 93 <descriptor>assembly.xml</descriptor> 94 </descriptors> 95 </configuration> 96 </execution> 97 </executions> 98 </plugin> 99 100 <plugin> 101 <groupId>org.apache.maven.plugins</groupId> 102 <artifactId>maven-enforcer-plugin</artifactId> 103 <executions> 104 <execution> 105 <id>enforce-distribution-size</id> 106 <goals> 107 <goal>enforce</goal> 108 </goals> 109 <phase>verify</phase> 110 <configuration> 111 <rules> 112 <requireFilesSize> 113 <maxsize>4400000</maxsize> 114 <minsize>3400000</minsize> 115 <files> 116 <file>${project.build.directory}/jacoco-${qualified.bundle.version}.zip</file> 117 </files> 118 </requireFilesSize> 119 </rules> 120 </configuration> 121 </execution> 122 </executions> 123 </plugin> 124 </plugins> 125 </build> 126</project> 127