<?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>
        <groupId>org.eclipse.jetty.websocket</groupId>
        <artifactId>websocket-parent</artifactId>
        <version>9.0.3.v20130506</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>websocket-api</artifactId>
    <name>Jetty :: Websocket :: API</name>

    <properties>
        <bundle-symbolic-name>${project.groupId}.api</bundle-symbolic-name>
    </properties>

  <dependencies>
    <!-- NOTE: It is important that this websocket-api module NOT depend on any other jetty modules,
               for WebAppClassloader isolation reasons
               - Joakim
      -->
    <dependency>
      <groupId>org.eclipse.jetty.toolchain</groupId>
      <artifactId>jetty-test-helper</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>1.1</version>
                <executions>
                  <execution>
                    <id>ban-java-servlet-api</id>
                    <goals>
                      <goal>enforce</goal>
                    </goals>
                    <configuration>
                      <rules>
                        <bannedDependencies>
                          <includes>
                            <include>javax.servlet</include>
                            <include>servletapi</include>
                            <include>org.eclipse.jetty.orbit:javax.servlet</include>
                            <include>org.mortbay.jetty:servlet-api</include>
                            <include>jetty:servlet-api</include>
                          </includes>
                        </bannedDependencies>
                      </rules>
                    </configuration>
                  </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
