chat/server/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Tue, 20 May 2014 06:05:56 +0200
changeset 144 f784d803f065
parent 88 10e6f6e09811
child 226 40acb3267711
child 238 a0f15cb8c730
permissions -rw-r--r--
Making sure the dependencies are fully resolved to latest version of HTML+Java API
     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>2.6</version>
    74       <scope>runtime</scope>
    75     </dependency>
    76     <dependency>
    77       <groupId>org.testng</groupId>
    78       <artifactId>testng</artifactId>
    79       <version>6.5.2</version>
    80       <scope>test</scope>
    81     </dependency>
    82     <dependency>
    83       <groupId>org.glassfish.jersey.connectors</groupId>
    84       <artifactId>jersey-grizzly-connector</artifactId>
    85       <version>2.4.1</version>
    86     </dependency>
    87     <dependency>
    88       <groupId>org.glassfish.jersey.containers</groupId>
    89       <artifactId>jersey-container-grizzly2-http</artifactId>
    90       <version>2.6</version>
    91       <type>jar</type>
    92     </dependency>
    93     <dependency>
    94       <groupId>org.glassfish.grizzly</groupId>
    95       <artifactId>grizzly-http-server</artifactId>
    96       <version>2.3.8</version>
    97     </dependency>
    98     <dependency>
    99       <groupId>org.apidesign.html.demo</groupId>
   100       <artifactId>chat-model</artifactId>
   101       <version>1.0-SNAPSHOT</version>
   102       <type>jar</type>
   103     </dependency>
   104     <dependency>
   105       <artifactId>javax.ws.rs-api</artifactId>
   106       <groupId>javax.ws.rs</groupId>
   107       <type>jar</type>
   108       <version>2.0</version>
   109     </dependency>
   110     <dependency>
   111       <groupId>org.glassfish.jersey.core</groupId>
   112       <artifactId>jersey-common</artifactId>
   113       <version>2.6</version>
   114       <scope>runtime</scope>
   115     </dependency>
   116     <dependency>
   117       <groupId>org.glassfish.grizzly</groupId>
   118       <artifactId>grizzly-framework</artifactId>
   119       <version>2.3.8</version>
   120       <scope>runtime</scope>
   121     </dependency>
   122     <dependency>
   123       <artifactId>ko-ws-tyrus</artifactId>
   124       <groupId>org.netbeans.html</groupId>
   125       <type>jar</type>
   126       <version>${net.java.html.version}</version>
   127       <scope>runtime</scope>
   128     </dependency>
   129   </dependencies>
   130 </project>