xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 8ada9048c5add754c3b34851b1bd501ce28b3321)
1dad52baaSShawn O. Pearce<?xml version="1.0" encoding="UTF-8"?>
2dad52baaSShawn O. Pearce<!--
3dad52baaSShawn O. Pearce  Copyright (C) 2009, Google Inc.
4dad52baaSShawn O. Pearce  Copyright (C) 2008, Imran M Yousuf <imyousuf@smartitengineering.com>
55c5f7c6bSMatthias Sohn  Copyright (C) 2008, Jonas Fonseca <fonseca@diku.dk> and others
6dad52baaSShawn O. Pearce
75c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
85c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
95c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
10dad52baaSShawn O. Pearce
115c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
12dad52baaSShawn O. Pearce-->
13dad52baaSShawn O. Pearce
14dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
15dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
17dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
18dad52baaSShawn O. Pearce
19dad52baaSShawn O. Pearce  <parent>
20dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
21fc5fc70eSShawn O. Pearce    <artifactId>org.eclipse.jgit-parent</artifactId>
22f487a9ebSMatthias Sohn    <version>5.7.0-SNAPSHOT</version>
23dad52baaSShawn O. Pearce  </parent>
24dad52baaSShawn O. Pearce
25dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit.test</artifactId>
26dad52baaSShawn O. Pearce  <name>JGit - Core Tests</name>
27dad52baaSShawn O. Pearce
28dad52baaSShawn O. Pearce  <description>
29dad52baaSShawn O. Pearce    JUnit tests for the core library.
30dad52baaSShawn O. Pearce  </description>
31dad52baaSShawn O. Pearce
3212c4d77cSMatthias Sohn  <properties>
3312c4d77cSMatthias Sohn    <maven.javadoc.skip>true</maven.javadoc.skip>
3412c4d77cSMatthias Sohn  </properties>
3512c4d77cSMatthias Sohn
36dad52baaSShawn O. Pearce  <dependencies>
37dad52baaSShawn O. Pearce    <dependency>
38fc5fc70eSShawn O. Pearce      <groupId>junit</groupId>
39fc5fc70eSShawn O. Pearce      <artifactId>junit</artifactId>
40fc5fc70eSShawn O. Pearce    </dependency>
41fc5fc70eSShawn O. Pearce
4281810affSAndrei Pozolotin    <!-- Optional security provider for encryption tests. -->
4381810affSAndrei Pozolotin    <dependency>
4481810affSAndrei Pozolotin      <groupId>org.bouncycastle</groupId>
4581810affSAndrei Pozolotin      <artifactId>bcprov-jdk15on</artifactId>
46137e91a4SMedha Bhargav Prabhala      <scope>test</scope>
47137e91a4SMedha Bhargav Prabhala     </dependency>
48137e91a4SMedha Bhargav Prabhala
49137e91a4SMedha Bhargav Prabhala    <dependency>
50137e91a4SMedha Bhargav Prabhala      <groupId>org.bouncycastle</groupId>
51137e91a4SMedha Bhargav Prabhala      <artifactId>bcpg-jdk15on</artifactId>
52137e91a4SMedha Bhargav Prabhala      <scope>test</scope>
53137e91a4SMedha Bhargav Prabhala    </dependency>
54137e91a4SMedha Bhargav Prabhala
55137e91a4SMedha Bhargav Prabhala    <dependency>
56137e91a4SMedha Bhargav Prabhala      <groupId>org.bouncycastle</groupId>
57137e91a4SMedha Bhargav Prabhala      <artifactId>bcpkix-jdk15on</artifactId>
5881810affSAndrei Pozolotin      <scope>test</scope>
5981810affSAndrei Pozolotin    </dependency>
6081810affSAndrei Pozolotin
61fc5fc70eSShawn O. Pearce    <dependency>
6242d7565bSRobin Rosenberg      <groupId>org.hamcrest</groupId>
6342d7565bSRobin Rosenberg      <artifactId>hamcrest-library</artifactId>
6442d7565bSRobin Rosenberg      <scope>test</scope>
6542d7565bSRobin Rosenberg      <version>[1.1.0,2.0.0)</version>
6642d7565bSRobin Rosenberg    </dependency>
6742d7565bSRobin Rosenberg
6842d7565bSRobin Rosenberg    <dependency>
69*8ada9048SMatthias Sohn      <groupId>org.assertj</groupId>
70*8ada9048SMatthias Sohn      <artifactId>assertj-core</artifactId>
71*8ada9048SMatthias Sohn    </dependency>
72*8ada9048SMatthias Sohn
73*8ada9048SMatthias Sohn    <dependency>
743f745e40SMatthias Sohn      <groupId>org.mockito</groupId>
753f745e40SMatthias Sohn      <artifactId>mockito-core</artifactId>
76459bd195SMatthias Sohn      <version>2.23.0</version>
773f745e40SMatthias Sohn    </dependency>
783f745e40SMatthias Sohn
793f745e40SMatthias Sohn    <dependency>
80dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
81dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
82fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
83dad52baaSShawn O. Pearce    </dependency>
841e84e8adSShawn O. Pearce
851e84e8adSShawn O. Pearce    <dependency>
861e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
871e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
88fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
891e84e8adSShawn O. Pearce    </dependency>
903c667b32SSasa Zivkov
913c667b32SSasa Zivkov    <dependency>
923c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
931316d43eSThomas Wolf      <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
941316d43eSThomas Wolf      <version>${project.version}</version>
951316d43eSThomas Wolf    </dependency>
961316d43eSThomas Wolf
971316d43eSThomas Wolf    <dependency>
981316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
993c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
1003c667b32SSasa Zivkov      <version>${project.version}</version>
1013c667b32SSasa Zivkov    </dependency>
1023c667b32SSasa Zivkov
1033c667b32SSasa Zivkov    <dependency>
1043c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1053c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1063c667b32SSasa Zivkov      <version>${project.version}</version>
1073c667b32SSasa Zivkov    </dependency>
1089387288aSMatthias Sohn
1099387288aSMatthias Sohn    <dependency>
1109387288aSMatthias Sohn      <groupId>org.tukaani</groupId>
1119387288aSMatthias Sohn      <artifactId>xz</artifactId>
1129387288aSMatthias Sohn      <optional>true</optional>
1139387288aSMatthias Sohn    </dependency>
114dad52baaSShawn O. Pearce  </dependencies>
115dad52baaSShawn O. Pearce
11681810affSAndrei Pozolotin  <profiles>
11781810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
11881810affSAndrei Pozolotin    <profile>
11981810affSAndrei Pozolotin      <id>test.long</id>
12081810affSAndrei Pozolotin      <build>
12181810affSAndrei Pozolotin        <plugins>
12281810affSAndrei Pozolotin          <plugin>
12381810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
12481810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
1252d0a1adfSMatthias Sohn            <version>${maven-surefire-plugin-version}</version>
12681810affSAndrei Pozolotin            <configuration>
1279e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
12881810affSAndrei Pozolotin            </configuration>
12981810affSAndrei Pozolotin          </plugin>
13081810affSAndrei Pozolotin        </plugins>
13181810affSAndrei Pozolotin      </build>
13281810affSAndrei Pozolotin    </profile>
13381810affSAndrei Pozolotin  </profiles>
13481810affSAndrei Pozolotin
135dad52baaSShawn O. Pearce  <build>
136adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
137dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
138dad52baaSShawn O. Pearce
139dad52baaSShawn O. Pearce    <testResources>
140dad52baaSShawn O. Pearce      <testResource>
141dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
142dad52baaSShawn O. Pearce      </testResource>
143dad52baaSShawn O. Pearce    </testResources>
144dad52baaSShawn O. Pearce
145488d9557SThomas Wolf    <resources>
146488d9557SThomas Wolf      <resource>
147488d9557SThomas Wolf        <directory>.</directory>
148488d9557SThomas Wolf        <includes>
149488d9557SThomas Wolf          <include>plugin.properties</include>
150488d9557SThomas Wolf        </includes>
151488d9557SThomas Wolf      </resource>
152488d9557SThomas Wolf      <resource>
153488d9557SThomas Wolf        <directory>resources/</directory>
154488d9557SThomas Wolf      </resource>
155488d9557SThomas Wolf    </resources>
156488d9557SThomas Wolf
157dad52baaSShawn O. Pearce    <plugins>
158dad52baaSShawn O. Pearce      <plugin>
159b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
160b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
161b97a35d7SMatthias Sohn        <executions>
162b97a35d7SMatthias Sohn          <execution>
163b97a35d7SMatthias Sohn            <goals>
164b97a35d7SMatthias Sohn              <goal>test-jar</goal>
165b97a35d7SMatthias Sohn            </goals>
166b97a35d7SMatthias Sohn          </execution>
167b97a35d7SMatthias Sohn        </executions>
168b97a35d7SMatthias Sohn      </plugin>
169b97a35d7SMatthias Sohn      <plugin>
170dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
171dad52baaSShawn O. Pearce        <configuration>
172e19e8599SMatthias Sohn          <argLine>@{argLine} -Xmx768m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
1735e5fbb60SDavid Pursehouse          <includes>
1745e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
1755e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
1765e5fbb60SDavid Pursehouse          </includes>
177dad52baaSShawn O. Pearce        </configuration>
178dad52baaSShawn O. Pearce      </plugin>
179dad52baaSShawn O. Pearce    </plugins>
180dad52baaSShawn O. Pearce  </build>
181dad52baaSShawn O. Pearce</project>
182