xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 9e5c7c5358bac3dc0890cf00848704dad47ad1ba)
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>
79065aab51SMatthias Sohn      <version>1.59</version>
8081810affSAndrei Pozolotin      <scope>test</scope>
8181810affSAndrei Pozolotin     </dependency>
8281810affSAndrei Pozolotin
83fc5fc70eSShawn O. Pearce    <dependency>
8442d7565bSRobin Rosenberg      <groupId>org.hamcrest</groupId>
8542d7565bSRobin Rosenberg      <artifactId>hamcrest-library</artifactId>
8642d7565bSRobin Rosenberg      <scope>test</scope>
8742d7565bSRobin Rosenberg      <version>[1.1.0,2.0.0)</version>
8842d7565bSRobin Rosenberg    </dependency>
8942d7565bSRobin Rosenberg
9042d7565bSRobin Rosenberg    <dependency>
913f745e40SMatthias Sohn      <groupId>org.mockito</groupId>
923f745e40SMatthias Sohn      <artifactId>mockito-core</artifactId>
933f745e40SMatthias Sohn      <version>2.13.0</version>
943f745e40SMatthias Sohn    </dependency>
953f745e40SMatthias Sohn
963f745e40SMatthias Sohn    <dependency>
97dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
98dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
99fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
100dad52baaSShawn O. Pearce    </dependency>
1011e84e8adSShawn O. Pearce
1021e84e8adSShawn O. Pearce    <dependency>
1031e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
1041e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
105fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
1061e84e8adSShawn O. Pearce    </dependency>
1073c667b32SSasa Zivkov
1083c667b32SSasa Zivkov    <dependency>
1093c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1101316d43eSThomas Wolf      <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
1111316d43eSThomas Wolf      <version>${project.version}</version>
1121316d43eSThomas Wolf    </dependency>
1131316d43eSThomas Wolf
1141316d43eSThomas Wolf    <dependency>
1151316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
1163c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
1173c667b32SSasa Zivkov      <version>${project.version}</version>
1183c667b32SSasa Zivkov    </dependency>
1193c667b32SSasa Zivkov
1203c667b32SSasa Zivkov    <dependency>
1213c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1223c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1233c667b32SSasa Zivkov      <version>${project.version}</version>
1243c667b32SSasa Zivkov    </dependency>
125dad52baaSShawn O. Pearce  </dependencies>
126dad52baaSShawn O. Pearce
12781810affSAndrei Pozolotin  <profiles>
12881810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
12981810affSAndrei Pozolotin    <profile>
13081810affSAndrei Pozolotin      <id>test.long</id>
13181810affSAndrei Pozolotin      <build>
13281810affSAndrei Pozolotin        <plugins>
13381810affSAndrei Pozolotin          <plugin>
13481810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
13581810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
13681810affSAndrei Pozolotin            <configuration>
137*9e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
13881810affSAndrei Pozolotin            </configuration>
13981810affSAndrei Pozolotin          </plugin>
14081810affSAndrei Pozolotin        </plugins>
14181810affSAndrei Pozolotin      </build>
14281810affSAndrei Pozolotin    </profile>
14381810affSAndrei Pozolotin  </profiles>
14481810affSAndrei Pozolotin
145dad52baaSShawn O. Pearce  <build>
146adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
147dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
148dad52baaSShawn O. Pearce
149dad52baaSShawn O. Pearce    <testResources>
150dad52baaSShawn O. Pearce      <testResource>
151dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
152dad52baaSShawn O. Pearce      </testResource>
153dad52baaSShawn O. Pearce    </testResources>
154dad52baaSShawn O. Pearce
155488d9557SThomas Wolf    <resources>
156488d9557SThomas Wolf      <resource>
157488d9557SThomas Wolf        <directory>.</directory>
158488d9557SThomas Wolf        <includes>
159488d9557SThomas Wolf          <include>plugin.properties</include>
160488d9557SThomas Wolf        </includes>
161488d9557SThomas Wolf      </resource>
162488d9557SThomas Wolf      <resource>
163488d9557SThomas Wolf        <directory>resources/</directory>
164488d9557SThomas Wolf      </resource>
165488d9557SThomas Wolf    </resources>
166488d9557SThomas Wolf
167dad52baaSShawn O. Pearce    <plugins>
168dad52baaSShawn O. Pearce      <plugin>
169b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
170b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
171b97a35d7SMatthias Sohn        <executions>
172b97a35d7SMatthias Sohn          <execution>
173b97a35d7SMatthias Sohn            <goals>
174b97a35d7SMatthias Sohn              <goal>test-jar</goal>
175b97a35d7SMatthias Sohn            </goals>
176b97a35d7SMatthias Sohn          </execution>
177b97a35d7SMatthias Sohn        </executions>
178b97a35d7SMatthias Sohn      </plugin>
179b97a35d7SMatthias Sohn      <plugin>
180dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
181dad52baaSShawn O. Pearce        <configuration>
182*9e5c7c53SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
1835e5fbb60SDavid Pursehouse          <includes>
1845e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
1855e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
1865e5fbb60SDavid Pursehouse          </includes>
187dad52baaSShawn O. Pearce        </configuration>
188dad52baaSShawn O. Pearce      </plugin>
189dad52baaSShawn O. Pearce    </plugins>
190dad52baaSShawn O. Pearce  </build>
191dad52baaSShawn O. Pearce</project>
192