1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2020, Matthias Sohn <matthias.sohn@sap.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 12<project xmlns="http://maven.apache.org/POM/4.0.0" 13 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.eclipse.jgit</groupId> 19 <artifactId>org.eclipse.jgit-parent</artifactId> 20 <version>5.13.0-SNAPSHOT</version> 21 </parent> 22 23 <artifactId>org.eclipse.jgit.gpg.bc</artifactId> 24 <name>JGit - BouncyCastle-based GPG support</name> 25 26 <description> 27 GPG support for JGit based on BouncyCastle 28 </description> 29 30 <properties> 31 <translate-qualifier/> 32 <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest> 33 </properties> 34 35 <dependencies> 36 <dependency> 37 <groupId>org.eclipse.jgit</groupId> 38 <artifactId>org.eclipse.jgit</artifactId> 39 <version>${project.version}</version> 40 </dependency> 41 42 <dependency> 43 <groupId>org.bouncycastle</groupId> 44 <artifactId>bcpg-jdk15on</artifactId> 45 </dependency> 46 47 <dependency> 48 <groupId>org.bouncycastle</groupId> 49 <artifactId>bcprov-jdk15on</artifactId> 50 </dependency> 51 52 <dependency> 53 <groupId>org.bouncycastle</groupId> 54 <artifactId>bcpkix-jdk15on</artifactId> 55 </dependency> 56 57 <dependency> 58 <groupId>org.slf4j</groupId> 59 <artifactId>slf4j-api</artifactId> 60 </dependency> 61 </dependencies> 62 63 <build> 64 <sourceDirectory>src/</sourceDirectory> 65 66 <resources> 67 <resource> 68 <directory>.</directory> 69 <includes> 70 <include>plugin.properties</include> 71 <include>about.html</include> 72 </includes> 73 </resource> 74 <resource> 75 <directory>resources/</directory> 76 </resource> 77 </resources> 78 79 <plugins> 80 <plugin> 81 <groupId>org.apache.maven.plugins</groupId> 82 <artifactId>maven-antrun-plugin</artifactId> 83 <executions> 84 <execution> 85 <id>translate-source-qualifier</id> 86 <phase>generate-resources</phase> 87 <configuration> 88 <target> 89 <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" /> 90 <replace file="${source-bundle-manifest}"> 91 <replacefilter token=".qualifier" value=".${maven.build.timestamp}" /> 92 </replace> 93 </target> 94 </configuration> 95 <goals> 96 <goal>run</goal> 97 </goals> 98 </execution> 99 </executions> 100 </plugin> 101 102 <plugin> 103 <groupId>org.apache.maven.plugins</groupId> 104 <artifactId>maven-source-plugin</artifactId> 105 <inherited>true</inherited> 106 <executions> 107 <execution> 108 <id>attach-sources</id> 109 <phase>process-classes</phase> 110 <goals> 111 <goal>jar</goal> 112 </goals> 113 <configuration> 114 <archive> 115 <manifestFile>${source-bundle-manifest}</manifestFile> 116 </archive> 117 </configuration> 118 </execution> 119 </executions> 120 </plugin> 121 122 <plugin> 123 <artifactId>maven-jar-plugin</artifactId> 124 <configuration> 125 <archive> 126 <manifestFile>${bundle-manifest}</manifestFile> 127 </archive> 128 </configuration> 129 </plugin> 130 131 <plugin> 132 <groupId>com.github.siom79.japicmp</groupId> 133 <artifactId>japicmp-maven-plugin</artifactId> 134 <version>${japicmp-version}</version> 135 <configuration> 136 <oldVersion> 137 <dependency> 138 <groupId>${project.groupId}</groupId> 139 <artifactId>${project.artifactId}</artifactId> 140 <version>${jgit-last-release-version}</version> 141 </dependency> 142 </oldVersion> 143 <newVersion> 144 <file> 145 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> 146 </file> 147 </newVersion> 148 <parameter> 149 <onlyModified>true</onlyModified> 150 <includes> 151 <include>org.eclipse.jgit.*</include> 152 </includes> 153 <accessModifier>public</accessModifier> 154 <breakBuildOnModifications>false</breakBuildOnModifications> 155 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> 156 <onlyBinaryIncompatible>false</onlyBinaryIncompatible> 157 <includeSynthetic>false</includeSynthetic> 158 <ignoreMissingClasses>false</ignoreMissingClasses> 159 <skipPomModules>true</skipPomModules> 160 </parameter> 161 <skip>false</skip> 162 </configuration> 163 <executions> 164 <execution> 165 <phase>verify</phase> 166 <goals> 167 <goal>cmp</goal> 168 </goals> 169 </execution> 170 </executions> 171 </plugin> 172 </plugins> 173 </build> 174 175 <reporting> 176 <plugins> 177 <plugin> 178 <groupId>com.github.siom79.japicmp</groupId> 179 <artifactId>japicmp-maven-plugin</artifactId> 180 <version>${japicmp-version}</version> 181 <reportSets> 182 <reportSet> 183 <reports> 184 <report>cmp-report</report> 185 </reports> 186 </reportSet> 187 </reportSets> 188 <configuration> 189 <oldVersion> 190 <dependency> 191 <groupId>${project.groupId}</groupId> 192 <artifactId>${project.artifactId}</artifactId> 193 <version>${jgit-last-release-version}</version> 194 </dependency> 195 </oldVersion> 196 <newVersion> 197 <file> 198 <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> 199 </file> 200 </newVersion> 201 <parameter> 202 <onlyModified>true</onlyModified> 203 <includes> 204 <include>org.eclipse.jgit.*</include> 205 </includes> 206 <accessModifier>public</accessModifier> 207 <breakBuildOnModifications>false</breakBuildOnModifications> 208 <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications> 209 <onlyBinaryIncompatible>false</onlyBinaryIncompatible> 210 <includeSynthetic>false</includeSynthetic> 211 <ignoreMissingClasses>false</ignoreMissingClasses> 212 <skipPomModules>true</skipPomModules> 213 </parameter> 214 <skip>false</skip> 215 </configuration> 216 </plugin> 217 </plugins> 218 </reporting> 219</project> 220