xref: /JGit/org.eclipse.jgit.junit.ssh/pom.xml (revision 5c5f7c6b146b24f2bd4afae1902df85ad6e57ea3)
11316d43eSThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
21316d43eSThomas Wolf<!--
3*5c5f7c6bSMatthias Sohn  Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com> and others
41316d43eSThomas 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.
81316d43eSThomas Wolf
9*5c5f7c6bSMatthias 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>
20f487a9ebSMatthias Sohn    <version>5.7.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>
431316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
4486cee68eSThomas Wolf      <artifactId>sshd-osgi</artifactId>
451316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
461316d43eSThomas Wolf    </dependency>
471316d43eSThomas Wolf
481316d43eSThomas Wolf    <dependency>
491316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
501316d43eSThomas Wolf      <artifactId>sshd-sftp</artifactId>
511316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
521316d43eSThomas Wolf    </dependency>
531316d43eSThomas Wolf
541316d43eSThomas Wolf    <dependency>
551316d43eSThomas Wolf      <groupId>junit</groupId>
561316d43eSThomas Wolf      <artifactId>junit</artifactId>
571316d43eSThomas Wolf      <scope>provided</scope>
581316d43eSThomas Wolf    </dependency>
591316d43eSThomas Wolf  </dependencies>
601316d43eSThomas Wolf
611316d43eSThomas Wolf  <build>
621316d43eSThomas Wolf    <sourceDirectory>src/</sourceDirectory>
631316d43eSThomas Wolf
641316d43eSThomas Wolf    <resources>
651316d43eSThomas Wolf      <resource>
661316d43eSThomas Wolf        <directory>.</directory>
671316d43eSThomas Wolf        <includes>
681316d43eSThomas Wolf          <include>plugin.properties</include>
691316d43eSThomas Wolf        </includes>
701316d43eSThomas Wolf      </resource>
711316d43eSThomas Wolf    </resources>
721316d43eSThomas Wolf
731316d43eSThomas Wolf    <plugins>
741316d43eSThomas Wolf      <plugin>
7527f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
7627f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
7727f1fb66SMatthias Sohn        <executions>
7827f1fb66SMatthias Sohn          <execution>
7927f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
8027f1fb66SMatthias Sohn            <phase>generate-resources</phase>
8127f1fb66SMatthias Sohn            <configuration>
8227f1fb66SMatthias Sohn              <target>
8327f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
8427f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
8527f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
8627f1fb66SMatthias Sohn                </replace>
8727f1fb66SMatthias Sohn              </target>
8827f1fb66SMatthias Sohn            </configuration>
8927f1fb66SMatthias Sohn            <goals>
9027f1fb66SMatthias Sohn              <goal>run</goal>
9127f1fb66SMatthias Sohn            </goals>
9227f1fb66SMatthias Sohn          </execution>
9327f1fb66SMatthias Sohn        </executions>
9427f1fb66SMatthias Sohn      </plugin>
9527f1fb66SMatthias Sohn
9627f1fb66SMatthias Sohn      <plugin>
9727f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
9827f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
9927f1fb66SMatthias Sohn        <inherited>true</inherited>
10027f1fb66SMatthias Sohn        <executions>
10127f1fb66SMatthias Sohn          <execution>
10227f1fb66SMatthias Sohn            <id>attach-sources</id>
10327f1fb66SMatthias Sohn            <phase>process-classes</phase>
10427f1fb66SMatthias Sohn            <goals>
10527f1fb66SMatthias Sohn              <goal>jar</goal>
10627f1fb66SMatthias Sohn            </goals>
10727f1fb66SMatthias Sohn            <configuration>
10827f1fb66SMatthias Sohn              <archive>
10927f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
11027f1fb66SMatthias Sohn              </archive>
11127f1fb66SMatthias Sohn            </configuration>
11227f1fb66SMatthias Sohn          </execution>
11327f1fb66SMatthias Sohn        </executions>
11427f1fb66SMatthias Sohn      </plugin>
11527f1fb66SMatthias Sohn
11627f1fb66SMatthias Sohn      <plugin>
1171316d43eSThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
1181316d43eSThomas Wolf        <configuration>
1191316d43eSThomas Wolf          <archive>
1201316d43eSThomas Wolf            <manifestFile>${bundle-manifest}</manifestFile>
1211316d43eSThomas Wolf          </archive>
1221316d43eSThomas Wolf        </configuration>
1231316d43eSThomas Wolf      </plugin>
1241316d43eSThomas Wolf    </plugins>
1251316d43eSThomas Wolf  </build>
1261316d43eSThomas Wolf</project>
127