xref: /JGit/org.eclipse.jgit.test/pom.xml (revision 2d0a1adf0529d5d23c7752437d664784a2e4a578)
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>
5557ccca75SMatthias Sohn    <version>5.1.9-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    <!-- See https://dev.eclipse.org/ipzilla/show_bug.cgi?id=9554 -->
7781810affSAndrei Pozolotin    <!-- See https://bugs.eclipse.org/bugs/show_bug.cgi?id=467064 -->
7881810affSAndrei Pozolotin    <dependency>
7981810affSAndrei Pozolotin      <groupId>org.bouncycastle</groupId>
8081810affSAndrei Pozolotin      <artifactId>bcprov-jdk15on</artifactId>
8181810affSAndrei Pozolotin      <version>1.52</version>
8281810affSAndrei Pozolotin      <scope>test</scope>
8381810affSAndrei Pozolotin     </dependency>
8481810affSAndrei Pozolotin
85fc5fc70eSShawn O. Pearce    <dependency>
8642d7565bSRobin Rosenberg      <groupId>org.hamcrest</groupId>
8742d7565bSRobin Rosenberg      <artifactId>hamcrest-library</artifactId>
8842d7565bSRobin Rosenberg      <scope>test</scope>
8942d7565bSRobin Rosenberg      <version>[1.1.0,2.0.0)</version>
9042d7565bSRobin Rosenberg    </dependency>
9142d7565bSRobin Rosenberg
9242d7565bSRobin Rosenberg    <dependency>
93dad52baaSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
94dad52baaSShawn O. Pearce      <artifactId>org.eclipse.jgit</artifactId>
95fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
96dad52baaSShawn O. Pearce    </dependency>
971e84e8adSShawn O. Pearce
981e84e8adSShawn O. Pearce    <dependency>
991e84e8adSShawn O. Pearce      <groupId>org.eclipse.jgit</groupId>
1001e84e8adSShawn O. Pearce      <artifactId>org.eclipse.jgit.junit</artifactId>
101fc5fc70eSShawn O. Pearce      <version>${project.version}</version>
1021e84e8adSShawn O. Pearce    </dependency>
1033c667b32SSasa Zivkov
1043c667b32SSasa Zivkov    <dependency>
1053c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1063c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.ui</artifactId>
1073c667b32SSasa Zivkov      <version>${project.version}</version>
1083c667b32SSasa Zivkov    </dependency>
1093c667b32SSasa Zivkov
1103c667b32SSasa Zivkov    <dependency>
1113c667b32SSasa Zivkov      <groupId>org.eclipse.jgit</groupId>
1123c667b32SSasa Zivkov      <artifactId>org.eclipse.jgit.pgm</artifactId>
1133c667b32SSasa Zivkov      <version>${project.version}</version>
1143c667b32SSasa Zivkov    </dependency>
115dad52baaSShawn O. Pearce  </dependencies>
116dad52baaSShawn O. Pearce
11781810affSAndrei Pozolotin  <profiles>
11881810affSAndrei Pozolotin    <!-- Profile provides a property which enables long running tests. -->
11981810affSAndrei Pozolotin    <profile>
12081810affSAndrei Pozolotin      <id>test.long</id>
12181810affSAndrei Pozolotin      <build>
12281810affSAndrei Pozolotin        <plugins>
12381810affSAndrei Pozolotin          <plugin>
12481810affSAndrei Pozolotin            <groupId>org.apache.maven.plugins</groupId>
12581810affSAndrei Pozolotin            <artifactId>maven-surefire-plugin</artifactId>
126*2d0a1adfSMatthias Sohn            <version>${maven-surefire-plugin-version}</version>
12781810affSAndrei Pozolotin            <configuration>
12881810affSAndrei Pozolotin              <argLine>-Djgit.test.long=true</argLine>
12981810affSAndrei Pozolotin            </configuration>
13081810affSAndrei Pozolotin          </plugin>
13181810affSAndrei Pozolotin        </plugins>
13281810affSAndrei Pozolotin      </build>
13381810affSAndrei Pozolotin    </profile>
13481810affSAndrei Pozolotin  </profiles>
13581810affSAndrei Pozolotin
136dad52baaSShawn O. Pearce  <build>
137adbcbc79SJonathan Nieder    <sourceDirectory>src/</sourceDirectory>
138dad52baaSShawn O. Pearce    <testSourceDirectory>tst/</testSourceDirectory>
139dad52baaSShawn O. Pearce
140dad52baaSShawn O. Pearce    <testResources>
141dad52baaSShawn O. Pearce      <testResource>
142dad52baaSShawn O. Pearce        <directory>tst-rsrc/</directory>
143dad52baaSShawn O. Pearce      </testResource>
144dad52baaSShawn O. Pearce    </testResources>
145dad52baaSShawn O. Pearce
146dad52baaSShawn O. Pearce    <plugins>
147dad52baaSShawn O. Pearce      <plugin>
148b97a35d7SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
149b97a35d7SMatthias Sohn        <artifactId>maven-jar-plugin</artifactId>
150b97a35d7SMatthias Sohn        <executions>
151b97a35d7SMatthias Sohn          <execution>
152b97a35d7SMatthias Sohn            <goals>
153b97a35d7SMatthias Sohn              <goal>test-jar</goal>
154b97a35d7SMatthias Sohn            </goals>
155b97a35d7SMatthias Sohn          </execution>
156b97a35d7SMatthias Sohn        </executions>
157b97a35d7SMatthias Sohn      </plugin>
158b97a35d7SMatthias Sohn      <plugin>
159dad52baaSShawn O. Pearce        <artifactId>maven-surefire-plugin</artifactId>
160dad52baaSShawn O. Pearce        <configuration>
1611e8b68cbSMatthias Sohn          <argLine>@{argLine} -Xmx768m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
1625e5fbb60SDavid Pursehouse          <includes>
1635e5fbb60SDavid Pursehouse            <include>**/*Test.java</include>
1645e5fbb60SDavid Pursehouse            <include>**/*Tests.java</include>
1655e5fbb60SDavid Pursehouse          </includes>
166dad52baaSShawn O. Pearce        </configuration>
167dad52baaSShawn O. Pearce      </plugin>
168dad52baaSShawn O. Pearce    </plugins>
169dad52baaSShawn O. Pearce  </build>
170dad52baaSShawn O. Pearce</project>
171