xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
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>
5*5c5f7c6bSMatthias Sohn  Copyright (C) 2008, Jonas Fonseca <fonseca@diku.dk> and others
6dad52baaSShawn O. Pearce
7*5c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
8*5c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
9*5c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
10dad52baaSShawn O. Pearce
11*5c5f7c6bSMatthias 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>
693f745e40SMatthias Sohn      <groupId>org.mockito</groupId>
703f745e40SMatthias Sohn      <artifactId>mockito-core</artifactId>
71459bd195SMatthias Sohn      <version>2.23.0</version>
723f745e40SMatthias Sohn    </dependency>
733f745e40SMatthias Sohn
743f745e40SMatthias Sohn    <dependency>
75dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
76dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
77fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
78dad52baaSShawn O. Pearce    </dependency>
791e84e8adSShawn O. Pearce
801e84e8adSShawn O. Pearce    <dependency>
811e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
821e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
83fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
841e84e8adSShawn O. Pearce    </dependency>
853c667b32SSasa Zivkov
863c667b32SSasa Zivkov    <dependency>
873c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
881316d43eSThomas Wolf      <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
891316d43eSThomas Wolf      <version>${project.version}</version>
901316d43eSThomas Wolf    </dependency>
911316d43eSThomas Wolf
921316d43eSThomas Wolf    <dependency>
931316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
943c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
953c667b32SSasa Zivkov      <version>${project.version}</version>
963c667b32SSasa Zivkov    </dependency>
973c667b32SSasa Zivkov
983c667b32SSasa Zivkov    <dependency>
993c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1003c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1013c667b32SSasa Zivkov      <version>${project.version}</version>
1023c667b32SSasa Zivkov    </dependency>
1039387288aSMatthias Sohn
1049387288aSMatthias Sohn    <dependency>
1059387288aSMatthias Sohn      <groupId>org.tukaani</groupId>
1069387288aSMatthias Sohn      <artifactId>xz</artifactId>
1079387288aSMatthias Sohn      <optional>true</optional>
1089387288aSMatthias Sohn    </dependency>
109dad52baaSShawn O. Pearce  </dependencies>
110dad52baaSShawn O. Pearce
11181810affSAndrei Pozolotin  <profiles>
11281810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
11381810affSAndrei Pozolotin    <profile>
11481810affSAndrei Pozolotin      <id>test.long</id>
11581810affSAndrei Pozolotin      <build>
11681810affSAndrei Pozolotin        <plugins>
11781810affSAndrei Pozolotin          <plugin>
11881810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
11981810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
1202d0a1adfSMatthias Sohn            <version>${maven-surefire-plugin-version}</version>
12181810affSAndrei Pozolotin            <configuration>
1229e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
12381810affSAndrei Pozolotin            </configuration>
12481810affSAndrei Pozolotin          </plugin>
12581810affSAndrei Pozolotin        </plugins>
12681810affSAndrei Pozolotin      </build>
12781810affSAndrei Pozolotin    </profile>
12881810affSAndrei Pozolotin  </profiles>
12981810affSAndrei Pozolotin
130dad52baaSShawn O. Pearce  <build>
131adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
132dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
133dad52baaSShawn O. Pearce
134dad52baaSShawn O. Pearce    <testResources>
135dad52baaSShawn O. Pearce      <testResource>
136dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
137dad52baaSShawn O. Pearce      </testResource>
138dad52baaSShawn O. Pearce    </testResources>
139dad52baaSShawn O. Pearce
140488d9557SThomas Wolf    <resources>
141488d9557SThomas Wolf      <resource>
142488d9557SThomas Wolf        <directory>.</directory>
143488d9557SThomas Wolf        <includes>
144488d9557SThomas Wolf          <include>plugin.properties</include>
145488d9557SThomas Wolf        </includes>
146488d9557SThomas Wolf      </resource>
147488d9557SThomas Wolf      <resource>
148488d9557SThomas Wolf        <directory>resources/</directory>
149488d9557SThomas Wolf      </resource>
150488d9557SThomas Wolf    </resources>
151488d9557SThomas Wolf
152dad52baaSShawn O. Pearce    <plugins>
153dad52baaSShawn O. Pearce      <plugin>
154b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
155b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
156b97a35d7SMatthias Sohn        <executions>
157b97a35d7SMatthias Sohn          <execution>
158b97a35d7SMatthias Sohn            <goals>
159b97a35d7SMatthias Sohn              <goal>test-jar</goal>
160b97a35d7SMatthias Sohn            </goals>
161b97a35d7SMatthias Sohn          </execution>
162b97a35d7SMatthias Sohn        </executions>
163b97a35d7SMatthias Sohn      </plugin>
164b97a35d7SMatthias Sohn      <plugin>
165dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
166dad52baaSShawn O. Pearce        <configuration>
167e19e8599SMatthias Sohn          <argLine>@{argLine} -Xmx768m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
1685e5fbb60SDavid Pursehouse          <includes>
1695e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
1705e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
1715e5fbb60SDavid Pursehouse          </includes>
172dad52baaSShawn O. Pearce        </configuration>
173dad52baaSShawn O. Pearce      </plugin>
174dad52baaSShawn O. Pearce    </plugins>
175dad52baaSShawn O. Pearce  </build>
176dad52baaSShawn O. Pearce</project>
177