<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.overlord.sramp</groupId>
    <artifactId>s-ramp</artifactId>
    <version>0.4.0.Final</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <artifactId>s-ramp-server-eap61</artifactId>
  <packaging>war</packaging>
  <name>S-RAMP Server (EAP 6.1)</name>
  
  <dependencies>
    <!-- The base WAR being extended -->
    <dependency>
      <groupId>org.overlord.sramp</groupId>
      <artifactId>s-ramp-server</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>
  </dependencies>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <overlays>
            <overlay>
              <groupId>${project.groupId}</groupId>
              <artifactId>s-ramp-server</artifactId>
              <excludes>
                <exclude>WEB-INF/lib/commons-codec-*.jar</exclude>
                <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/jakarta-regexp-*.jar</exclude>
                <exclude>WEB-INF/lib/jboss-marshalling-*.jar</exclude>
                <exclude>WEB-INF/lib/jcr-*.jar</exclude>
                <exclude>WEB-INF/lib/log4j-*.jar</exclude>
                <exclude>WEB-INF/lib/lucene-core-*.jar</exclude>
                <exclude>WEB-INF/lib/modeshape-common-*.jar</exclude>
                <exclude>WEB-INF/lib/modeshape-jcr-api-*.jar</exclude>
                <exclude>WEB-INF/lib/slf4j-api-*.jar</exclude>
                <exclude>WEB-INF/lib/staxmapper-*.jar</exclude>
                <exclude>WEB-INF/lib/jaxb-impl-*.jar</exclude>
                <exclude>WEB-INF/lib/resteasy-*.jar</exclude>
              </excludes>
            </overlay>
          </overlays>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>