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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.8.2-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. <!-- No previous version to compare to
  114. <plugin>
  115. <groupId>com.github.siom79.japicmp</groupId>
  116. <artifactId>japicmp-maven-plugin</artifactId>
  117. <version>${japicmp-version}</version>
  118. <configuration>
  119. <oldVersion>
  120. <dependency>
  121. <groupId>${project.groupId}</groupId>
  122. <artifactId>${project.artifactId}</artifactId>
  123. <version>${jgit-last-release-version}</version>
  124. </dependency>
  125. </oldVersion>
  126. <newVersion>
  127. <file>
  128. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  129. </file>
  130. </newVersion>
  131. <parameter>
  132. <onlyModified>true</onlyModified>
  133. <includes>
  134. <include>org.eclipse.jgit.*</include>
  135. </includes>
  136. <accessModifier>public</accessModifier>
  137. <breakBuildOnModifications>false</breakBuildOnModifications>
  138. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  139. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  140. <includeSynthetic>false</includeSynthetic>
  141. <ignoreMissingClasses>false</ignoreMissingClasses>
  142. <skipPomModules>true</skipPomModules>
  143. </parameter>
  144. <skip>false</skip>
  145. </configuration>
  146. <executions>
  147. <execution>
  148. <phase>verify</phase>
  149. <goals>
  150. <goal>cmp</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. -->
  156. </plugins>
  157. </build>
  158. <reporting>
  159. <plugins>
  160. <!-- No previous version to compare to
  161. <plugin>
  162. <groupId>com.github.siom79.japicmp</groupId>
  163. <artifactId>japicmp-maven-plugin</artifactId>
  164. <version>${japicmp-version}</version>
  165. <reportSets>
  166. <reportSet>
  167. <reports>
  168. <report>cmp-report</report>
  169. </reports>
  170. </reportSet>
  171. </reportSets>
  172. <configuration>
  173. <oldVersion>
  174. <dependency>
  175. <groupId>${project.groupId}</groupId>
  176. <artifactId>${project.artifactId}</artifactId>
  177. <version>${jgit-last-release-version}</version>
  178. </dependency>
  179. </oldVersion>
  180. <newVersion>
  181. <file>
  182. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  183. </file>
  184. </newVersion>
  185. <parameter>
  186. <onlyModified>true</onlyModified>
  187. <includes>
  188. <include>org.eclipse.jgit.*</include>
  189. </includes>
  190. <accessModifier>public</accessModifier>
  191. <breakBuildOnModifications>false</breakBuildOnModifications>
  192. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  193. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  194. <includeSynthetic>false</includeSynthetic>
  195. <ignoreMissingClasses>false</ignoreMissingClasses>
  196. <skipPomModules>true</skipPomModules>
  197. </parameter>
  198. <skip>false</skip>
  199. </configuration>
  200. </plugin>
  201. -->
  202. </plugins>
  203. </reporting>
  204. </project>