<?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>patch-project</artifactId>
    <groupId>org.fusesource.patch</groupId>
    <version>1.0.0.redhat-355</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>patch-client</artifactId>
  <name>Fuse Patch :: Client</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <transformers>
                <transformer>
                  <mainClass>org.fusesource.patch.client.Main</mainClass>
                </transformer>
              </transformers>
              <artifactSet>
                <includes>
                  <include>org.fusesource.patch:patch-core</include>
                  <include>org.apache.felix:org.apache.felix.utils</include>
                  <include>org.osgi:org.osgi.core</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>org.osgi:org.osgi.core</artifact>
                  <includes>
                    <include>org/osgi/framework/Version.class</include>
                  </includes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-nop</artifactId>
      <version>1.6.1</version>
      <scope>compile</scope>
    </dependency>
    <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>
</project>

