<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <artifactId>hotels-oss-parent</artifactId>
    <groupId>com.hotels</groupId>
    <version>2.0.6</version>
    <relativePath>../pom.xml/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>hcommon-ssh</artifactId>
  <name>SSH Tunneling Library</name>
  <version>1.0.1</version>
  <inceptionYear>2018</inceptionYear>
  <scm>
    <connection>scm:git:git@github.com:HotelsDotCom/hcommon-ssh.git</connection>
    <developerConnection>scm:git:git@github.com:HotelsDotCom/hcommon-ssh.git</developerConnection>
    <url>https://github.com/HotelsDotCom/hcommon-ssh</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${maven-shade-plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <createDependencyReducedPom>true</createDependencyReducedPom>
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
          <artifactSet>
            <includes>
              <include>com.jcraft:*</include>
              <include>com.pastdev:*</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>com.jcraft</pattern>
              <shadedPattern>${relocation-prefix}.com.jcraft</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.pastdev</pattern>
              <shadedPattern>${relocation-prefix}.com.pastdev</shadedPattern>
            </relocation>
          </relocations>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>3.4.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>platform</artifactId>
      <version>3.4.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.validation</groupId>
      <artifactId>validation-api</artifactId>
      <version>1.1.0.Final</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.5</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <relocation-prefix>com.hotels.hcommon.ssh</relocation-prefix>
    <validation-api.version>1.1.0.Final</validation-api.version>
    <slf4j.version>1.7.5</slf4j.version>
    <junit.version>4.12</junit.version>
    <hamcrest.version>1.3</hamcrest.version>
    <maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
    <jsch-extension.version>0.1.6</jsch-extension.version>
    <jsch.version>0.1.54</jsch.version>
    <mockito.version>1.10.19</mockito.version>
  </properties>
</project>

