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

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