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