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 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2010, Jens Baumgart <jens.baumgart@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.junit.ssh</artifactId>
  19. <name>JGit - JUnit Ssh Utility Classes</name>
  20. <description>
  21. Utility classes to support Ssh based JUnit testing of JGit applications.
  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.eclipse.jgit</groupId>
  35. <artifactId>org.eclipse.jgit.junit</artifactId>
  36. <version>${project.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.sshd</groupId>
  40. <artifactId>sshd-osgi</artifactId>
  41. <version>${apache-sshd-version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.sshd</groupId>
  45. <artifactId>sshd-sftp</artifactId>
  46. <version>${apache-sshd-version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.jcraft</groupId>
  50. <artifactId>jsch</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.jcraft</groupId>
  54. <artifactId>jzlib</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>junit</groupId>
  58. <artifactId>junit</artifactId>
  59. <scope>provided</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <sourceDirectory>src/</sourceDirectory>
  64. <resources>
  65. <resource>
  66. <directory>.</directory>
  67. <includes>
  68. <include>plugin.properties</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. </plugins>
  125. </build>
  126. </project>