chat/server/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 22 Apr 2016 08:58:08 +0200
branchNewChat
changeset 241 6a59fdb91011
parent 240 2d0750864a98
permissions -rw-r--r--
Can parse the message on the server to Query model class
     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>
     4     <parent>
     5       <groupId>org.apidesign.demo</groupId>
     6       <artifactId>chat-pom</artifactId>
     7       <version>1.0-SNAPSHOT</version>
     8     </parent>
     9     <artifactId>chat-server</artifactId>
    10     <packaging>jar</packaging>
    11     <name>Chat WebSocket Server</name>
    12     <properties>
    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>
    16     </properties>
    17   <dependencies>
    18     <!-- compile + runtime -->
    19     <dependency>
    20       <groupId>org.netbeans.html</groupId>
    21       <artifactId>net.java.html</artifactId>
    22       <version>${net.java.html.version}</version>
    23       <type>jar</type>
    24     </dependency>
    25     <dependency>
    26       <groupId>org.netbeans.html</groupId>
    27       <artifactId>net.java.html.json</artifactId>
    28       <version>${net.java.html.version}</version>
    29       <type>jar</type>
    30     </dependency>
    31     <dependency>
    32       <artifactId>javax.websocket-api</artifactId>
    33       <groupId>javax.websocket</groupId>
    34       <type>jar</type>
    35       <version>1.0</version>
    36     </dependency>
    37 
    38     <!-- tyrus runtime -->
    39     <dependency>
    40         <groupId>org.glassfish.tyrus</groupId>
    41         <artifactId>tyrus-client</artifactId>
    42         <version>1.3.1</version>
    43         <scope>runtime</scope>
    44     </dependency>
    45     <dependency>
    46         <groupId>org.glassfish.tyrus</groupId>
    47         <artifactId>tyrus-container-grizzly-client</artifactId>
    48         <version>1.3.1</version>
    49         <scope>runtime</scope>
    50     </dependency>
    51 
    52 
    53 
    54     <!-- test only deps -->
    55     <dependency>
    56       <groupId>org.glassfish.grizzly</groupId>
    57       <artifactId>grizzly-http-server-core</artifactId>
    58       <version>${grizzly.version}</version>
    59       <type>jar</type>
    60     </dependency>
    61     <dependency>
    62       <groupId>org.glassfish.grizzly</groupId>
    63       <artifactId>grizzly-websockets-server</artifactId>
    64       <version>${grizzly.version}</version>
    65       <type>jar</type>
    66     </dependency>
    67     <dependency>
    68       <groupId>org.glassfish.grizzly</groupId>
    69       <artifactId>grizzly-http-server</artifactId>
    70       <version>${grizzly.version}</version>
    71     </dependency>
    72     <dependency>
    73         <groupId>org.glassfish.grizzly</groupId>
    74         <artifactId>grizzly-http-servlet</artifactId>
    75         <version>${grizzly.version}</version>
    76     </dependency>
    77     <dependency>
    78         <groupId>javax.servlet</groupId>
    79         <artifactId>javax.servlet-api</artifactId>
    80         <version>3.1.0</version>
    81     </dependency>
    82     <dependency>
    83       <groupId>${project.groupId}</groupId>
    84       <artifactId>chat-shared</artifactId>
    85       <version>${project.version}</version>
    86     </dependency>
    87     <dependency>
    88       <groupId>org.netbeans.html</groupId>
    89       <artifactId>ko-ws-tyrus</artifactId>
    90       <version>${net.java.html.version}</version>
    91     </dependency>
    92   </dependencies>
    93     <build>
    94         <plugins>
    95           <plugin>
    96               <groupId>org.codehaus.mojo</groupId>
    97               <artifactId>exec-maven-plugin</artifactId>
    98               <version>1.2.1</version>
    99               <configuration>
   100                   <mainClass>org.apidesign.demo.chat.server.Main</mainClass>
   101               </configuration>
   102           </plugin>      
   103         </plugins>
   104     </build>
   105 </project>