<?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>adt4j-maven-parent</artifactId>
    <groupId>com.github.sviperll</groupId>
    <version>2.0.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>adt4j-shaded</artifactId>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <configuration>
          <ignoredUnusedDeclaredDependencies>
            <ignoredUnusedDeclaredDependency>com.github.sviperll:adt4j:*</ignoredUnusedDeclaredDependency>
          </ignoredUnusedDeclaredDependencies>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <minimizeJar>false</minimizeJar>
              <artifactSet>
                <excludes>
                  <exclude>javax.mail:mail</exclude>
                  <exclude>javax.activation:activation</exclude>
                  <exclude>com.google.code.findbugs:annotations</exclude>
                </excludes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>com.github.sviperll:metachicory</artifact>
                  <excludes>
                    <exclude>META-INF/**</exclude>
                  </excludes>
                </filter>
              </filters>
              <relocations>
                <relocation>
                  <pattern>com.github.sviperll</pattern>
                  <shadedPattern>com.github.sviperll.adt4j.internal.com.github.sviperll</shadedPattern>
                  <excludes>
                    <exclude>com.github.sviperll.adt4j.*</exclude>
                    <exclude>com.github.sviperll.meta.MemberAccess</exclude>
                    <exclude>com.github.sviperll.meta.Visitor</exclude>
                    <exclude>com.github.sviperll.Caching</exclude>
                  </excludes>
                </relocation>
                <relocation>
                  <pattern>com.helger.jcodemodel</pattern>
                  <shadedPattern>com.github.sviperll.adt4j.internal.com.helger.jcodemodel</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <properties>
    <parent.profile.activate>!pitest-report</parent.profile.activate>
  </properties>
</project>

