xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 137e91a4654b4f516d1f82885c669e14473dbfd6)
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>
5dad52baaSShawn O. Pearce   Copyright (C) 2008, Jonas Fonseca <fonseca@diku.dk>
6dad52baaSShawn O. Pearce   and other copyright owners as documented in the project's IP log.
7dad52baaSShawn O. Pearce
8dad52baaSShawn O. Pearce   This program and the accompanying materials are made available
9dad52baaSShawn O. Pearce   under the terms of the Eclipse Distribution License v1.0 which
10dad52baaSShawn O. Pearce   accompanies this distribution, is reproduced below, and is
11dad52baaSShawn O. Pearce   available at http://www.eclipse.org/org/documents/edl-v10.php
12dad52baaSShawn O. Pearce
13dad52baaSShawn O. Pearce   All rights reserved.
14dad52baaSShawn O. Pearce
15dad52baaSShawn O. Pearce   Redistribution and use in source and binary forms, with or
16dad52baaSShawn O. Pearce   without modification, are permitted provided that the following
17dad52baaSShawn O. Pearce   conditions are met:
18dad52baaSShawn O. Pearce
19dad52baaSShawn O. Pearce   - Redistributions of source code must retain the above copyright
20dad52baaSShawn O. Pearce     notice, this list of conditions and the following disclaimer.
21dad52baaSShawn O. Pearce
22dad52baaSShawn O. Pearce   - Redistributions in binary form must reproduce the above
23dad52baaSShawn O. Pearce     copyright notice, this list of conditions and the following
24dad52baaSShawn O. Pearce     disclaimer in the documentation and/or other materials provided
25dad52baaSShawn O. Pearce     with the distribution.
26dad52baaSShawn O. Pearce
27dad52baaSShawn O. Pearce   - Neither the name of the Eclipse Foundation, Inc. nor the
28dad52baaSShawn O. Pearce     names of its contributors may be used to endorse or promote
29dad52baaSShawn O. Pearce     products derived from this software without specific prior
30dad52baaSShawn O. Pearce     written permission.
31dad52baaSShawn O. Pearce
32dad52baaSShawn O. Pearce   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
33dad52baaSShawn O. Pearce   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
34dad52baaSShawn O. Pearce   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
35dad52baaSShawn O. Pearce   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36dad52baaSShawn O. Pearce   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
37dad52baaSShawn O. Pearce   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
38dad52baaSShawn O. Pearce   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
39dad52baaSShawn O. Pearce   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
40dad52baaSShawn O. Pearce   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
41dad52baaSShawn O. Pearce   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
42dad52baaSShawn O. Pearce   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
43dad52baaSShawn O. Pearce   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
44dad52baaSShawn O. Pearce   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45dad52baaSShawn O. Pearce-->
46dad52baaSShawn O. Pearce
47dad52baaSShawn O. Pearce<project xmlns="http://maven.apache.org/POM/4.0.0"
48dad52baaSShawn O. Pearce    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
49dad52baaSShawn O. Pearce    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
50dad52baaSShawn O. Pearce  <modelVersion>4.0.0</modelVersion>
51dad52baaSShawn O. Pearce
52dad52baaSShawn O. Pearce  <parent>
53dad52baaSShawn O. Pearce    <groupId>org.eclipse.jgit</groupId>
54fc5fc70eSShawn O. Pearce    <artifactId>org.eclipse.jgit-parent</artifactId>
5538da21d6SMatthias Sohn    <version>5.3.0-SNAPSHOT</version>
56dad52baaSShawn O. Pearce  </parent>
57dad52baaSShawn O. Pearce
58dad52baaSShawn O. Pearce  <artifactId>org.eclipse.jgit.test</artifactId>
59dad52baaSShawn O. Pearce  <name>JGit - Core Tests</name>
60dad52baaSShawn O. Pearce
61dad52baaSShawn O. Pearce  <description>
62dad52baaSShawn O. Pearce    JUnit tests for the core library.
63dad52baaSShawn O. Pearce  </description>
64dad52baaSShawn O. Pearce
6512c4d77cSMatthias Sohn  <properties>
6612c4d77cSMatthias Sohn    <maven.javadoc.skip>true</maven.javadoc.skip>
6712c4d77cSMatthias Sohn  </properties>
6812c4d77cSMatthias Sohn
69dad52baaSShawn O. Pearce  <dependencies>
70dad52baaSShawn O. Pearce    <dependency>
71fc5fc70eSShawn O. Pearce      <groupId>junit</groupId>
72fc5fc70eSShawn O. Pearce      <artifactId>junit</artifactId>
73fc5fc70eSShawn O. Pearce    </dependency>
74fc5fc70eSShawn O. Pearce
7581810affSAndrei Pozolotin    <!-- Optional security provider for encryption tests. -->
7681810affSAndrei Pozolotin    <dependency>
7781810affSAndrei Pozolotin      <groupId>org.bouncycastle</groupId>
7881810affSAndrei Pozolotin      <artifactId>bcprov-jdk15on</artifactId>
79*137e91a4SMedha Bhargav Prabhala      <scope>test</scope>
80*137e91a4SMedha Bhargav Prabhala     </dependency>
81*137e91a4SMedha Bhargav Prabhala
82*137e91a4SMedha Bhargav Prabhala    <dependency>
83*137e91a4SMedha Bhargav Prabhala      <groupId>org.bouncycastle</groupId>
84*137e91a4SMedha Bhargav Prabhala      <artifactId>bcpg-jdk15on</artifactId>
85*137e91a4SMedha Bhargav Prabhala      <scope>test</scope>
86*137e91a4SMedha Bhargav Prabhala    </dependency>
87*137e91a4SMedha Bhargav Prabhala
88*137e91a4SMedha Bhargav Prabhala    <dependency>
89*137e91a4SMedha Bhargav Prabhala      <groupId>org.bouncycastle</groupId>
90*137e91a4SMedha Bhargav Prabhala      <artifactId>bcpkix-jdk15on</artifactId>
9181810affSAndrei Pozolotin      <scope>test</scope>
9281810affSAndrei Pozolotin    </dependency>
9381810affSAndrei Pozolotin
94fc5fc70eSShawn O. Pearce    <dependency>
9542d7565bSRobin Rosenberg      <groupId>org.hamcrest</groupId>
9642d7565bSRobin Rosenberg      <artifactId>hamcrest-library</artifactId>
9742d7565bSRobin Rosenberg      <scope>test</scope>
9842d7565bSRobin Rosenberg      <version>[1.1.0,2.0.0)</version>
9942d7565bSRobin Rosenberg    </dependency>
10042d7565bSRobin Rosenberg
10142d7565bSRobin Rosenberg    <dependency>
1023f745e40SMatthias Sohn      <groupId>org.mockito</groupId>
1033f745e40SMatthias Sohn      <artifactId>mockito-core</artifactId>
1043f745e40SMatthias Sohn      <version>2.13.0</version>
1053f745e40SMatthias Sohn    </dependency>
1063f745e40SMatthias Sohn
1073f745e40SMatthias Sohn    <dependency>
108dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
109dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
110fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
111dad52baaSShawn O. Pearce    </dependency>
1121e84e8adSShawn O. Pearce
1131e84e8adSShawn O. Pearce    <dependency>
1141e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
1151e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
116fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
1171e84e8adSShawn O. Pearce    </dependency>
1183c667b32SSasa Zivkov
1193c667b32SSasa Zivkov    <dependency>
1203c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1211316d43eSThomas Wolf      <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
1221316d43eSThomas Wolf      <version>${project.version}</version>
1231316d43eSThomas Wolf    </dependency>
1241316d43eSThomas Wolf
1251316d43eSThomas Wolf    <dependency>
1261316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
1273c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
1283c667b32SSasa Zivkov      <version>${project.version}</version>
1293c667b32SSasa Zivkov    </dependency>
1303c667b32SSasa Zivkov
1313c667b32SSasa Zivkov    <dependency>
1323c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1333c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1343c667b32SSasa Zivkov      <version>${project.version}</version>
1353c667b32SSasa Zivkov    </dependency>
136dad52baaSShawn O. Pearce  </dependencies>
137dad52baaSShawn O. Pearce
13881810affSAndrei Pozolotin  <profiles>
13981810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
14081810affSAndrei Pozolotin    <profile>
14181810affSAndrei Pozolotin      <id>test.long</id>
14281810affSAndrei Pozolotin      <build>
14381810affSAndrei Pozolotin        <plugins>
14481810affSAndrei Pozolotin          <plugin>
14581810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
14681810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
14781810affSAndrei Pozolotin            <configuration>
1489e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
14981810affSAndrei Pozolotin            </configuration>
15081810affSAndrei Pozolotin          </plugin>
15181810affSAndrei Pozolotin        </plugins>
15281810affSAndrei Pozolotin      </build>
15381810affSAndrei Pozolotin    </profile>
15481810affSAndrei Pozolotin  </profiles>
15581810affSAndrei Pozolotin
156dad52baaSShawn O. Pearce  <build>
157adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
158dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
159dad52baaSShawn O. Pearce
160dad52baaSShawn O. Pearce    <testResources>
161dad52baaSShawn O. Pearce      <testResource>
162dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
163dad52baaSShawn O. Pearce      </testResource>
164dad52baaSShawn O. Pearce    </testResources>
165dad52baaSShawn O. Pearce
166488d9557SThomas Wolf    <resources>
167488d9557SThomas Wolf      <resource>
168488d9557SThomas Wolf        <directory>.</directory>
169488d9557SThomas Wolf        <includes>
170488d9557SThomas Wolf          <include>plugin.properties</include>
171488d9557SThomas Wolf        </includes>
172488d9557SThomas Wolf      </resource>
173488d9557SThomas Wolf      <resource>
174488d9557SThomas Wolf        <directory>resources/</directory>
175488d9557SThomas Wolf      </resource>
176488d9557SThomas Wolf    </resources>
177488d9557SThomas Wolf
178dad52baaSShawn O. Pearce    <plugins>
179dad52baaSShawn O. Pearce      <plugin>
180b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
181b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
182b97a35d7SMatthias Sohn        <executions>
183b97a35d7SMatthias Sohn          <execution>
184b97a35d7SMatthias Sohn            <goals>
185b97a35d7SMatthias Sohn              <goal>test-jar</goal>
186b97a35d7SMatthias Sohn            </goals>
187b97a35d7SMatthias Sohn          </execution>
188b97a35d7SMatthias Sohn        </executions>
189b97a35d7SMatthias Sohn      </plugin>
190b97a35d7SMatthias Sohn      <plugin>
191dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
192dad52baaSShawn O. Pearce        <configuration>
1939e5c7c53SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
1945e5fbb60SDavid Pursehouse          <includes>
1955e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
1965e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
1975e5fbb60SDavid Pursehouse          </includes>
198dad52baaSShawn O. Pearce        </configuration>
199dad52baaSShawn O. Pearce      </plugin>
200dad52baaSShawn O. Pearce    </plugins>
201dad52baaSShawn O. Pearce  </build>
202dad52baaSShawn O. Pearce</project>
203