xref: /JGit/org.eclipse.jgit.ssh.apache.test/pom.xml (revision 9e5c7c5358bac3dc0890cf00848704dad47ad1ba)
1488d9557SThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
2488d9557SThomas Wolf<!--
3488d9557SThomas Wolf   Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch>
4488d9557SThomas Wolf   and other copyright owners as documented in the project's IP log.
5488d9557SThomas Wolf
6488d9557SThomas Wolf   This program and the accompanying materials are made available
7488d9557SThomas Wolf   under the terms of the Eclipse Distribution License v1.0 which
8488d9557SThomas Wolf   accompanies this distribution, is reproduced below, and is
9488d9557SThomas Wolf   available at http://www.eclipse.org/org/documents/edl-v10.php
10488d9557SThomas Wolf
11488d9557SThomas Wolf   All rights reserved.
12488d9557SThomas Wolf
13488d9557SThomas Wolf   Redistribution and use in source and binary forms, with or
14488d9557SThomas Wolf   without modification, are permitted provided that the following
15488d9557SThomas Wolf   conditions are met:
16488d9557SThomas Wolf
17488d9557SThomas Wolf   - Redistributions of source code must retain the above copyright
18488d9557SThomas Wolf     notice, this list of conditions and the following disclaimer.
19488d9557SThomas Wolf
20488d9557SThomas Wolf   - Redistributions in binary form must reproduce the above
21488d9557SThomas Wolf     copyright notice, this list of conditions and the following
22488d9557SThomas Wolf     disclaimer in the documentation and/or other materials provided
23488d9557SThomas Wolf     with the distribution.
24488d9557SThomas Wolf
25488d9557SThomas Wolf   - Neither the name of the Eclipse Foundation, Inc. nor the
26488d9557SThomas Wolf     names of its contributors may be used to endorse or promote
27488d9557SThomas Wolf     products derived from this software without specific prior
28488d9557SThomas Wolf     written permission.
29488d9557SThomas Wolf
30488d9557SThomas Wolf   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
31488d9557SThomas Wolf   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
32488d9557SThomas Wolf   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
33488d9557SThomas Wolf   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34488d9557SThomas Wolf   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
35488d9557SThomas Wolf   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36488d9557SThomas Wolf   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37488d9557SThomas Wolf   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38488d9557SThomas Wolf   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39488d9557SThomas Wolf   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40488d9557SThomas Wolf   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41488d9557SThomas Wolf   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42488d9557SThomas Wolf   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43488d9557SThomas Wolf-->
44488d9557SThomas Wolf
45488d9557SThomas Wolf<project xmlns="http://maven.apache.org/POM/4.0.0"
46488d9557SThomas Wolf    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
47488d9557SThomas Wolf    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
48488d9557SThomas Wolf  <modelVersion>4.0.0</modelVersion>
49488d9557SThomas Wolf
50488d9557SThomas Wolf  <parent>
51488d9557SThomas Wolf    <groupId>org.eclipse.jgit</groupId>
52488d9557SThomas Wolf    <artifactId>org.eclipse.jgit-parent</artifactId>
5338da21d6SMatthias Sohn    <version>5.3.0-SNAPSHOT</version>
54488d9557SThomas Wolf  </parent>
55488d9557SThomas Wolf
56488d9557SThomas Wolf  <artifactId>org.eclipse.jgit.ssh.apache.test</artifactId>
57488d9557SThomas Wolf  <name>JGit - Apache sshd SSH Tests</name>
58488d9557SThomas Wolf
59488d9557SThomas Wolf  <description>
60488d9557SThomas Wolf    JUnit tests for the JGit SSH support based on Apache MINA sshd.
61488d9557SThomas Wolf  </description>
62488d9557SThomas Wolf
63488d9557SThomas Wolf  <properties>
64488d9557SThomas Wolf    <maven.javadoc.skip>true</maven.javadoc.skip>
65488d9557SThomas Wolf  </properties>
66488d9557SThomas Wolf
67488d9557SThomas Wolf  <dependencies>
68488d9557SThomas Wolf    <dependency>
69488d9557SThomas Wolf      <groupId>junit</groupId>
70488d9557SThomas Wolf      <artifactId>junit</artifactId>
71488d9557SThomas Wolf    </dependency>
72488d9557SThomas Wolf
73488d9557SThomas Wolf    <dependency>
74488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
75488d9557SThomas Wolf      <artifactId>org.eclipse.jgit</artifactId>
76488d9557SThomas Wolf      <version>${project.version}</version>
77488d9557SThomas Wolf    </dependency>
78488d9557SThomas Wolf
79488d9557SThomas Wolf    <dependency>
80488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
81488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.junit</artifactId>
82488d9557SThomas Wolf      <version>${project.version}</version>
83488d9557SThomas Wolf    </dependency>
84488d9557SThomas Wolf
85488d9557SThomas Wolf    <dependency>
86488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
87488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
88488d9557SThomas Wolf      <version>${project.version}</version>
89488d9557SThomas Wolf    </dependency>
90488d9557SThomas Wolf
91488d9557SThomas Wolf    <dependency>
92488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
93488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.test</artifactId>
94488d9557SThomas Wolf      <version>${project.version}</version>
95488d9557SThomas Wolf    </dependency>
96488d9557SThomas Wolf
97488d9557SThomas Wolf  </dependencies>
98488d9557SThomas Wolf
99488d9557SThomas Wolf  <profiles>
100488d9557SThomas Wolf    <!-- Profile provides a property which enables long running tests. -->
101488d9557SThomas Wolf    <profile>
102488d9557SThomas Wolf      <id>test.long</id>
103488d9557SThomas Wolf      <build>
104488d9557SThomas Wolf        <plugins>
105488d9557SThomas Wolf          <plugin>
106488d9557SThomas Wolf            <groupId>org.apache.maven.plugins</groupId>
107488d9557SThomas Wolf            <artifactId>maven-surefire-plugin</artifactId>
108488d9557SThomas Wolf            <configuration>
109*9e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
110488d9557SThomas Wolf            </configuration>
111488d9557SThomas Wolf          </plugin>
112488d9557SThomas Wolf        </plugins>
113488d9557SThomas Wolf      </build>
114488d9557SThomas Wolf    </profile>
115488d9557SThomas Wolf  </profiles>
116488d9557SThomas Wolf
117488d9557SThomas Wolf  <build>
118488d9557SThomas Wolf    <sourceDirectory>src/</sourceDirectory>
119488d9557SThomas Wolf    <testSourceDirectory>tst/</testSourceDirectory>
120488d9557SThomas Wolf
121488d9557SThomas Wolf    <plugins>
122488d9557SThomas Wolf      <plugin>
123488d9557SThomas Wolf        <groupId>org.apache.maven.plugins</groupId>
124488d9557SThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
125488d9557SThomas Wolf        <executions>
126488d9557SThomas Wolf          <execution>
127488d9557SThomas Wolf            <goals>
128488d9557SThomas Wolf              <goal>test-jar</goal>
129488d9557SThomas Wolf            </goals>
130488d9557SThomas Wolf          </execution>
131488d9557SThomas Wolf        </executions>
132488d9557SThomas Wolf      </plugin>
133488d9557SThomas Wolf      <plugin>
134488d9557SThomas Wolf        <artifactId>maven-surefire-plugin</artifactId>
135488d9557SThomas Wolf        <configuration>
136*9e5c7c53SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
137488d9557SThomas Wolf          <includes>
138488d9557SThomas Wolf            <include>**/*Test.java</include>
139488d9557SThomas Wolf            <include>**/*Tests.java</include>
140488d9557SThomas Wolf          </includes>
141488d9557SThomas Wolf        </configuration>
142488d9557SThomas Wolf      </plugin>
143488d9557SThomas Wolf    </plugins>
144488d9557SThomas Wolf  </build>
145488d9557SThomas Wolf</project>
146