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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2020, Matthias Sohn <matthias.sohn@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.ssh.jsch.test</artifactId>
  19. <name>JGit - JSch sshd SSH Tests</name>
  20. <description>
  21. JUnit tests for the JGit SSH support based on JSch.
  22. </description>
  23. <properties>
  24. <maven.javadoc.skip>true</maven.javadoc.skip>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>junit</groupId>
  29. <artifactId>junit</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.eclipse.jgit</groupId>
  33. <artifactId>org.eclipse.jgit</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.eclipse.jgit</groupId>
  38. <artifactId>org.eclipse.jgit.junit</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.eclipse.jgit</groupId>
  43. <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
  44. <version>${project.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.eclipse.jgit</groupId>
  48. <artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
  49. <version>${project.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.eclipse.jgit</groupId>
  53. <artifactId>org.eclipse.jgit.test</artifactId>
  54. <version>${project.version}</version>
  55. </dependency>
  56. </dependencies>
  57. <profiles>
  58. <!-- Profile provides a property which enables long running tests. -->
  59. <profile>
  60. <id>test.long</id>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-surefire-plugin</artifactId>
  66. <configuration>
  67. <argLine>@{argLine} -Djgit.test.long=true</argLine>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </profile>
  73. </profiles>
  74. <build>
  75. <sourceDirectory>src/</sourceDirectory>
  76. <testSourceDirectory>tst/</testSourceDirectory>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-jar-plugin</artifactId>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>test-jar</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-surefire-plugin</artifactId>
  91. <configuration>
  92. <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
  93. <includes>
  94. <include>**/*Test.java</include>
  95. <include>**/*Tests.java</include>
  96. </includes>
  97. </configuration>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>