1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.apidesign.demo</groupId>
6 <artifactId>chat-pom</artifactId>
7 <version>1.0-SNAPSHOT</version>
9 <artifactId>chat-server</artifactId>
10 <packaging>jar</packaging>
11 <name>Chat WebSocket Server</name>
13 <maven.compiler.source>1.7</maven.compiler.source>
14 <maven.compiler.target>1.7</maven.compiler.target>
15 <grizzly.version>2.3.8</grizzly.version>
18 <!-- compile + runtime -->
20 <groupId>org.netbeans.html</groupId>
21 <artifactId>net.java.html</artifactId>
22 <version>${net.java.html.version}</version>
26 <groupId>org.netbeans.html</groupId>
27 <artifactId>net.java.html.json</artifactId>
28 <version>${net.java.html.version}</version>
32 <artifactId>javax.websocket-api</artifactId>
33 <groupId>javax.websocket</groupId>
35 <version>1.0</version>
38 <!-- tyrus runtime -->
40 <groupId>org.glassfish.tyrus</groupId>
41 <artifactId>tyrus-client</artifactId>
42 <version>1.3.1</version>
43 <scope>runtime</scope>
46 <groupId>org.glassfish.tyrus</groupId>
47 <artifactId>tyrus-container-grizzly-client</artifactId>
48 <version>1.3.1</version>
49 <scope>runtime</scope>
54 <!-- test only deps -->
56 <groupId>org.glassfish.grizzly</groupId>
57 <artifactId>grizzly-http-server-core</artifactId>
58 <version>${grizzly.version}</version>
62 <groupId>org.glassfish.grizzly</groupId>
63 <artifactId>grizzly-websockets-server</artifactId>
64 <version>${grizzly.version}</version>
68 <groupId>org.glassfish.grizzly</groupId>
69 <artifactId>grizzly-http-server</artifactId>
70 <version>${grizzly.version}</version>
73 <groupId>org.glassfish.grizzly</groupId>
74 <artifactId>grizzly-http-servlet</artifactId>
75 <version>${grizzly.version}</version>
78 <groupId>javax.servlet</groupId>
79 <artifactId>javax.servlet-api</artifactId>
80 <version>3.1.0</version>
83 <groupId>${project.groupId}</groupId>
84 <artifactId>chat-shared</artifactId>
85 <version>${project.version}</version>
88 <groupId>org.netbeans.html</groupId>
89 <artifactId>ko-ws-tyrus</artifactId>
90 <version>${net.java.html.version}</version>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>exec-maven-plugin</artifactId>
98 <version>1.2.1</version>
100 <mainClass>org.apidesign.demo.chat.server.Main</mainClass>