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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.7.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.apache.sshd</groupId>
  35. <artifactId>sshd-osgi</artifactId>
  36. <version>${apache-sshd-version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.sshd</groupId>
  40. <artifactId>sshd-sftp</artifactId>
  41. <version>${apache-sshd-version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <sourceDirectory>src/</sourceDirectory>
  51. <resources>
  52. <resource>
  53. <directory>.</directory>
  54. <includes>
  55. <include>plugin.properties</include>
  56. </includes>
  57. </resource>
  58. </resources>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-antrun-plugin</artifactId>
  63. <executions>
  64. <execution>
  65. <id>translate-source-qualifier</id>
  66. <phase>generate-resources</phase>
  67. <configuration>
  68. <target>
  69. <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
  70. <replace file="${source-bundle-manifest}">
  71. <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
  72. </replace>
  73. </target>
  74. </configuration>
  75. <goals>
  76. <goal>run</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-source-plugin</artifactId>
  84. <inherited>true</inherited>
  85. <executions>
  86. <execution>
  87. <id>attach-sources</id>
  88. <phase>process-classes</phase>
  89. <goals>
  90. <goal>jar</goal>
  91. </goals>
  92. <configuration>
  93. <archive>
  94. <manifestFile>${source-bundle-manifest}</manifestFile>
  95. </archive>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <artifactId>maven-jar-plugin</artifactId>
  102. <configuration>
  103. <archive>
  104. <manifestFile>${bundle-manifest}</manifestFile>
  105. </archive>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>