1.1 --- a/chat/server/pom.xml Tue May 20 06:05:56 2014 +0200
1.2 +++ b/chat/server/pom.xml Fri Apr 22 05:56:47 2016 +0200
1.3 @@ -1,130 +1,99 @@
1.4 -<?xml version="1.0"?>
1.5 -<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"
1.6 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1.7 - <modelVersion>4.0.0</modelVersion>
1.8 - <parent>
1.9 - <groupId>org.apidesign.html</groupId>
1.10 - <artifactId>chat-demo</artifactId>
1.11 - <version>1.0-SNAPSHOT</version>
1.12 - </parent>
1.13 - <groupId>org.apidesign.html.demo</groupId>
1.14 - <artifactId>chat-server</artifactId>
1.15 - <version>1.0-SNAPSHOT</version>
1.16 - <name>Chat Server Using @Model</name>
1.17 - <url>http://maven.apache.org</url>
1.18 - <build>
1.19 - <plugins>
1.20 +<?xml version="1.0" encoding="UTF-8"?>
1.21 +<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">
1.22 + <modelVersion>4.0.0</modelVersion>
1.23 + <parent>
1.24 + <groupId>org.apidesign.demo</groupId>
1.25 + <artifactId>chat-pom</artifactId>
1.26 + <version>1.0-SNAPSHOT</version>
1.27 + </parent>
1.28 + <artifactId>chat-server</artifactId>
1.29 + <packaging>jar</packaging>
1.30 + <name>chat Jersey based Server</name>
1.31 + <properties>
1.32 + <maven.compiler.source>1.7</maven.compiler.source>
1.33 + <maven.compiler.target>1.7</maven.compiler.target>
1.34 + </properties>
1.35 + <dependencies>
1.36 + <dependency>
1.37 + <groupId>org.netbeans.html</groupId>
1.38 + <artifactId>net.java.html.json</artifactId>
1.39 + <version>${net.java.html.version}</version>
1.40 + <type>jar</type>
1.41 + </dependency>
1.42 + <dependency>
1.43 + <groupId>org.glassfish.jersey.media</groupId>
1.44 + <artifactId>html-json</artifactId>
1.45 + <version>${jersey.version}</version>
1.46 + <scope>runtime</scope>
1.47 + <exclusions>
1.48 + <!-- use explicitly specified versions -->
1.49 + <exclusion>
1.50 + <groupId>org.netbeans.html</groupId>
1.51 + <artifactId>net.java.html.json</artifactId>
1.52 + </exclusion>
1.53 + <exclusion>
1.54 + <groupId>org.netbeans.html</groupId>
1.55 + <artifactId>ko-ws-tyrus</artifactId>
1.56 + </exclusion>
1.57 + </exclusions>
1.58 + </dependency>
1.59 + <dependency>
1.60 + <groupId>org.testng</groupId>
1.61 + <artifactId>testng</artifactId>
1.62 + <scope>test</scope>
1.63 + </dependency>
1.64 + <dependency>
1.65 + <groupId>org.glassfish.jersey.connectors</groupId>
1.66 + <artifactId>jersey-grizzly-connector</artifactId>
1.67 + <version>${jersey.version}</version>
1.68 + </dependency>
1.69 + <dependency>
1.70 + <groupId>org.glassfish.jersey.containers</groupId>
1.71 + <artifactId>jersey-container-grizzly2-http</artifactId>
1.72 + <version>${jersey.version}</version>
1.73 + <type>jar</type>
1.74 + </dependency>
1.75 + <dependency>
1.76 + <groupId>org.glassfish.jersey.core</groupId>
1.77 + <artifactId>jersey-common</artifactId>
1.78 + <version>${jersey.version}</version>
1.79 + <scope>runtime</scope>
1.80 + </dependency>
1.81 + <dependency>
1.82 + <artifactId>ko-ws-tyrus</artifactId>
1.83 + <groupId>org.netbeans.html</groupId>
1.84 + <type>jar</type>
1.85 + <version>${net.java.html.version}</version>
1.86 + <scope>runtime</scope>
1.87 + <exclusions>
1.88 + <!-- use explicitly specified versions -->
1.89 + <exclusion>
1.90 + <groupId>org.glassfish.grizzly</groupId>
1.91 + <artifactId>grizzly-framework</artifactId>
1.92 + </exclusion>
1.93 + <exclusion>
1.94 + <groupId>org.glassfish.grizzly</groupId>
1.95 + <artifactId>grizzly-http-server</artifactId>
1.96 + </exclusion>
1.97 + </exclusions>
1.98 + </dependency>
1.99 + <dependency>
1.100 + <groupId>org.apidesign.demo</groupId>
1.101 + <artifactId>chat-shared</artifactId>
1.102 + <version>${project.version}</version>
1.103 + <type>jar</type>
1.104 + </dependency>
1.105 + </dependencies>
1.106 + <build>
1.107 + <plugins>
1.108 <plugin>
1.109 <groupId>org.codehaus.mojo</groupId>
1.110 <artifactId>exec-maven-plugin</artifactId>
1.111 <version>1.2.1</version>
1.112 <configuration>
1.113 - <mainClass>org.apidesign.bck2brwsr.demo.chatserver.impl.Main</mainClass>
1.114 + <mainClass>org.apidesign.demo.chat.server.Main</mainClass>
1.115 </configuration>
1.116 - </plugin>
1.117 - <plugin>
1.118 - <groupId>org.apache.maven.plugins</groupId>
1.119 - <artifactId>maven-compiler-plugin</artifactId>
1.120 - <version>2.3.2</version>
1.121 - <configuration>
1.122 - <source>1.7</source>
1.123 - <target>1.7</target>
1.124 - </configuration>
1.125 - </plugin>
1.126 - <plugin>
1.127 - <groupId>org.apache.maven.plugins</groupId>
1.128 - <artifactId>maven-dependency-plugin</artifactId>
1.129 - <version>2.7</version>
1.130 - <executions>
1.131 - <execution>
1.132 - <phase>process-resources</phase>
1.133 - <id>unpack-client-code</id>
1.134 - <goals>
1.135 - <goal>unpack</goal>
1.136 - </goals>
1.137 - <configuration>
1.138 - <artifactItems>
1.139 - <artifactItem>
1.140 - <groupId>org.apidesign.html.demo</groupId>
1.141 - <artifactId>chat-client</artifactId>
1.142 - <version>1.0-SNAPSHOT</version>
1.143 - <type>zip</type>
1.144 - <classifier>bck2brwsr</classifier>
1.145 - </artifactItem>
1.146 - </artifactItems>
1.147 - <outputDirectory>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/chatserver/impl/</outputDirectory>
1.148 - </configuration>
1.149 - </execution>
1.150 - </executions>
1.151 -
1.152 - </plugin>
1.153 - </plugins>
1.154 - </build>
1.155 - <dependencies>
1.156 - <dependency>
1.157 - <groupId>org.netbeans.html</groupId>
1.158 - <artifactId>net.java.html.json</artifactId>
1.159 - <version>${net.java.html.version}</version>
1.160 - <type>jar</type>
1.161 - </dependency>
1.162 - <dependency>
1.163 - <groupId>org.glassfish.jersey.media</groupId>
1.164 - <artifactId>html-json</artifactId>
1.165 - <version>2.6</version>
1.166 - <scope>runtime</scope>
1.167 - </dependency>
1.168 - <dependency>
1.169 - <groupId>org.testng</groupId>
1.170 - <artifactId>testng</artifactId>
1.171 - <version>6.5.2</version>
1.172 - <scope>test</scope>
1.173 - </dependency>
1.174 - <dependency>
1.175 - <groupId>org.glassfish.jersey.connectors</groupId>
1.176 - <artifactId>jersey-grizzly-connector</artifactId>
1.177 - <version>2.4.1</version>
1.178 - </dependency>
1.179 - <dependency>
1.180 - <groupId>org.glassfish.jersey.containers</groupId>
1.181 - <artifactId>jersey-container-grizzly2-http</artifactId>
1.182 - <version>2.6</version>
1.183 - <type>jar</type>
1.184 - </dependency>
1.185 - <dependency>
1.186 - <groupId>org.glassfish.grizzly</groupId>
1.187 - <artifactId>grizzly-http-server</artifactId>
1.188 - <version>2.3.8</version>
1.189 - </dependency>
1.190 - <dependency>
1.191 - <groupId>org.apidesign.html.demo</groupId>
1.192 - <artifactId>chat-model</artifactId>
1.193 - <version>1.0-SNAPSHOT</version>
1.194 - <type>jar</type>
1.195 - </dependency>
1.196 - <dependency>
1.197 - <artifactId>javax.ws.rs-api</artifactId>
1.198 - <groupId>javax.ws.rs</groupId>
1.199 - <type>jar</type>
1.200 - <version>2.0</version>
1.201 - </dependency>
1.202 - <dependency>
1.203 - <groupId>org.glassfish.jersey.core</groupId>
1.204 - <artifactId>jersey-common</artifactId>
1.205 - <version>2.6</version>
1.206 - <scope>runtime</scope>
1.207 - </dependency>
1.208 - <dependency>
1.209 - <groupId>org.glassfish.grizzly</groupId>
1.210 - <artifactId>grizzly-framework</artifactId>
1.211 - <version>2.3.8</version>
1.212 - <scope>runtime</scope>
1.213 - </dependency>
1.214 - <dependency>
1.215 - <artifactId>ko-ws-tyrus</artifactId>
1.216 - <groupId>org.netbeans.html</groupId>
1.217 - <type>jar</type>
1.218 - <version>${net.java.html.version}</version>
1.219 - <scope>runtime</scope>
1.220 - </dependency>
1.221 - </dependencies>
1.222 -</project>
1.223 + </plugin>
1.224 + </plugins>
1.225 + </build>
1.226 +</project>
1.227 \ No newline at end of file