chat/server/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 19 May 2013 16:56:36 +0200
changeset 19 3b444d059b6e
parent 13 fd9a16bbfd0e
child 21 65cadba2cf02
permissions -rw-r--r--
Jersey's html-json has been published (at snapshots repository). Using it.
     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.apidesign.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.1-SNAPSHOT</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.0-SNAPSHOT</version>
    86     </dependency>
    87     <dependency>
    88       <groupId>org.glassfish.jersey.containers</groupId>
    89       <artifactId>jersey-container-grizzly2-http</artifactId>
    90       <version>2.0-SNAPSHOT</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.1</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   </dependencies>
   105 </project>