serverside/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sun, 05 May 2013 15:38:59 +0200
changeset 6 ecb1ef414295
parent 5 f0a52c72ef74
child 7 bf3a8e6dd84a
permissions -rw-r--r--
Launcher also starts Jersey resource and binds it to /chat/
     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>demo</artifactId>
     8     <version>1.0-SNAPSHOT</version>
     9   </parent>
    10   <groupId>org.apidesign.bck2brwsr</groupId>
    11   <artifactId>demo-serverside</artifactId>
    12   <version>1.0-SNAPSHOT</version>
    13   <name>Bck2Brwsr and Bck2Server</name>
    14   <url>http://maven.apache.org</url>
    15   <properties>
    16     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    17     <net.java.html.version>0.2</net.java.html.version>
    18     <bck2brwsr.version>0.8-SNAPSHOT</bck2brwsr.version>
    19     <bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel>
    20     <brwsr.startpage>org/apidesign/bck2brwsr/demo/serverside/chat.html</brwsr.startpage>
    21   </properties>
    22   <build>
    23       <plugins>
    24           <plugin>
    25               <groupId>org.codehaus.mojo</groupId>
    26               <artifactId>exec-maven-plugin</artifactId>
    27               <version>1.2.1</version>
    28               <configuration>
    29                   <mainClass>org.apidesign.bck2brwsr.demo.serverside.ChatServerResource</mainClass>
    30               </configuration>
    31           </plugin>
    32          <plugin>
    33             <groupId>org.apache.maven.plugins</groupId>
    34             <artifactId>maven-compiler-plugin</artifactId>
    35             <version>2.3.2</version>
    36             <configuration>
    37                <source>1.7</source>
    38                <target>1.7</target>
    39             </configuration>
    40          </plugin>
    41       </plugins>
    42   </build>
    43   <dependencies>
    44     <dependency>
    45       <groupId>org.apidesign.html</groupId>
    46       <artifactId>net.java.html.json</artifactId>
    47       <version>${net.java.html.version}</version>
    48       <type>jar</type>
    49     </dependency>
    50     <dependency>
    51       <groupId>org.apidesign.html</groupId>
    52       <artifactId>ko-bck2brwsr</artifactId>
    53       <version>${net.java.html.version}</version>
    54       <scope>runtime</scope>
    55     </dependency>
    56     <dependency>
    57       <groupId>${project.groupId}</groupId>
    58       <artifactId>launcher.http</artifactId>
    59       <version>${bck2brwsr.version}</version>
    60       <scope>compile</scope>
    61       <exclusions>
    62         <exclusion>
    63           <artifactId>grizzly-http-server</artifactId>
    64           <groupId>org.glassfish.grizzly</groupId>
    65         </exclusion>
    66       </exclusions>
    67     </dependency>
    68     <dependency>
    69       <groupId>${project.groupId}</groupId>
    70       <artifactId>emul</artifactId>
    71       <version>${bck2brwsr.version}</version>
    72       <classifier>rt</classifier>
    73       <scope>runtime</scope>
    74     </dependency>
    75     <dependency>
    76       <groupId>org.testng</groupId>
    77       <artifactId>testng</artifactId>
    78       <version>6.5.2</version>
    79       <scope>test</scope>
    80     </dependency>
    81     <dependency>
    82       <groupId>org.glassfish.jersey.connectors</groupId>
    83       <artifactId>jersey-grizzly-connector</artifactId>
    84       <version>2.0-SNAPSHOT</version>
    85     </dependency>
    86     <dependency>
    87       <groupId>org.glassfish.jersey.containers</groupId>
    88       <artifactId>jersey-container-grizzly2-http</artifactId>
    89       <version>2.0-SNAPSHOT</version>
    90       <type>jar</type>
    91     </dependency>
    92     <dependency>
    93       <groupId>org.glassfish.grizzly</groupId>
    94       <artifactId>grizzly-http-server</artifactId>
    95       <version>2.3.1</version>
    96     </dependency>
    97     <dependency>
    98       <groupId>org.glassfish.jersey.incubator</groupId>
    99       <artifactId>html-json</artifactId>
   100       <version>0.1-SNAPSHOT</version>
   101     </dependency>
   102   </dependencies>
   103 </project>