You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2020, Matthias Sohn <matthias.sohn@sap.com> and others
  4. This program and the accompanying materials are made available under the
  5. terms of the Eclipse Distribution License v. 1.0 which is available at
  6. http://www.eclipse.org/org/documents/edl-v10.php.
  7. SPDX-License-Identifier: BSD-3-Clause
  8. -->
  9. <project xmlns="http://maven.apache.org/POM/4.0.0"
  10. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  12. <modelVersion>4.0.0</modelVersion>
  13. <parent>
  14. <groupId>org.eclipse.jgit</groupId>
  15. <artifactId>org.eclipse.jgit-parent</artifactId>
  16. <version>5.13.0-SNAPSHOT</version>
  17. </parent>
  18. <artifactId>org.eclipse.jgit.gpg.bc</artifactId>
  19. <name>JGit - BouncyCastle-based GPG support</name>
  20. <description>
  21. GPG support for JGit based on BouncyCastle
  22. </description>
  23. <properties>
  24. <translate-qualifier/>
  25. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.eclipse.jgit</groupId>
  30. <artifactId>org.eclipse.jgit</artifactId>
  31. <version>${project.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.bouncycastle</groupId>
  35. <artifactId>bcpg-jdk15on</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.bouncycastle</groupId>
  39. <artifactId>bcprov-jdk15on</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.bouncycastle</groupId>
  43. <artifactId>bcpkix-jdk15on</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.slf4j</groupId>
  47. <artifactId>slf4j-api</artifactId>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <sourceDirectory>src/</sourceDirectory>
  52. <resources>
  53. <resource>
  54. <directory>.</directory>
  55. <includes>
  56. <include>plugin.properties</include>
  57. <include>about.html</include>
  58. </includes>
  59. </resource>
  60. <resource>
  61. <directory>resources/</directory>
  62. </resource>
  63. </resources>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-antrun-plugin</artifactId>
  68. <executions>
  69. <execution>
  70. <id>translate-source-qualifier</id>
  71. <phase>generate-resources</phase>
  72. <configuration>
  73. <target>
  74. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" />
  75. <replace file="${source-bundle-manifest}">
  76. <replacefilter token=".qualifier" value=".${maven.build.timestamp}" />
  77. </replace>
  78. </target>
  79. </configuration>
  80. <goals>
  81. <goal>run</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-source-plugin</artifactId>
  89. <inherited>true</inherited>
  90. <executions>
  91. <execution>
  92. <id>attach-sources</id>
  93. <phase>process-classes</phase>
  94. <goals>
  95. <goal>jar</goal>
  96. </goals>
  97. <configuration>
  98. <archive>
  99. <manifestFile>${source-bundle-manifest}</manifestFile>
  100. </archive>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <artifactId>maven-jar-plugin</artifactId>
  107. <configuration>
  108. <archive>
  109. <manifestFile>${bundle-manifest}</manifestFile>
  110. </archive>
  111. </configuration>
  112. </plugin>
  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. <reporting>
  157. <plugins>
  158. <plugin>
  159. <groupId>com.github.siom79.japicmp</groupId>
  160. <artifactId>japicmp-maven-plugin</artifactId>
  161. <version>${japicmp-version}</version>
  162. <reportSets>
  163. <reportSet>
  164. <reports>
  165. <report>cmp-report</report>
  166. </reports>
  167. </reportSet>
  168. </reportSets>
  169. <configuration>
  170. <oldVersion>
  171. <dependency>
  172. <groupId>${project.groupId}</groupId>
  173. <artifactId>${project.artifactId}</artifactId>
  174. <version>${jgit-last-release-version}</version>
  175. </dependency>
  176. </oldVersion>
  177. <newVersion>
  178. <file>
  179. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  180. </file>
  181. </newVersion>
  182. <parameter>
  183. <onlyModified>true</onlyModified>
  184. <includes>
  185. <include>org.eclipse.jgit.*</include>
  186. </includes>
  187. <accessModifier>public</accessModifier>
  188. <breakBuildOnModifications>false</breakBuildOnModifications>
  189. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  190. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  191. <includeSynthetic>false</includeSynthetic>
  192. <ignoreMissingClasses>false</ignoreMissingClasses>
  193. <skipPomModules>true</skipPomModules>
  194. </parameter>
  195. <skip>false</skip>
  196. </configuration>
  197. </plugin>
  198. </plugins>
  199. </reporting>
  200. </project>