<?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>weld-servlet-parent</artifactId>
    <groupId>org.jboss.weld.servlet</groupId>
    <version>1.0.0-CR2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jboss.weld.servlet</groupId>
  <artifactId>weld-servlet</artifactId>
  <name>Weld Servlet module</name>
  <version>1.0.0-CR2</version>
  <url>http://www.seamframework.org/Weld</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <finalName>not-really</finalName>
          <attach>false</attach>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <createSourcesJar>true</createSourcesJar>
          <artifactSet>
            <excludes>
              <exclude>xml-apis:xml-apis</exclude>
              <exclude>org.apache.tomcat:catalina</exclude>
              <exclude>org.apache.tomcat:servlet-api</exclude>
              <exclude>org.apache.tomcat:juli</exclude>
              <exclude>org.apache.tomcat:annotations-api</exclude>
              <exclude>javax.faces:jsf-api</exclude>
              <exclude>javax.el:el-api</exclude>
            </excludes>
          </artifactSet>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

