xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 5e5fbb6035b4bcee6717d8a7417e8f8905d1b563)
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>
555fee071fSMatthias Sohn    <version>4.7.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
65dad52baaSShawn O. Pearce  <dependencies>
66dad52baaSShawn O. Pearce    <dependency>
67fc5fc70eSShawn O. Pearce      <groupId>junit</groupId>
68fc5fc70eSShawn O. Pearce      <artifactId>junit</artifactId>
69fc5fc70eSShawn O. Pearce      <scope>test</scope>
70fc5fc70eSShawn O. Pearce    </dependency>
71fc5fc70eSShawn O. Pearce
7281810affSAndrei Pozolotin    <!-- Optional security provider for encryption tests. -->
7381810affSAndrei Pozolotin    <!-- See https://dev.eclipse.org/ipzilla/show_bug.cgi?id=9554 -->
7481810affSAndrei Pozolotin    <!-- See https://bugs.eclipse.org/bugs/show_bug.cgi?id=467064 -->
7581810affSAndrei Pozolotin    <dependency>
7681810affSAndrei Pozolotin      <groupId>org.bouncycastle</groupId>
7781810affSAndrei Pozolotin      <artifactId>bcprov-jdk15on</artifactId>
7881810affSAndrei Pozolotin      <version>1.52</version>
7981810affSAndrei Pozolotin      <scope>test</scope>
8081810affSAndrei Pozolotin     </dependency>
8181810affSAndrei Pozolotin
82fc5fc70eSShawn O. Pearce    <dependency>
8342d7565bSRobin Rosenberg      <groupId>org.hamcrest</groupId>
8442d7565bSRobin Rosenberg      <artifactId>hamcrest-library</artifactId>
8542d7565bSRobin Rosenberg      <scope>test</scope>
8642d7565bSRobin Rosenberg      <version>[1.1.0,2.0.0)</version>
8742d7565bSRobin Rosenberg    </dependency>
8842d7565bSRobin Rosenberg
8942d7565bSRobin Rosenberg    <dependency>
90dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
91dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
92fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
93dad52baaSShawn O. Pearce    </dependency>
941e84e8adSShawn O. Pearce
951e84e8adSShawn O. Pearce    <dependency>
961e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
971e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
98fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
991e84e8adSShawn O. Pearce    </dependency>
1003c667b32SSasa Zivkov
1013c667b32SSasa Zivkov    <dependency>
1023c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1033c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
1043c667b32SSasa Zivkov      <version>${project.version}</version>
1053c667b32SSasa Zivkov    </dependency>
1063c667b32SSasa Zivkov
1073c667b32SSasa Zivkov    <dependency>
1083c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1093c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1103c667b32SSasa Zivkov      <version>${project.version}</version>
1113c667b32SSasa Zivkov    </dependency>
112dad52baaSShawn O. Pearce  </dependencies>
113dad52baaSShawn O. Pearce
11481810affSAndrei Pozolotin  <profiles>
11581810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
11681810affSAndrei Pozolotin    <profile>
11781810affSAndrei Pozolotin      <id>test.long</id>
11881810affSAndrei Pozolotin      <build>
11981810affSAndrei Pozolotin        <plugins>
12081810affSAndrei Pozolotin          <plugin>
12181810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
12281810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
12381810affSAndrei Pozolotin            <configuration>
12481810affSAndrei Pozolotin              <argLine>-Djgit.test.long=true</argLine>
12581810affSAndrei Pozolotin            </configuration>
12681810affSAndrei Pozolotin          </plugin>
12781810affSAndrei Pozolotin        </plugins>
12881810affSAndrei Pozolotin      </build>
12981810affSAndrei Pozolotin    </profile>
13081810affSAndrei Pozolotin  </profiles>
13181810affSAndrei Pozolotin
132dad52baaSShawn O. Pearce  <build>
133adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
134dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
135dad52baaSShawn O. Pearce
136dad52baaSShawn O. Pearce    <testResources>
137dad52baaSShawn O. Pearce      <testResource>
138dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
139dad52baaSShawn O. Pearce      </testResource>
140dad52baaSShawn O. Pearce    </testResources>
141dad52baaSShawn O. Pearce
142dad52baaSShawn O. Pearce    <plugins>
143dad52baaSShawn O. Pearce      <plugin>
144b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
145b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
146b97a35d7SMatthias Sohn        <executions>
147b97a35d7SMatthias Sohn          <execution>
148b97a35d7SMatthias Sohn            <goals>
149b97a35d7SMatthias Sohn              <goal>test-jar</goal>
150b97a35d7SMatthias Sohn            </goals>
151b97a35d7SMatthias Sohn          </execution>
152b97a35d7SMatthias Sohn        </executions>
153b97a35d7SMatthias Sohn      </plugin>
154b97a35d7SMatthias Sohn      <plugin>
155dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
156dad52baaSShawn O. Pearce        <configuration>
15736144e12SShawn Pearce          <argLine>-Xmx256m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
158*5e5fbb60SDavid Pursehouse          <includes>
159*5e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
160*5e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
161*5e5fbb60SDavid Pursehouse          </includes>
162dad52baaSShawn O. Pearce        </configuration>
163dad52baaSShawn O. Pearce      </plugin>
164dad52baaSShawn O. Pearce    </plugins>
165dad52baaSShawn O. Pearce  </build>
166dad52baaSShawn O. Pearce</project>
167