xref: /JGit/org.eclipse.jgit.junit.ssh/pom.xml (revision 1cbfea9ece03b40669377a7f858218f6994562ea)
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>
20*1cbfea9eSMatthias Sohn    <version>5.13.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>
438d2d6836SMatthias Sohn      <groupId>org.eclipse.jgit</groupId>
448d2d6836SMatthias Sohn      <artifactId>org.eclipse.jgit.junit</artifactId>
458d2d6836SMatthias Sohn      <version>${project.version}</version>
468d2d6836SMatthias Sohn    </dependency>
478d2d6836SMatthias Sohn
488d2d6836SMatthias 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>
611316d43eSThomas Wolf      <groupId>junit</groupId>
621316d43eSThomas Wolf      <artifactId>junit</artifactId>
631316d43eSThomas Wolf      <scope>provided</scope>
641316d43eSThomas Wolf    </dependency>
651316d43eSThomas Wolf  </dependencies>
661316d43eSThomas Wolf
671316d43eSThomas Wolf  <build>
681316d43eSThomas Wolf    <sourceDirectory>src/</sourceDirectory>
691316d43eSThomas Wolf
701316d43eSThomas Wolf    <resources>
711316d43eSThomas Wolf      <resource>
721316d43eSThomas Wolf        <directory>.</directory>
731316d43eSThomas Wolf        <includes>
741316d43eSThomas Wolf          <include>plugin.properties</include>
751316d43eSThomas Wolf        </includes>
761316d43eSThomas Wolf      </resource>
778d2d6836SMatthias Sohn      <resource>
788d2d6836SMatthias Sohn        <directory>resources/</directory>
798d2d6836SMatthias Sohn      </resource>
801316d43eSThomas Wolf    </resources>
811316d43eSThomas Wolf
821316d43eSThomas Wolf    <plugins>
831316d43eSThomas Wolf      <plugin>
8427f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
8527f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
8627f1fb66SMatthias Sohn        <executions>
8727f1fb66SMatthias Sohn          <execution>
8827f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
8927f1fb66SMatthias Sohn            <phase>generate-resources</phase>
9027f1fb66SMatthias Sohn            <configuration>
9127f1fb66SMatthias Sohn              <target>
9227f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
9327f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
9427f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
9527f1fb66SMatthias Sohn                </replace>
9627f1fb66SMatthias Sohn              </target>
9727f1fb66SMatthias Sohn            </configuration>
9827f1fb66SMatthias Sohn            <goals>
9927f1fb66SMatthias Sohn              <goal>run</goal>
10027f1fb66SMatthias Sohn            </goals>
10127f1fb66SMatthias Sohn          </execution>
10227f1fb66SMatthias Sohn        </executions>
10327f1fb66SMatthias Sohn      </plugin>
10427f1fb66SMatthias Sohn
10527f1fb66SMatthias Sohn      <plugin>
10627f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
10727f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
10827f1fb66SMatthias Sohn        <inherited>true</inherited>
10927f1fb66SMatthias Sohn        <executions>
11027f1fb66SMatthias Sohn          <execution>
11127f1fb66SMatthias Sohn            <id>attach-sources</id>
11227f1fb66SMatthias Sohn            <phase>process-classes</phase>
11327f1fb66SMatthias Sohn            <goals>
11427f1fb66SMatthias Sohn              <goal>jar</goal>
11527f1fb66SMatthias Sohn            </goals>
11627f1fb66SMatthias Sohn            <configuration>
11727f1fb66SMatthias Sohn              <archive>
11827f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
11927f1fb66SMatthias Sohn              </archive>
12027f1fb66SMatthias Sohn            </configuration>
12127f1fb66SMatthias Sohn          </execution>
12227f1fb66SMatthias Sohn        </executions>
12327f1fb66SMatthias Sohn      </plugin>
12427f1fb66SMatthias Sohn
12527f1fb66SMatthias Sohn      <plugin>
1261316d43eSThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
1271316d43eSThomas Wolf        <configuration>
1281316d43eSThomas Wolf          <archive>
1291316d43eSThomas Wolf            <manifestFile>${bundle-manifest}</manifestFile>
1301316d43eSThomas Wolf          </archive>
1311316d43eSThomas Wolf        </configuration>
1321316d43eSThomas Wolf      </plugin>
1331316d43eSThomas Wolf    </plugins>
1341316d43eSThomas Wolf  </build>
1351316d43eSThomas Wolf</project>
136