chat/server/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 09 Jan 2015 06:10:00 +0100
changeset 227 fd26342cf23d
parent 226 40acb3267711
permissions -rw-r--r--
Switching to HTML/Java@1.1 and bck2brwsr@0.12
     1 <?xml version="1.0"?>
     2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
     3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     4   <modelVersion>4.0.0</modelVersion>
     5   <parent>
     6     <groupId>org.apidesign.html</groupId>
     7     <artifactId>chat-demo</artifactId>
     8     <version>1.0-SNAPSHOT</version>
     9   </parent>
    10   <groupId>org.apidesign.html.demo</groupId>
    11   <artifactId>chat-server</artifactId>
    12   <version>1.0-SNAPSHOT</version>
    13   <name>Chat Server Using @Model</name>
    14   <url>http://maven.apache.org</url>
    15   <build>
    16       <plugins>
    17           <plugin>
    18               <groupId>org.codehaus.mojo</groupId>
    19               <artifactId>exec-maven-plugin</artifactId>
    20               <version>1.2.1</version>
    21               <configuration>
    22                   <mainClass>org.apidesign.bck2brwsr.demo.chatserver.impl.Main</mainClass>
    23               </configuration>
    24           </plugin>
    25          <plugin>
    26             <groupId>org.apache.maven.plugins</groupId>
    27             <artifactId>maven-compiler-plugin</artifactId>
    28             <version>2.3.2</version>
    29             <configuration>
    30                <source>1.7</source>
    31                <target>1.7</target>
    32             </configuration>
    33          </plugin>
    34          <plugin>
    35              <groupId>org.apache.maven.plugins</groupId>
    36              <artifactId>maven-dependency-plugin</artifactId>
    37              <version>2.7</version>
    38              <executions>
    39                  <execution>
    40                     <phase>process-resources</phase>
    41                     <id>unpack-client-code</id>
    42                     <goals>
    43                         <goal>unpack</goal>
    44                     </goals>
    45                     <configuration>
    46                         <artifactItems>
    47                             <artifactItem>
    48                                 <groupId>org.apidesign.html.demo</groupId>
    49                                 <artifactId>chat-client</artifactId>
    50                                 <version>1.0-SNAPSHOT</version>
    51                                 <type>zip</type>
    52                                 <classifier>bck2brwsr</classifier>
    53                             </artifactItem>
    54                         </artifactItems>
    55                         <outputDirectory>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/chatserver/impl/</outputDirectory>
    56                     </configuration>
    57                  </execution>
    58              </executions>
    59              
    60          </plugin>
    61       </plugins>
    62   </build>
    63   <dependencies>
    64     <dependency>
    65       <groupId>org.netbeans.html</groupId>
    66       <artifactId>net.java.html.json</artifactId>
    67       <version>${net.java.html.version}</version>
    68       <type>jar</type>
    69     </dependency>
    70     <dependency>
    71       <groupId>org.glassfish.jersey.media</groupId>
    72       <artifactId>html-json</artifactId>
    73       <version>${jersey.version}</version>
    74       <scope>runtime</scope>
    75       <exclusions>
    76           <exclusion>
    77               <groupId>org.netbeans.html</groupId>
    78               <artifactId>net.java.html.json</artifactId>
    79           </exclusion>
    80           <exclusion>
    81               <groupId>org.netbeans.html</groupId>
    82               <artifactId>ko-ws-tyrus</artifactId>
    83           </exclusion>
    84       </exclusions>
    85     </dependency>
    86     <dependency>
    87       <groupId>org.testng</groupId>
    88       <artifactId>testng</artifactId>
    89       <version>6.5.2</version>
    90       <scope>test</scope>
    91     </dependency>
    92     <dependency>
    93       <groupId>org.glassfish.jersey.connectors</groupId>
    94       <artifactId>jersey-grizzly-connector</artifactId>
    95       <version>${jersey.version}</version>
    96     </dependency>
    97     <dependency>
    98       <groupId>org.glassfish.jersey.containers</groupId>
    99       <artifactId>jersey-container-grizzly2-http</artifactId>
   100       <version>${jersey.version}</version>
   101       <type>jar</type>
   102     </dependency>
   103     <dependency>
   104       <groupId>org.glassfish.grizzly</groupId>
   105       <artifactId>grizzly-http-server</artifactId>
   106       <version>${grizzly.version}</version>
   107     </dependency>
   108     <dependency>
   109       <groupId>org.apidesign.html.demo</groupId>
   110       <artifactId>chat-model</artifactId>
   111       <version>${project.version}</version>
   112       <type>jar</type>
   113     </dependency>
   114     <dependency>
   115       <groupId>org.glassfish.jersey.core</groupId>
   116       <artifactId>jersey-common</artifactId>
   117       <version>${jersey.version}</version>
   118       <scope>runtime</scope>
   119     </dependency>
   120     <dependency>
   121       <groupId>org.glassfish.grizzly</groupId>
   122       <artifactId>grizzly-framework</artifactId>
   123       <version>${grizzly.version}</version>
   124       <scope>runtime</scope>
   125     </dependency>
   126     <dependency>
   127       <artifactId>ko-ws-tyrus</artifactId>
   128       <groupId>org.netbeans.html</groupId>
   129       <type>jar</type>
   130       <version>${net.java.html.version}</version>
   131       <scope>runtime</scope>
   132       <exclusions>
   133           <exclusion>
   134               <groupId>org.glassfish.tyrus</groupId>
   135               <artifactId>tyrus-container-grizzly-client</artifactId>
   136           </exclusion>
   137           <exclusion>
   138               <groupId>org.glassfish.tyrus</groupId>
   139               <artifactId>tyrus-client</artifactId>
   140           </exclusion>
   141           <exclusion>
   142               <groupId>javax.websocket</groupId>
   143               <artifactId>javax.websocket-api</artifactId>
   144           </exclusion>
   145       </exclusions>
   146     </dependency>
   147     <dependency>
   148       <groupId>org.glassfish.tyrus</groupId>
   149       <artifactId>tyrus-container-grizzly-client</artifactId>
   150       <version>1.8.3</version>
   151       <scope>runtime</scope>
   152       <exclusions>
   153           <exclusion>
   154               <groupId>org.glassfish.grizzly</groupId>
   155               <artifactId>grizzly-http-server</artifactId>
   156           </exclusion>
   157           <exclusion>
   158               <groupId>org.glassfish.grizzly</groupId>
   159               <artifactId>grizzly-framework</artifactId>
   160           </exclusion>
   161       </exclusions>  
   162     </dependency>    
   163   </dependencies>
   164 </project>