<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.artificer</groupId>
    <artifactId>artificer</artifactId>
    <version>1.0.0.Final</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <artifactId>artificer-server-eap6</artifactId>
  <packaging>war</packaging>
  <name>Artificer Server (EAP 6)</name>
  
  <dependencies>
    <!-- The base WAR being extended -->
    <dependency>
      <groupId>org.artificer</groupId>
      <artifactId>artificer-server</artifactId>
      <type>war</type>
    </dependency>
    <!-- Must provide these - fasterxml module not available in EAP. -->
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-core</artifactId>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-annotations</artifactId>
    </dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
    </dependency>
  </dependencies>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <overlays>
            <overlay>
              <groupId>${project.groupId}</groupId>
              <artifactId>artificer-server</artifactId>
              <excludes>
                <exclude>WEB-INF/lib/commons-collections-*.jar</exclude>
                <exclude>WEB-INF/lib/commons-configuration-*.jar</exclude>
                <exclude>WEB-INF/lib/commons-io-*.jar</exclude>
                <exclude>WEB-INF/lib/commons-lang-*.jar</exclude>
                <exclude>WEB-INF/lib/hibernate-*.jar</exclude>
                <exclude>WEB-INF/lib/jackson-*.jar</exclude>
                <exclude>WEB-INF/lib/jakarta-regexp-*.jar</exclude>
                <exclude>WEB-INF/lib/jaxb-impl-*.jar</exclude>
                <exclude>WEB-INF/lib/jboss-marshalling-*.jar</exclude>
                <exclude>WEB-INF/lib/log4j-*.jar</exclude>
                <exclude>WEB-INF/lib/lucene-*.jar</exclude>
                <exclude>WEB-INF/lib/resteasy-*.jar</exclude>
                <exclude>WEB-INF/lib/slf4j-api-*.jar</exclude>
                <exclude>WEB-INF/lib/staxmapper-*.jar</exclude>
              </excludes>
            </overlay>
          </overlays>
        </configuration>
      </plugin>
     </plugins>
  </build>
</project>
