Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4a58f9164f3a5c7a1a6bc88efa64198f822e47fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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.2.4-SNAPSHOT</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>
                <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>

Back to the top