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