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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.apache</artifactId>
  19. <name>JGit - Apache sshd-based SSH support</name>
  20. <description>
  21. SSH support for JGit based on Apache MINA sshd
  22. </description>
  23. <properties>
  24. <translate-qualifier/>
  25. <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
  26. <eddsa-version>0.3.0</eddsa-version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.eclipse.jgit</groupId>
  31. <artifactId>org.eclipse.jgit</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.sshd</groupId>
  36. <artifactId>sshd-osgi</artifactId>
  37. <version>${apache-sshd-version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.sshd</groupId>
  41. <artifactId>sshd-sftp</artifactId>
  42. <version>${apache-sshd-version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>net.i2p.crypto</groupId>
  46. <artifactId>eddsa</artifactId>
  47. <version>${eddsa-version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>slf4j-api</artifactId>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <sourceDirectory>src/</sourceDirectory>
  56. <resources>
  57. <resource>
  58. <directory>.</directory>
  59. <includes>
  60. <include>plugin.properties</include>
  61. <include>about.html</include>
  62. </includes>
  63. </resource>
  64. <resource>
  65. <directory>resources/</directory>
  66. </resource>
  67. </resources>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-antrun-plugin</artifactId>
  72. <executions>
  73. <execution>
  74. <id>translate-source-qualifier</id>
  75. <phase>generate-resources</phase>
  76. <configuration>
  77. <target>
  78. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true" />
  79. <replace file="${source-bundle-manifest}">
  80. <replacefilter token=".qualifier" value=".${maven.build.timestamp}" />
  81. </replace>
  82. </target>
  83. </configuration>
  84. <goals>
  85. <goal>run</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-source-plugin</artifactId>
  93. <inherited>true</inherited>
  94. <executions>
  95. <execution>
  96. <id>attach-sources</id>
  97. <phase>process-classes</phase>
  98. <goals>
  99. <goal>jar</goal>
  100. </goals>
  101. <configuration>
  102. <archive>
  103. <manifestFile>${source-bundle-manifest}</manifestFile>
  104. </archive>
  105. </configuration>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-jar-plugin</artifactId>
  111. <configuration>
  112. <archive>
  113. <manifestFile>${bundle-manifest}</manifestFile>
  114. </archive>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <groupId>com.github.siom79.japicmp</groupId>
  119. <artifactId>japicmp-maven-plugin</artifactId>
  120. <version>${japicmp-version}</version>
  121. <configuration>
  122. <oldVersion>
  123. <dependency>
  124. <groupId>${project.groupId}</groupId>
  125. <artifactId>${project.artifactId}</artifactId>
  126. <version>${jgit-last-release-version}</version>
  127. </dependency>
  128. </oldVersion>
  129. <newVersion>
  130. <file>
  131. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  132. </file>
  133. </newVersion>
  134. <parameter>
  135. <onlyModified>true</onlyModified>
  136. <includes>
  137. <include>org.eclipse.jgit.*</include>
  138. </includes>
  139. <accessModifier>public</accessModifier>
  140. <breakBuildOnModifications>false</breakBuildOnModifications>
  141. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  142. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  143. <includeSynthetic>false</includeSynthetic>
  144. <ignoreMissingClasses>false</ignoreMissingClasses>
  145. <skipPomModules>true</skipPomModules>
  146. </parameter>
  147. <skip>false</skip>
  148. </configuration>
  149. <executions>
  150. <execution>
  151. <phase>verify</phase>
  152. <goals>
  153. <goal>cmp</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. <reporting>
  161. <plugins>
  162. <plugin>
  163. <groupId>com.github.siom79.japicmp</groupId>
  164. <artifactId>japicmp-maven-plugin</artifactId>
  165. <version>${japicmp-version}</version>
  166. <reportSets>
  167. <reportSet>
  168. <reports>
  169. <report>cmp-report</report>
  170. </reports>
  171. </reportSet>
  172. </reportSets>
  173. <configuration>
  174. <oldVersion>
  175. <dependency>
  176. <groupId>${project.groupId}</groupId>
  177. <artifactId>${project.artifactId}</artifactId>
  178. <version>${jgit-last-release-version}</version>
  179. </dependency>
  180. </oldVersion>
  181. <newVersion>
  182. <file>
  183. <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
  184. </file>
  185. </newVersion>
  186. <parameter>
  187. <onlyModified>true</onlyModified>
  188. <includes>
  189. <include>org.eclipse.jgit.*</include>
  190. </includes>
  191. <accessModifier>public</accessModifier>
  192. <breakBuildOnModifications>false</breakBuildOnModifications>
  193. <breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
  194. <onlyBinaryIncompatible>false</onlyBinaryIncompatible>
  195. <includeSynthetic>false</includeSynthetic>
  196. <ignoreMissingClasses>false</ignoreMissingClasses>
  197. <skipPomModules>true</skipPomModules>
  198. </parameter>
  199. <skip>false</skip>
  200. </configuration>
  201. </plugin>
  202. </plugins>
  203. </reporting>
  204. </project>