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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.13.0-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>junit</groupId>
  50. <artifactId>junit</artifactId>
  51. <scope>provided</scope>
  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. </includes>
  62. </resource>
  63. <resource>
  64. <directory>resources/</directory>
  65. </resource>
  66. </resources>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-antrun-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <id>translate-source-qualifier</id>
  74. <phase>generate-resources</phase>
  75. <configuration>
  76. <target>
  77. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
  78. <replace file="${source-bundle-manifest}">
  79. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  80. </replace>
  81. </target>
  82. </configuration>
  83. <goals>
  84. <goal>run</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-source-plugin</artifactId>
  92. <inherited>true</inherited>
  93. <executions>
  94. <execution>
  95. <id>attach-sources</id>
  96. <phase>process-classes</phase>
  97. <goals>
  98. <goal>jar</goal>
  99. </goals>
  100. <configuration>
  101. <archive>
  102. <manifestFile>${source-bundle-manifest}</manifestFile>
  103. </archive>
  104. </configuration>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-jar-plugin</artifactId>
  110. <configuration>
  111. <archive>
  112. <manifestFile>${bundle-manifest}</manifestFile>
  113. </archive>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>