xref: /JGit/org.eclipse.jgit.ssh.apache.test/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
1488d9557SThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
2488d9557SThomas Wolf<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others
4488d9557SThomas Wolf
55c5f7c6bSMatthias Sohn  This program and the accompanying materials are made available under the
65c5f7c6bSMatthias Sohn  terms of the Eclipse Distribution License v. 1.0 which is available at
75c5f7c6bSMatthias Sohn  http://www.eclipse.org/org/documents/edl-v10.php.
8488d9557SThomas Wolf
95c5f7c6bSMatthias 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>
20*1cbfea9eSMatthias Sohn    <version>5.13.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>
548d2d6836SMatthias Sohn      <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
558d2d6836SMatthias Sohn      <version>${project.version}</version>
568d2d6836SMatthias Sohn    </dependency>
578d2d6836SMatthias Sohn
588d2d6836SMatthias Sohn    <dependency>
598d2d6836SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
60488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.ssh.apache</artifactId>
61488d9557SThomas Wolf      <version>${project.version}</version>
62488d9557SThomas Wolf    </dependency>
63488d9557SThomas Wolf
64488d9557SThomas Wolf    <dependency>
65488d9557SThomas Wolf      <groupId>org.eclipse.jgit</groupId>
66488d9557SThomas Wolf      <artifactId>org.eclipse.jgit.test</artifactId>
67488d9557SThomas Wolf      <version>${project.version}</version>
68488d9557SThomas Wolf    </dependency>
69488d9557SThomas Wolf
70488d9557SThomas Wolf  </dependencies>
71488d9557SThomas Wolf
72488d9557SThomas Wolf  <profiles>
73488d9557SThomas Wolf    <!-- Profile provides a property which enables long running tests. -->
74488d9557SThomas Wolf    <profile>
75488d9557SThomas Wolf      <id>test.long</id>
76488d9557SThomas Wolf      <build>
77488d9557SThomas Wolf        <plugins>
78488d9557SThomas Wolf          <plugin>
79488d9557SThomas Wolf            <groupId>org.apache.maven.plugins</groupId>
80488d9557SThomas Wolf            <artifactId>maven-surefire-plugin</artifactId>
81488d9557SThomas Wolf            <configuration>
829e5c7c53SMatthias Sohn              <argLine>@{argLine} -Djgit.test.long=true</argLine>
83488d9557SThomas Wolf            </configuration>
84488d9557SThomas Wolf          </plugin>
85488d9557SThomas Wolf        </plugins>
86488d9557SThomas Wolf      </build>
87488d9557SThomas Wolf    </profile>
88488d9557SThomas Wolf  </profiles>
89488d9557SThomas Wolf
90488d9557SThomas Wolf  <build>
91488d9557SThomas Wolf    <sourceDirectory>src/</sourceDirectory>
92488d9557SThomas Wolf    <testSourceDirectory>tst/</testSourceDirectory>
93488d9557SThomas Wolf
94488d9557SThomas Wolf    <plugins>
95488d9557SThomas Wolf      <plugin>
96488d9557SThomas Wolf        <groupId>org.apache.maven.plugins</groupId>
97488d9557SThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
98488d9557SThomas Wolf        <executions>
99488d9557SThomas Wolf          <execution>
100488d9557SThomas Wolf            <goals>
101488d9557SThomas Wolf              <goal>test-jar</goal>
102488d9557SThomas Wolf            </goals>
103488d9557SThomas Wolf          </execution>
104488d9557SThomas Wolf        </executions>
105488d9557SThomas Wolf      </plugin>
106488d9557SThomas Wolf      <plugin>
107488d9557SThomas Wolf        <artifactId>maven-surefire-plugin</artifactId>
108488d9557SThomas Wolf        <configuration>
1099e5c7c53SMatthias Sohn          <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine>
110488d9557SThomas Wolf          <includes>
111488d9557SThomas Wolf            <include>**/*Test.java</include>
112488d9557SThomas Wolf            <include>**/*Tests.java</include>
113488d9557SThomas Wolf          </includes>
114488d9557SThomas Wolf        </configuration>
115488d9557SThomas Wolf      </plugin>
116488d9557SThomas Wolf    </plugins>
117488d9557SThomas Wolf  </build>
118488d9557SThomas Wolf</project>
119