<?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>crafter-studio-publishing-receiver-parent</artifactId>
    <groupId>org.craftercms</groupId>
    <version>2.5.0.e</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.craftercms</groupId>
  <artifactId>crafter-studio-publishing-receiver</artifactId>
  <name>Crafter Studio Publishing Receiver</name>
  <url>http://maven.apache.org</url>
  <build>
    <resources>
      <resource>
        <targetPath>META-INF</targetPath>
        <directory>src/main/resources/META-INF</directory>
      </resource>
      <resource>
        <targetPath>spring</targetPath>
        <directory>src/main/resources/spring</directory>
      </resource>
      <resource>
        <targetPath>cstudio</targetPath>
        <directory>src/main/resources/cstudio</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <excludes>
                  <exclude>org.springframework:spring</exclude>
                </excludes>
              </artifactSet>
              <transformers>
                <transformer>
                  <mainClass>org.craftercms.cstudio.publishing.PublishingReceiverMain</mainClass>
                </transformer>
                <transformer>
                  <resource>META-INF/spring.handlers</resource>
                </transformer>
                <transformer>
                  <resource>META-INF/spring.schemas</resource>
                </transformer>
              </transformers>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                    <exclude>log4j.xml</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.6</version>
        <configuration>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <properties>
    <jetty-version>8.1.2.v20120308</jetty-version>
    <spring.version.local>3.1.1.RELEASE</spring.version.local>
  </properties>
</project>

