1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2018, Thomas Wolf <thomas.wolf@paranor.ch> and others 4 5 This program and the accompanying materials are made available under the 6 terms of the Eclipse Distribution License v. 1.0 which is available at 7 http://www.eclipse.org/org/documents/edl-v10.php. 8 9 SPDX-License-Identifier: BSD-3-Clause 10--> 11 12<project xmlns="http://maven.apache.org/POM/4.0.0" 13 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 15 <modelVersion>4.0.0</modelVersion> 16 17 <parent> 18 <groupId>org.eclipse.jgit</groupId> 19 <artifactId>org.eclipse.jgit-parent</artifactId> 20 <version>5.13.0-SNAPSHOT</version> 21 </parent> 22 23 <artifactId>org.eclipse.jgit.ssh.apache.test</artifactId> 24 <name>JGit - Apache sshd SSH Tests</name> 25 26 <description> 27 JUnit tests for the JGit SSH support based on Apache MINA sshd. 28 </description> 29 30 <properties> 31 <maven.javadoc.skip>true</maven.javadoc.skip> 32 </properties> 33 34 <dependencies> 35 <dependency> 36 <groupId>junit</groupId> 37 <artifactId>junit</artifactId> 38 </dependency> 39 40 <dependency> 41 <groupId>org.eclipse.jgit</groupId> 42 <artifactId>org.eclipse.jgit</artifactId> 43 <version>${project.version}</version> 44 </dependency> 45 46 <dependency> 47 <groupId>org.eclipse.jgit</groupId> 48 <artifactId>org.eclipse.jgit.junit</artifactId> 49 <version>${project.version}</version> 50 </dependency> 51 52 <dependency> 53 <groupId>org.eclipse.jgit</groupId> 54 <artifactId>org.eclipse.jgit.junit.ssh</artifactId> 55 <version>${project.version}</version> 56 </dependency> 57 58 <dependency> 59 <groupId>org.eclipse.jgit</groupId> 60 <artifactId>org.eclipse.jgit.ssh.apache</artifactId> 61 <version>${project.version}</version> 62 </dependency> 63 64 <dependency> 65 <groupId>org.eclipse.jgit</groupId> 66 <artifactId>org.eclipse.jgit.test</artifactId> 67 <version>${project.version}</version> 68 </dependency> 69 70 </dependencies> 71 72 <profiles> 73 <!-- Profile provides a property which enables long running tests. --> 74 <profile> 75 <id>test.long</id> 76 <build> 77 <plugins> 78 <plugin> 79 <groupId>org.apache.maven.plugins</groupId> 80 <artifactId>maven-surefire-plugin</artifactId> 81 <configuration> 82 <argLine>@{argLine} -Djgit.test.long=true</argLine> 83 </configuration> 84 </plugin> 85 </plugins> 86 </build> 87 </profile> 88 </profiles> 89 90 <build> 91 <sourceDirectory>src/</sourceDirectory> 92 <testSourceDirectory>tst/</testSourceDirectory> 93 94 <plugins> 95 <plugin> 96 <groupId>org.apache.maven.plugins</groupId> 97 <artifactId>maven-jar-plugin</artifactId> 98 <executions> 99 <execution> 100 <goals> 101 <goal>test-jar</goal> 102 </goals> 103 </execution> 104 </executions> 105 </plugin> 106 <plugin> 107 <artifactId>maven-surefire-plugin</artifactId> 108 <configuration> 109 <argLine>@{argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=${project.build.directory}</argLine> 110 <includes> 111 <include>**/*Test.java</include> 112 <include>**/*Tests.java</include> 113 </includes> 114 </configuration> 115 </plugin> 116 </plugins> 117 </build> 118</project> 119