<?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>sgs-server-parent</artifactId>
    <groupId>com.projectdarkstar.server</groupId>
    <version>0.9.7</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>sgs-server-api</artifactId>
  <name>Project Darkstar Server API</name>
  <version>0.9.7</version>
  <description>The sgs-server-api package produces a jar artifact which
    includes only the classes intended to be exposed for
    developing applications</description>
  <url>http://www.projectdarkstar.com</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <executions>
          <execution>
            <id>auto-clean</id>
            <phase>validate</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>com.projectdarkstar.server:sgs-server</include>
                  <include>com.projectdarkstar.server:sgs-shared</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>com.projectdarkstar.server:sgs-server</artifact>
                  <includes>
                    <include>com/sun/sgs/app/**</include>
                  </includes>
                </filter>
                <filter>
                  <artifact>com.projectdarkstar.server:sgs-shared</artifact>
                  <includes>
                    <include>com/sun/sgs/protocol/simple/SimpleSgsProtocol*</include>
                  </includes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

