<?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>docker-java-parent</artifactId>
    <groupId>com.github.docker-java</groupId>
    <version>3.4.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>docker-java-transport-zerodep</artifactId>
  <name>docker-java-transport-zerodep</name>
  <description>Java API Client for Docker</description>
  <url>https://github.com/docker-java/docker-java</url>
  <build>
    <plugins>
      <plugin>
        <groupId>com.github.siom79.japicmp</groupId>
        <artifactId>japicmp-maven-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>com.github.dockerjava.zerodep.*</Export-Package>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <createDependencyReducedPom>true</createDependencyReducedPom>
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
          <createSourcesJar>true</createSourcesJar>
          <artifactSet>
            <excludes>
              <exclude>com.github.docker-java:docker-java-transport</exclude>
              <exclude>net.java.dev.jna:jna-platform</exclude>
              <exclude>net.java.dev.jna:*</exclude>
              <exclude>org.slf4j:slf4j-api</exclude>
            </excludes>
          </artifactSet>
          <filters>
            <filter>
              <artifact>com.github.docker-java:docker-java-transport-httpclient5</artifact>
              <excludes>
                <exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient.class</exclude>
                <exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient$*</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>org.apache.httpcomponents.client5:httpclient5</artifact>
              <excludes>
                <exclude>mozilla/*</exclude>
              </excludes>
            </filter>
          </filters>
          <relocations>
            <relocation>
              <pattern>org.apache</pattern>
              <shadedPattern>com.github.dockerjava.zerodep.shaded.org.apache</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.github.dockerjava.httpclient5</pattern>
              <shadedPattern>com.github.dockerjava.zerodep</shadedPattern>
            </relocation>
          </relocations>
          <transformers>
            <transformer />
          </transformers>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.github.docker-java</groupId>
      <artifactId>docker-java-transport</artifactId>
      <version>3.4.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.25</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>5.13.0</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <automatic.module.name>com.github.dockerjava.transport.zerodep</automatic.module.name>
  </properties>
</project>
