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

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