<?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>blaze</artifactId>
    <groupId>com.fizzed</groupId>
    <version>1.0.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.fizzed</groupId>
  <artifactId>blaze-lite</artifactId>
  <name>blaze-lite</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.10</version>
        <executions>
          <execution>
            <id>copy-list</id>
            <phase>process-resources</phase>
            <goals>
              <goal>list</goal>
            </goals>
            <configuration>
              <outputFile>${project.build.outputDirectory}/com/fizzed/blaze/bundled.txt</outputFile>
              <includeScope>runtime</includeScope>
              <outputScope>false</outputScope>
              <excludeTransitive>false</excludeTransitive>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <transformers>
                <transformer>
                  <mainClass>com.fizzed.blaze.cli.Bootstrap</mainClass>
                </transformer>
              </transformers>
              <filters>
                <filter>
                  <artifact>org.apache.ivy</artifact>
                  <excludes>
                    <exclude>fr/jayasoft/**</exclude>
                    <exclude>org/apache/ivy/util/url/HttpClientHandler**</exclude>
                    <exclude>org/apache/ivy/plugins/signer/bouncycastle/OpenPGPSignatureGenerator.class</exclude>
                    <exclude>org/apache/ivy/plugins/repository/vfs/**</exclude>
                    <exclude>org/apache/ivy/plugins/matcher/GlobPatternMatcher**</exclude>
                    <exclude>org/apache/ivy/plugins/repository/ssh/SshCache**</exclude>
                    <exclude>org/apache/ivy/plugins/repository/sftp/**</exclude>
                    <exclude>org/apache/ivy/plugins/repository/ssh/**</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/packager/PackagerResolver**</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/VfsResolver**</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/packager/PackagerCacheEntry**</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/AbstractSshBasedResolver.class</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/SFTPResolver.class</exclude>
                    <exclude>org/apache/ivy/plugins/resolver/SshResolver.class</exclude>
                    <exclude>org/apache/ivy/*.png</exclude>
                    <exclude>org/apache/ivy/Main.class</exclude>
                    <exclude>org/apache/ivy/ant/**</exclude>
                    <exclude>org/apache/ivy/tools/**</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <properties>
    <main.java.package>com.fizzed.blaze.lite</main.java.package>
  </properties>
</project>

