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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2009, Google Inc.
  4. Copyright (C) 2008, Imran M Yousuf <imyousuf@smartitengineering.com>
  5. Copyright (C) 2008, Jonas Fonseca <fonseca@diku.dk> and others
  6. This program and the accompanying materials are made available under the
  7. terms of the Eclipse Distribution License v. 1.0 which is available at
  8. http://www.eclipse.org/org/documents/edl-v10.php.
  9. SPDX-License-Identifier: BSD-3-Clause
  10. -->
  11. <project xmlns="http://maven.apache.org/POM/4.0.0"
  12. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.eclipse.jgit</groupId>
  17. <artifactId>org.eclipse.jgit-parent</artifactId>
  18. <version>5.8.2-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>org.eclipse.jgit.test</artifactId>
  21. <name>JGit - Core Tests</name>
  22. <description>
  23. JUnit tests for the core library.
  24. </description>
  25. <properties>
  26. <maven.javadoc.skip>true</maven.javadoc.skip>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. </dependency>
  33. <!-- Optional security provider for encryption tests. -->
  34. <dependency>
  35. <groupId>org.bouncycastle</groupId>
  36. <artifactId>bcprov-jdk15on</artifactId>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.bouncycastle</groupId>
  41. <artifactId>bcpg-jdk15on</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.bouncycastle</groupId>
  46. <artifactId>bcpkix-jdk15on</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.hamcrest</groupId>
  51. <artifactId>hamcrest-library</artifactId>
  52. <scope>test</scope>
  53. <version>[1.1.0,2.0.0)</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.assertj</groupId>
  57. <artifactId>assertj-core</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.mockito</groupId>
  61. <artifactId>mockito-core</artifactId>
  62. <version>2.23.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.eclipse.jgit</groupId>
  66. <artifactId>org.eclipse.jgit</artifactId>
  67. <version>${project.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.eclipse.jgit</groupId>
  71. <artifactId>org.eclipse.jgit.junit</artifactId>
  72. <version>${project.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.eclipse.jgit</groupId>
  76. <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
  77. <version>${project.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.eclipse.jgit</groupId>
  81. <artifactId>org.eclipse.jgit.ui</artifactId>
  82. <version>${project.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.eclipse.jgit</groupId>
  86. <artifactId>org.eclipse.jgit.pgm</artifactId>
  87. <version>${project.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.tukaani</groupId>
  91. <artifactId>xz</artifactId>
  92. <optional>true</optional>
  93. </dependency>
  94. </dependencies>
  95. <profiles>
  96. <!-- Profile provides a property which enables long running tests. -->
  97. <profile>
  98. <id>test.long</id>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-surefire-plugin</artifactId>
  104. <version>${maven-surefire-plugin-version}</version>
  105. <configuration>
  106. <argLine>@{argLine} -Djgit.test.long=true</argLine>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </profile>
  112. </profiles>
  113. <build>
  114. <sourceDirectory>src/</sourceDirectory>
  115. <testSourceDirectory>tst/</testSourceDirectory>
  116. <testResources>
  117. <testResource>
  118. <directory>tst-rsrc/</directory>
  119. </testResource>
  120. </testResources>
  121. <resources>
  122. <resource>
  123. <directory>.</directory>
  124. <includes>
  125. <include>plugin.properties</include>
  126. </includes>
  127. </resource>
  128. </resources>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-jar-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>test-jar</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-surefire-plugin</artifactId>
  143. <configuration>
  144. <argLine>@{argLine} -Xmx768m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
  145. <includes>
  146. <include>**/*Test.java</include>
  147. <include>**/*Tests.java</include>
  148. </includes>
  149. </configuration>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </project>