<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-ui</artifactId>
    <version>0.4.0.Final</version>
  </parent>
  <artifactId>s-ramp-ui-war-jetty8</artifactId>
  <packaging>war</packaging>
  <name>S-RAMP UI: Web App (Jetty 8)</name>
  
  <dependencies>
    <!-- The base WAR being extended -->
    <dependency>
      <groupId>org.overlord.sramp</groupId>
      <artifactId>s-ramp-ui-war</artifactId>
      <version>${project.version}</version>
      <type>war</type>
    </dependency>

    <!-- Other Jetty-only dependencies -->
    <dependency>
      <groupId>javax.enterprise</groupId>
      <artifactId>cdi-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.overlord</groupId>
      <artifactId>overlord-commons-auth-jetty8</artifactId>
    </dependency>
    <dependency>
      <groupId>org.picketlink</groupId>
      <artifactId>picketlink-core</artifactId>
      <version>${picketlink.version}</version>
    </dependency>
  </dependencies>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <warName>s-ramp-ui-jetty8</warName>
          <overlays>
            <overlay>
              <groupId>${project.groupId}</groupId>
              <artifactId>s-ramp-ui-war</artifactId>
              <excludes>
                <exclude>WEB-INF/lib/jetty-naming-*.jar</exclude>
                <exclude>WEB-INF/lib/jetty-plus-*.jar</exclude>
              </excludes>
            </overlay>
          </overlays>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>