xref: /JGit/org.eclipse.jgit.junit.ssh/pom.xml (revision 86cee68e0d9282ecc6a49792693309e8d5d9d984)
11316d43eSThomas Wolf<?xml version="1.0" encoding="UTF-8"?>
21316d43eSThomas Wolf<!--
31316d43eSThomas Wolf   Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com>
41316d43eSThomas Wolf   and other copyright owners as documented in the project's IP log.
51316d43eSThomas Wolf
61316d43eSThomas Wolf   This program and the accompanying materials are made available
71316d43eSThomas Wolf   under the terms of the Eclipse Distribution License v1.0 which
81316d43eSThomas Wolf   accompanies this distribution, is reproduced below, and is
91316d43eSThomas Wolf   available at http://www.eclipse.org/org/documents/edl-v10.php
101316d43eSThomas Wolf
111316d43eSThomas Wolf   All rights reserved.
121316d43eSThomas Wolf
131316d43eSThomas Wolf   Redistribution and use in source and binary forms, with or
141316d43eSThomas Wolf   without modification, are permitted provided that the following
151316d43eSThomas Wolf   conditions are met:
161316d43eSThomas Wolf
171316d43eSThomas Wolf   - Redistributions of source code must retain the above copyright
181316d43eSThomas Wolf     notice, this list of conditions and the following disclaimer.
191316d43eSThomas Wolf
201316d43eSThomas Wolf   - Redistributions in binary form must reproduce the above
211316d43eSThomas Wolf     copyright notice, this list of conditions and the following
221316d43eSThomas Wolf     disclaimer in the documentation and/or other materials provided
231316d43eSThomas Wolf     with the distribution.
241316d43eSThomas Wolf
251316d43eSThomas Wolf   - Neither the name of the Eclipse Foundation, Inc. nor the
261316d43eSThomas Wolf     names of its contributors may be used to endorse or promote
271316d43eSThomas Wolf     products derived from this software without specific prior
281316d43eSThomas Wolf     written permission.
291316d43eSThomas Wolf
301316d43eSThomas Wolf   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
311316d43eSThomas Wolf   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
321316d43eSThomas Wolf   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
331316d43eSThomas Wolf   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
341316d43eSThomas Wolf   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
351316d43eSThomas Wolf   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
361316d43eSThomas Wolf   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
371316d43eSThomas Wolf   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
381316d43eSThomas Wolf   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
391316d43eSThomas Wolf   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
401316d43eSThomas Wolf   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
411316d43eSThomas Wolf   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
421316d43eSThomas Wolf   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
431316d43eSThomas Wolf-->
441316d43eSThomas Wolf
451316d43eSThomas Wolf<project xmlns="http://maven.apache.org/POM/4.0.0"
461316d43eSThomas Wolf    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
471316d43eSThomas Wolf    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
481316d43eSThomas Wolf  <modelVersion>4.0.0</modelVersion>
491316d43eSThomas Wolf
501316d43eSThomas Wolf  <parent>
511316d43eSThomas Wolf    <groupId>org.eclipse.jgit</groupId>
521316d43eSThomas Wolf    <artifactId>org.eclipse.jgit-parent</artifactId>
5390107d53SMatthias Sohn    <version>5.4.0-SNAPSHOT</version>
541316d43eSThomas Wolf  </parent>
551316d43eSThomas Wolf
561316d43eSThomas Wolf  <artifactId>org.eclipse.jgit.junit.ssh</artifactId>
571316d43eSThomas Wolf  <name>JGit - JUnit Ssh Utility Classes</name>
581316d43eSThomas Wolf
591316d43eSThomas Wolf  <description>
601316d43eSThomas Wolf    Utility classes to support Ssh based JUnit testing of JGit applications.
611316d43eSThomas Wolf  </description>
621316d43eSThomas Wolf
631316d43eSThomas Wolf  <properties>
641316d43eSThomas Wolf    <translate-qualifier/>
6527f1fb66SMatthias Sohn    <source-bundle-manifest>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</source-bundle-manifest>
661316d43eSThomas Wolf  </properties>
671316d43eSThomas Wolf
681316d43eSThomas Wolf  <dependencies>
691316d43eSThomas Wolf    <dependency>
701316d43eSThomas Wolf      <groupId>org.eclipse.jgit</groupId>
711316d43eSThomas Wolf      <artifactId>org.eclipse.jgit</artifactId>
721316d43eSThomas Wolf      <version>${project.version}</version>
731316d43eSThomas Wolf    </dependency>
741316d43eSThomas Wolf
751316d43eSThomas Wolf    <dependency>
761316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
77*86cee68eSThomas Wolf      <artifactId>sshd-osgi</artifactId>
781316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
791316d43eSThomas Wolf    </dependency>
801316d43eSThomas Wolf
811316d43eSThomas Wolf    <dependency>
821316d43eSThomas Wolf      <groupId>org.apache.sshd</groupId>
831316d43eSThomas Wolf      <artifactId>sshd-sftp</artifactId>
841316d43eSThomas Wolf      <version>${apache-sshd-version}</version>
851316d43eSThomas Wolf    </dependency>
861316d43eSThomas Wolf
871316d43eSThomas Wolf    <dependency>
881316d43eSThomas Wolf      <groupId>junit</groupId>
891316d43eSThomas Wolf      <artifactId>junit</artifactId>
901316d43eSThomas Wolf      <scope>provided</scope>
911316d43eSThomas Wolf    </dependency>
921316d43eSThomas Wolf  </dependencies>
931316d43eSThomas Wolf
941316d43eSThomas Wolf  <build>
951316d43eSThomas Wolf    <sourceDirectory>src/</sourceDirectory>
961316d43eSThomas Wolf
971316d43eSThomas Wolf    <resources>
981316d43eSThomas Wolf      <resource>
991316d43eSThomas Wolf        <directory>.</directory>
1001316d43eSThomas Wolf        <includes>
1011316d43eSThomas Wolf          <include>plugin.properties</include>
1021316d43eSThomas Wolf        </includes>
1031316d43eSThomas Wolf      </resource>
1041316d43eSThomas Wolf    </resources>
1051316d43eSThomas Wolf
1061316d43eSThomas Wolf    <plugins>
1071316d43eSThomas Wolf      <plugin>
10827f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
10927f1fb66SMatthias Sohn        <artifactId>maven-antrun-plugin</artifactId>
11027f1fb66SMatthias Sohn        <executions>
11127f1fb66SMatthias Sohn          <execution>
11227f1fb66SMatthias Sohn            <id>translate-source-qualifier</id>
11327f1fb66SMatthias Sohn            <phase>generate-resources</phase>
11427f1fb66SMatthias Sohn            <configuration>
11527f1fb66SMatthias Sohn              <target>
11627f1fb66SMatthias Sohn                <copy file="META-INF/SOURCE-MANIFEST.MF" tofile="${source-bundle-manifest}" overwrite="true"/>
11727f1fb66SMatthias Sohn                <replace file="${source-bundle-manifest}">
11827f1fb66SMatthias Sohn                  <replacefilter token=".qualifier" value=".${maven.build.timestamp}"/>
11927f1fb66SMatthias Sohn                </replace>
12027f1fb66SMatthias Sohn              </target>
12127f1fb66SMatthias Sohn            </configuration>
12227f1fb66SMatthias Sohn            <goals>
12327f1fb66SMatthias Sohn              <goal>run</goal>
12427f1fb66SMatthias Sohn            </goals>
12527f1fb66SMatthias Sohn          </execution>
12627f1fb66SMatthias Sohn        </executions>
12727f1fb66SMatthias Sohn      </plugin>
12827f1fb66SMatthias Sohn
12927f1fb66SMatthias Sohn      <plugin>
13027f1fb66SMatthias Sohn        <groupId>org.apache.maven.plugins</groupId>
13127f1fb66SMatthias Sohn        <artifactId>maven-source-plugin</artifactId>
13227f1fb66SMatthias Sohn        <inherited>true</inherited>
13327f1fb66SMatthias Sohn        <executions>
13427f1fb66SMatthias Sohn          <execution>
13527f1fb66SMatthias Sohn            <id>attach-sources</id>
13627f1fb66SMatthias Sohn            <phase>process-classes</phase>
13727f1fb66SMatthias Sohn            <goals>
13827f1fb66SMatthias Sohn              <goal>jar</goal>
13927f1fb66SMatthias Sohn            </goals>
14027f1fb66SMatthias Sohn            <configuration>
14127f1fb66SMatthias Sohn              <archive>
14227f1fb66SMatthias Sohn                <manifestFile>${source-bundle-manifest}</manifestFile>
14327f1fb66SMatthias Sohn              </archive>
14427f1fb66SMatthias Sohn            </configuration>
14527f1fb66SMatthias Sohn          </execution>
14627f1fb66SMatthias Sohn        </executions>
14727f1fb66SMatthias Sohn      </plugin>
14827f1fb66SMatthias Sohn
14927f1fb66SMatthias Sohn      <plugin>
1501316d43eSThomas Wolf        <artifactId>maven-jar-plugin</artifactId>
1511316d43eSThomas Wolf        <configuration>
1521316d43eSThomas Wolf          <archive>
1531316d43eSThomas Wolf            <manifestFile>${bundle-manifest}</manifestFile>
1541316d43eSThomas Wolf          </archive>
1551316d43eSThomas Wolf        </configuration>
1561316d43eSThomas Wolf      </plugin>
1571316d43eSThomas Wolf    </plugins>
1581316d43eSThomas Wolf  </build>
1591316d43eSThomas Wolf</project>
160