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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> 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.ssh.jsch</artifactId>
  19. <name>JGit - JSch-based SSH support</name>
  20. <description>
  21. SSH support for JGit based on JSch
  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>com.jcraft</groupId>
  35. <artifactId>jsch</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.jcraft</groupId>
  39. <artifactId>jzlib</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.slf4j</groupId>
  43. <artifactId>slf4j-api</artifactId>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <sourceDirectory>src/</sourceDirectory>
  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. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-antrun-plugin</artifactId>
  64. <executions>
  65. <execution>
  66. <id>translate-source-qualifier</id>
  67. <phase>generate-resources</phase>
  68. <configuration>
  69. <target>
  70. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" />
  71. <replace file="${source-bundle-manifest}">
  72. <replacefilter token=".qualifier" value=".${maven.build.timestamp}" />
  73. </replace>
  74. </target>
  75. </configuration>
  76. <goals>
  77. <goal>run</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-source-plugin</artifactId>
  85. <inherited>true</inherited>
  86. <executions>
  87. <execution>
  88. <id>attach-sources</id>
  89. <phase>process-classes</phase>
  90. <goals>
  91. <goal>jar</goal>
  92. </goals>
  93. <configuration>
  94. <archive>
  95. <manifestFile>${source-bundle-manifest}</manifestFile>
  96. </archive>
  97. </configuration>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-jar-plugin</artifactId>
  103. <configuration>
  104. <archive>
  105. <manifestFile>${bundle-manifest}</manifestFile>
  106. </archive>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>com.github.siom79.japicmp</groupId>
  111. <artifactId>japicmp-maven-plugin</artifactId>
  112. <version>${japicmp-version}</version>
  113. <configuration>
  114. <oldVersion>
  115. <dependency>
  116. <groupId>${project.groupId}</groupId>
  117. <artifactId>${project.artifactId}</artifactId>
  118. <version>${jgit-last-release-version}</version>
  119. </dependency>
  120. </oldVersion>
  121. <newVersion>
  122. <file>
  123. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  124. </file>
  125. </newVersion>
  126. <parameter>
  127. <onlyModified>true</onlyModified>
  128. <includes>
  129. <include>org.eclipse.jgit.*</include>
  130. </includes>
  131. <accessModifier>public</accessModifier>
  132. <breakBuildOnModifications>false</breakBuildOnModifications>
  133. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  134. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  135. <includeSynthetic>false</includeSynthetic>
  136. <ignoreMissingClasses>false</ignoreMissingClasses>
  137. <skipPomModules>true</skipPomModules>
  138. </parameter>
  139. <skip>false</skip>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <phase>verify</phase>
  144. <goals>
  145. <goal>cmp</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. <reporting>
  153. <plugins>
  154. <plugin>
  155. <groupId>com.github.siom79.japicmp</groupId>
  156. <artifactId>japicmp-maven-plugin</artifactId>
  157. <version>${japicmp-version}</version>
  158. <reportSets>
  159. <reportSet>
  160. <reports>
  161. <report>cmp-report</report>
  162. </reports>
  163. </reportSet>
  164. </reportSets>
  165. <configuration>
  166. <oldVersion>
  167. <dependency>
  168. <groupId>${project.groupId}</groupId>
  169. <artifactId>${project.artifactId}</artifactId>
  170. <version>${jgit-last-release-version}</version>
  171. </dependency>
  172. </oldVersion>
  173. <newVersion>
  174. <file>
  175. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  176. </file>
  177. </newVersion>
  178. <parameter>
  179. <onlyModified>true</onlyModified>
  180. <includes>
  181. <include>org.eclipse.jgit.*</include>
  182. </includes>
  183. <accessModifier>public</accessModifier>
  184. <breakBuildOnModifications>false</breakBuildOnModifications>
  185. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  186. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  187. <includeSynthetic>false</includeSynthetic>
  188. <ignoreMissingClasses>false</ignoreMissingClasses>
  189. <skipPomModules>true</skipPomModules>
  190. </parameter>
  191. <skip>false</skip>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </reporting>
  196. </project>