1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2011, Ketan Padegaonkar <KetanPadegaonkar@gmail.com> and others 4 5 This program and the accompanying materials are made available under the 6 terms of the Eclipse Distribution License v. 1.0 which is available at 7 http://www.eclipse.org/org/documents/edl-v10.php. 8 9 SPDX-License-Identifier: BSD-3-Clause 10--> 11<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 12 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.eclipse.jgit</groupId> 17 <artifactId>org.eclipse.jgit-parent</artifactId> 18 <version>5.13.0-SNAPSHOT</version> 19 </parent> 20 21 <artifactId>org.eclipse.jgit.ant</artifactId> 22 <name>JGit - Ant Tasks</name> 23 24 <description>Ant based user interface for Git</description> 25 26 <properties> 27 <translate-qualifier /> 28 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest> 29 </properties> 30 31 <dependencies> 32 <dependency> 33 <groupId>org.eclipse.jgit</groupId> 34 <artifactId>org.eclipse.jgit</artifactId> 35 <version>${project.version}</version> 36 </dependency> 37 38 <dependency> 39 <groupId>org.apache.ant</groupId> 40 <artifactId>ant</artifactId> 41 <version>1.10.10</version> 42 </dependency> 43 </dependencies> 44 45 <build> 46 <sourceDirectory>src/</sourceDirectory> 47 48 <resources> 49 <resource> 50 <directory>.</directory> 51 <includes> 52 <include>plugin.properties</include> 53 <include>about.html</include> 54 </includes> 55 </resource> 56 <resource> 57 <directory>resources/</directory> 58 </resource> 59 </resources> 60 61 <plugins> 62 <plugin> 63 <groupId>org.apache.maven.plugins</groupId> 64 <artifactId>maven-antrun-plugin</artifactId> 65 <executions> 66 <execution> 67 <id>translate-source-qualifier</id> 68 <phase>generate-resources</phase> 69 <configuration> 70 <target> 71 <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/> 72 <replace file="${source-bundle-manifest}"> 73 <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/> 74 </replace> 75 </target> 76 </configuration> 77 <goals> 78 <goal>run</goal> 79 </goals> 80 </execution> 81 </executions> 82 </plugin> 83 84 <plugin> 85 <groupId>org.apache.maven.plugins</groupId> 86 <artifactId>maven-source-plugin</artifactId> 87 <inherited>true</inherited> 88 <executions> 89 <execution> 90 <id>attach-sources</id> 91 <phase>process-classes</phase> 92 <goals> 93 <goal>jar</goal> 94 </goals> 95 <configuration> 96 <archive> 97 <manifestFile>${source-bundle-manifest}</manifestFile> 98 </archive> 99 </configuration> 100 </execution> 101 </executions> 102 </plugin> 103 104 <plugin> 105 <artifactId>maven-jar-plugin</artifactId> 106 <configuration> 107 <archive> 108 <manifestFile>${bundle-manifest}</manifestFile> 109 </archive> 110 </configuration> 111 </plugin> 112 113 <plugin> 114 <groupId>com.github.siom79.japicmp</groupId> 115 <artifactId>japicmp-maven-plugin</artifactId> 116 <version>${japicmp-version}</version> 117 <configuration> 118 <oldVersion> 119 <dependency> 120 <groupId>${project.groupId}</groupId> 121 <artifactId>${project.artifactId}</artifactId> 122 <version>${jgit-last-release-version}</version> 123 </dependency> 124 </oldVersion> 125 <newVersion> 126 <file> 127 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> 128 </file> 129 </newVersion> 130 <parameter> 131 <onlyModified>true</onlyModified> 132 <includes> 133 <include>org.eclipse.jgit.*</include> 134 </includes> 135 <accessModifier>public</accessModifier> 136 <breakBuildOnModifications>false</breakBuildOnModifications> 137 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> 138 <onlyBinaryIncompatible>false</onlyBinaryIncompatible> 139 <includeSynthetic>false</includeSynthetic> 140 <ignoreMissingClasses>false</ignoreMissingClasses> 141 <skipPomModules>true</skipPomModules> 142 </parameter> 143 <skip>false</skip> 144 </configuration> 145 <executions> 146 <execution> 147 <phase>verify</phase> 148 <goals> 149 <goal>cmp</goal> 150 </goals> 151 </execution> 152 </executions> 153 </plugin> 154 </plugins> 155 </build> 156 157 <reporting> 158 <plugins> 159 <plugin> 160 <groupId>com.github.siom79.japicmp</groupId> 161 <artifactId>japicmp-maven-plugin</artifactId> 162 <version>${japicmp-version}</version> 163 <reportSets> 164 <reportSet> 165 <reports> 166 <report>cmp-report</report> 167 </reports> 168 </reportSet> 169 </reportSets> 170 <configuration> 171 <oldVersion> 172 <dependency> 173 <groupId>${project.groupId}</groupId> 174 <artifactId>${project.artifactId}</artifactId> 175 <version>${jgit-last-release-version}</version> 176 </dependency> 177 </oldVersion> 178 <newVersion> 179 <file> 180 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> 181 </file> 182 </newVersion> 183 <parameter> 184 <onlyModified>true</onlyModified> 185 <includes> 186 <include>org.eclipse.jgit.*</include> 187 </includes> 188 <accessModifier>public</accessModifier> 189 <breakBuildOnModifications>false</breakBuildOnModifications> 190 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> 191 <onlyBinaryIncompatible>false</onlyBinaryIncompatible> 192 <includeSynthetic>false</includeSynthetic> 193 <ignoreMissingClasses>false</ignoreMissingClasses> 194 <skipPomModules>true</skipPomModules> 195 </parameter> 196 <skip>false</skip> 197 </configuration> 198 </plugin> 199 </plugins> 200 </reporting> 201</project> 202