<?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>lr-public</artifactId>
    <groupId>com.zeroturnaround.liverebel</groupId>
    <version>2.7.6-pre1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>lr-api</artifactId>
  <name>LiveRebel API</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <relocations>
                <relocation>
                  <pattern>com.nothome</pattern>
                  <shadedPattern>com.zeroturnaround.liverebel.api.shaded.com.nothome</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>at</pattern>
                  <shadedPattern>com.zeroturnaround.liverebel.api.shaded.at</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>gnu</pattern>
                  <shadedPattern>com.zeroturnaround.liverebel.api.shaded.gnu</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>nanoxml</pattern>
                  <shadedPattern>com.zeroturnaround.liverebel.api.shaded.nanoxml</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org</pattern>
                  <shadedPattern>com.zeroturnaround.liverebel.api.shaded.org</shadedPattern>
                  <includes>
                    <include>org.apache.commons.codec.**</include>
                    <include>org.apache.commons.compress.**</include>
                    <include>org.apache.commons.io.**</include>
                    <include>org.apache.commons.lang.**</include>
                    <include>org.apache.commons.logging.**</include>
                    <include>org.apache.http.**</include>
                    <include>org.bouncycastle.**</include>
                    <include>org.json.**</include>
                    <include>org.tukaani.**</include>
                    <include>org.zeroturnaround.**</include>
                  </includes>
                </relocation>
              </relocations>
              <filters>
                <filter>
                  <artifact>bouncycastle:bcprov-jdk15</artifact>
                  <excludes>
                    <exclude>META-INF/BCKEY.DSA</exclude>
                    <exclude>META-INF/BCKEY.SF</exclude>
                  </excludes>
                </filter>
                <filter>
                  <artifact>bouncycastle:bcpg-jdk15</artifact>
                  <excludes>
                    <exclude>META-INF/BCKEY.DSA</exclude>
                    <exclude>META-INF/BCKEY.SF</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

