xref: /JGit/org.eclipse.jgit.ssh.apache.test/pom.xml (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
1488d9557SThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
2488d9557SThomas Wolf<!--
3*5c5f7c6bSMatthias Sohn  Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others
4488d9557SThomas Wolf
5*5c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
6*5c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
7*5c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
8488d9557SThomas Wolf
9*5c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
10488d9557SThomas Wolf-->
11488d9557SThomas Wolf
12488d9557SThomas Wolf<project xmlns="http://maven.apache.org/POM/4.0.0"
13488d9557SThomas Wolf    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14488d9557SThomas Wolf    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
15488d9557SThomas Wolf  <modelVersion>4.0.0</modelVersion>
16488d9557SThomas Wolf
17488d9557SThomas Wolf  <parent>
18488d9557SThomas Wolf    <groupId>org.eclipse.jgit</groupId>
19488d9557SThomas Wolf    <artifactId>org.eclipse.jgit-parent</artifactId>
20f487a9ebSMatthias Sohn    <version>5.7.0-SNAPSHOT</version>
21488d9557SThomas Wolf  </parent>
22488d9557SThomas Wolf
23488d9557SThomas Wolf  <artifactId>org.eclipse.jgit.ssh.apache.test</artifactId>
24488d9557SThomas Wolf  <name>JGit - Apache sshd SSH Tests</name>
25488d9557SThomas Wolf
26488d9557SThomas Wolf  <description>
27488d9557SThomas Wolf    JUnit tests for the JGit SSH support based on Apache MINA sshd.
28488d9557SThomas Wolf  </description>
29488d9557SThomas Wolf
30488d9557SThomas Wolf  <properties>
31488d9557SThomas Wolf    <maven.javadoc.skip>true</maven.javadoc.skip>
32488d9557SThomas Wolf  </properties>
33488d9557SThomas Wolf
34488d9557SThomas Wolf  <dependencies>
35488d9557SThomas Wolf    <dependency>
36488d9557SThomas Wolf      <groupId>junit</groupId>
37488d9557SThomas Wolf      <artifactId>junit</artifactId>
38488d9557SThomas Wolf    </dependency>
39488d9557SThomas Wolf
40488d9557SThomas Wolf    <dependency>
41488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
42488d9557SThomas Wolf      <artifactId>org.eclipse.jgit</artifactId>
43488d9557SThomas Wolf      <version>${project.version}</version>
44488d9557SThomas Wolf    </dependency>
45488d9557SThomas Wolf
46488d9557SThomas Wolf    <dependency>
47488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
48488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.junit</artifactId>
49488d9557SThomas Wolf      <version>${project.version}</version>
50488d9557SThomas Wolf    </dependency>
51488d9557SThomas Wolf
52488d9557SThomas Wolf    <dependency>
53488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
54488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
55488d9557SThomas Wolf      <version>${project.version}</version>
56488d9557SThomas Wolf    </dependency>
57488d9557SThomas Wolf
58488d9557SThomas Wolf    <dependency>
59488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
60488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.test</artifactId>
61488d9557SThomas Wolf      <version>${project.version}</version>
62488d9557SThomas Wolf    </dependency>
63488d9557SThomas Wolf
64488d9557SThomas Wolf  </dependencies>
65488d9557SThomas Wolf
66488d9557SThomas Wolf  <profiles>
67488d9557SThomas Wolf    <!-- Profile provides a property which enables long running tests. -->
68488d9557SThomas Wolf    <profile>
69488d9557SThomas Wolf      <id>test.long</id>
70488d9557SThomas Wolf      <build>
71488d9557SThomas Wolf        <plugins>
72488d9557SThomas Wolf          <plugin>
73488d9557SThomas Wolf            <groupId>org.apache.maven.plugins</groupId>
74488d9557SThomas Wolf            <artifactId>maven-surefire-plugin</artifactId>
75488d9557SThomas Wolf            <configuration>
769e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
77488d9557SThomas Wolf            </configuration>
78488d9557SThomas Wolf          </plugin>
79488d9557SThomas Wolf        </plugins>
80488d9557SThomas Wolf      </build>
81488d9557SThomas Wolf    </profile>
82488d9557SThomas Wolf  </profiles>
83488d9557SThomas Wolf
84488d9557SThomas Wolf  <build>
85488d9557SThomas Wolf    <sourceDirectory>src/</sourceDirectory>
86488d9557SThomas Wolf    <testSourceDirectory>tst/</testSourceDirectory>
87488d9557SThomas Wolf
88488d9557SThomas Wolf    <plugins>
89488d9557SThomas Wolf      <plugin>
90488d9557SThomas Wolf        <groupId>org.apache.maven.plugins</groupId>
91488d9557SThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
92488d9557SThomas Wolf        <executions>
93488d9557SThomas Wolf          <execution>
94488d9557SThomas Wolf            <goals>
95488d9557SThomas Wolf              <goal>test-jar</goal>
96488d9557SThomas Wolf            </goals>
97488d9557SThomas Wolf          </execution>
98488d9557SThomas Wolf        </executions>
99488d9557SThomas Wolf      </plugin>
100488d9557SThomas Wolf      <plugin>
101488d9557SThomas Wolf        <artifactId>maven-surefire-plugin</artifactId>
102488d9557SThomas Wolf        <configuration>
1039e5c7c53SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
104488d9557SThomas Wolf          <includes>
105488d9557SThomas Wolf            <include>**/*Test.java</include>
106488d9557SThomas Wolf            <include>**/*Tests.java</include>
107488d9557SThomas Wolf          </includes>
108488d9557SThomas Wolf        </configuration>
109488d9557SThomas Wolf      </plugin>
110488d9557SThomas Wolf    </plugins>
111488d9557SThomas Wolf  </build>
112488d9557SThomas Wolf</project>
113