xref: /JGit/org.eclipse.jgit.junit.ssh/pom.xml (revision 8d2d683655e2de17cf465fa46af10e0e56b3aaed)
11316d43eSThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
21316d43eSThomas Wolf<!--
35c5f7c6bSMatthias Sohn  Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com> and others
41316d43eSThomas 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.
81316d43eSThomas Wolf
95c5f7c6bSMatthias Sohn  SPDX-License-Identifier: BSD-3-Clause
101316d43eSThomas Wolf-->
111316d43eSThomas Wolf
121316d43eSThomas Wolf<project xmlns="http://maven.apache.org/POM/4.0.0"
131316d43eSThomas Wolf    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
141316d43eSThomas Wolf    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
151316d43eSThomas Wolf  <modelVersion>4.0.0</modelVersion>
161316d43eSThomas Wolf
171316d43eSThomas Wolf  <parent>
181316d43eSThomas Wolf    <groupId>org.eclipse.jgit</groupId>
191316d43eSThomas Wolf    <artifactId>org.eclipse.jgit-parent</artifactId>
208fab712fSMatthias Sohn    <version>5.8.0-SNAPSHOT</version>
211316d43eSThomas Wolf  </parent>
221316d43eSThomas Wolf
231316d43eSThomas Wolf  <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
241316d43eSThomas Wolf  <name>JGit - JUnit Ssh Utility Classes</name>
251316d43eSThomas Wolf
261316d43eSThomas Wolf  <description>
271316d43eSThomas Wolf    Utility classes to support Ssh based JUnit testing of JGit applications.
281316d43eSThomas Wolf  </description>
291316d43eSThomas Wolf
301316d43eSThomas Wolf  <properties>
311316d43eSThomas Wolf    <translate-qualifier/>
3227f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
331316d43eSThomas Wolf  </properties>
341316d43eSThomas Wolf
351316d43eSThomas Wolf  <dependencies>
361316d43eSThomas Wolf    <dependency>
371316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
381316d43eSThomas Wolf      <artifactId>org.eclipse.jgit</artifactId>
391316d43eSThomas Wolf      <version>${project.version}</version>
401316d43eSThomas Wolf    </dependency>
411316d43eSThomas Wolf
421316d43eSThomas Wolf    <dependency>
43*8d2d6836SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
44*8d2d6836SMatthias Sohn      <artifactId>org.eclipse.jgit.junit</artifactId>
45*8d2d6836SMatthias Sohn      <version>${project.version}</version>
46*8d2d6836SMatthias Sohn    </dependency>
47*8d2d6836SMatthias Sohn
48*8d2d6836SMatthias Sohn    <dependency>
491316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
5086cee68eSThomas Wolf      <artifactId>sshd-osgi</artifactId>
511316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
521316d43eSThomas Wolf    </dependency>
531316d43eSThomas Wolf
541316d43eSThomas Wolf    <dependency>
551316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
561316d43eSThomas Wolf      <artifactId>sshd-sftp</artifactId>
571316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
581316d43eSThomas Wolf    </dependency>
591316d43eSThomas Wolf
601316d43eSThomas Wolf    <dependency>
61*8d2d6836SMatthias Sohn      <groupId>com.jcraft</groupId>
62*8d2d6836SMatthias Sohn      <artifactId>jsch</artifactId>
63*8d2d6836SMatthias Sohn    </dependency>
64*8d2d6836SMatthias Sohn
65*8d2d6836SMatthias Sohn    <dependency>
66*8d2d6836SMatthias Sohn      <groupId>com.jcraft</groupId>
67*8d2d6836SMatthias Sohn      <artifactId>jzlib</artifactId>
68*8d2d6836SMatthias Sohn    </dependency>
69*8d2d6836SMatthias Sohn
70*8d2d6836SMatthias Sohn    <dependency>
711316d43eSThomas Wolf      <groupId>junit</groupId>
721316d43eSThomas Wolf      <artifactId>junit</artifactId>
731316d43eSThomas Wolf      <scope>provided</scope>
741316d43eSThomas Wolf    </dependency>
751316d43eSThomas Wolf  </dependencies>
761316d43eSThomas Wolf
771316d43eSThomas Wolf  <build>
781316d43eSThomas Wolf    <sourceDirectory>src/</sourceDirectory>
791316d43eSThomas Wolf
801316d43eSThomas Wolf    <resources>
811316d43eSThomas Wolf      <resource>
821316d43eSThomas Wolf        <directory>.</directory>
831316d43eSThomas Wolf        <includes>
841316d43eSThomas Wolf          <include>plugin.properties</include>
851316d43eSThomas Wolf        </includes>
861316d43eSThomas Wolf      </resource>
87*8d2d6836SMatthias Sohn      <resource>
88*8d2d6836SMatthias Sohn        <directory>resources/</directory>
89*8d2d6836SMatthias Sohn      </resource>
901316d43eSThomas Wolf    </resources>
911316d43eSThomas Wolf
921316d43eSThomas Wolf    <plugins>
931316d43eSThomas Wolf      <plugin>
9427f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
9527f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
9627f1fb66SMatthias Sohn        <executions>
9727f1fb66SMatthias Sohn          <execution>
9827f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
9927f1fb66SMatthias Sohn            <phase>generate-resources</phase>
10027f1fb66SMatthias Sohn            <configuration>
10127f1fb66SMatthias Sohn              <target>
10227f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
10327f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
10427f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
10527f1fb66SMatthias Sohn                </replace>
10627f1fb66SMatthias Sohn              </target>
10727f1fb66SMatthias Sohn            </configuration>
10827f1fb66SMatthias Sohn            <goals>
10927f1fb66SMatthias Sohn              <goal>run</goal>
11027f1fb66SMatthias Sohn            </goals>
11127f1fb66SMatthias Sohn          </execution>
11227f1fb66SMatthias Sohn        </executions>
11327f1fb66SMatthias Sohn      </plugin>
11427f1fb66SMatthias Sohn
11527f1fb66SMatthias Sohn      <plugin>
11627f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
11727f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
11827f1fb66SMatthias Sohn        <inherited>true</inherited>
11927f1fb66SMatthias Sohn        <executions>
12027f1fb66SMatthias Sohn          <execution>
12127f1fb66SMatthias Sohn            <id>attach-sources</id>
12227f1fb66SMatthias Sohn            <phase>process-classes</phase>
12327f1fb66SMatthias Sohn            <goals>
12427f1fb66SMatthias Sohn              <goal>jar</goal>
12527f1fb66SMatthias Sohn            </goals>
12627f1fb66SMatthias Sohn            <configuration>
12727f1fb66SMatthias Sohn              <archive>
12827f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
12927f1fb66SMatthias Sohn              </archive>
13027f1fb66SMatthias Sohn            </configuration>
13127f1fb66SMatthias Sohn          </execution>
13227f1fb66SMatthias Sohn        </executions>
13327f1fb66SMatthias Sohn      </plugin>
13427f1fb66SMatthias Sohn
13527f1fb66SMatthias Sohn      <plugin>
1361316d43eSThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
1371316d43eSThomas Wolf        <configuration>
1381316d43eSThomas Wolf          <archive>
1391316d43eSThomas Wolf            <manifestFile>${bundle-manifest}</manifestFile>
1401316d43eSThomas Wolf          </archive>
1411316d43eSThomas Wolf        </configuration>
1421316d43eSThomas Wolf      </plugin>
1431316d43eSThomas Wolf    </plugins>
1441316d43eSThomas Wolf  </build>
1451316d43eSThomas Wolf</project>
146