1.1 --- a/chat/client/pom.xml Tue May 20 06:05:56 2014 +0200
1.2 +++ b/chat/client/pom.xml Fri Apr 22 05:56:47 2016 +0200
1.3 @@ -1,135 +1,220 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<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.6 +<?xml version="1.0"?>
1.7 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1.8 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1.9 <modelVersion>4.0.0</modelVersion>
1.10 +
1.11 <parent>
1.12 - <artifactId>chat-demo</artifactId>
1.13 - <groupId>org.apidesign.html</groupId>
1.14 - <version>1.0-SNAPSHOT</version>
1.15 + <groupId>org.apidesign.demo</groupId>
1.16 + <artifactId>chat-pom</artifactId>
1.17 + <version>1.0-SNAPSHOT</version>
1.18 </parent>
1.19
1.20 - <groupId>org.apidesign.html.demo</groupId>
1.21 - <artifactId>chat-client</artifactId>
1.22 + <groupId>org.apidesign.demo</groupId>
1.23 + <artifactId>chat</artifactId>
1.24 <version>1.0-SNAPSHOT</version>
1.25 - <packaging>jar</packaging>
1.26 + <packaging>bundle</packaging>
1.27
1.28 - <name>Chat Client Bck2Brwsr</name>
1.29 -
1.30 - <repositories>
1.31 - <repository>
1.32 - <id>java.net</id>
1.33 - <name>Java.net</name>
1.34 - <url>https://maven.java.net/content/repositories/releases/</url>
1.35 - <snapshots>
1.36 - </snapshots>
1.37 - </repository>
1.38 - <repository>
1.39 - <id>netbeans</id>
1.40 - <name>NetBeans</name>
1.41 - <url>http://bits.netbeans.org/maven2/</url>
1.42 - </repository>
1.43 - </repositories>
1.44 - <pluginRepositories>
1.45 - <pluginRepository>
1.46 - <id>java.net</id>
1.47 - <name>Java.net</name>
1.48 - <url>https://maven.java.net/content/repositories/releases/</url>
1.49 - <snapshots>
1.50 - </snapshots>
1.51 - </pluginRepository>
1.52 - </pluginRepositories>
1.53 + <name>chat General Client Code</name>
1.54
1.55 <properties>
1.56 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1.57 + <netbeans.compile.on.save>all</netbeans.compile.on.save>
1.58 + <project.mainclass>org.apidesign.demo.chat.Main</project.mainclass>
1.59 + <exec.java.bin>${java.home}/bin/java</exec.java.bin>
1.60 + <exec.debug.arg>-Ddebug=false</exec.debug.arg>
1.61 </properties>
1.62 <build>
1.63 <plugins>
1.64 - <plugin>
1.65 - <groupId>org.apache.maven.plugins</groupId>
1.66 - <artifactId>maven-jar-plugin</artifactId>
1.67 - <version>2.4</version>
1.68 - <configuration>
1.69 - <archive>
1.70 - <manifest>
1.71 - <addClasspath>true</addClasspath>
1.72 - <classpathPrefix>lib/</classpathPrefix>
1.73 - </manifest>
1.74 - </archive>
1.75 - </configuration>
1.76 - </plugin>
1.77 - <plugin>
1.78 - <artifactId>maven-assembly-plugin</artifactId>
1.79 - <version>2.4</version>
1.80 - <executions>
1.81 - <execution>
1.82 - <id>distro-assembly</id>
1.83 - <phase>package</phase>
1.84 - <goals>
1.85 - <goal>single</goal>
1.86 - </goals>
1.87 - <configuration>
1.88 - <descriptors>
1.89 - <descriptor>bck2brwsr-assembly.xml</descriptor>
1.90 - </descriptors>
1.91 - </configuration>
1.92 - </execution>
1.93 - </executions>
1.94 - </plugin>
1.95 + <plugin>
1.96 + <groupId>org.apache.felix</groupId>
1.97 + <artifactId>maven-bundle-plugin</artifactId>
1.98 + <version>2.4.0</version>
1.99 + <extensions>true</extensions>
1.100 + <configuration>
1.101 + <instructions>
1.102 + <Export-Package>org.apidesign.demo.chat</Export-Package>
1.103 + <Bundle-SymbolicName>org.apidesign.demo.chat</Bundle-SymbolicName>
1.104 + </instructions>
1.105 + </configuration>
1.106 + </plugin>
1.107 + <plugin>
1.108 + <groupId>org.apache.maven.plugins</groupId>
1.109 + <artifactId>maven-compiler-plugin</artifactId>
1.110 + <version>2.3.2</version>
1.111 + <configuration>
1.112 + <source>1.7</source>
1.113 + <target>1.7</target>
1.114 + </configuration>
1.115 + </plugin>
1.116 + <plugin>
1.117 + <groupId>org.apache.maven.plugins</groupId>
1.118 + <artifactId>maven-jar-plugin</artifactId>
1.119 + <version>2.4</version>
1.120 + <configuration>
1.121 + <archive>
1.122 + <manifest>
1.123 + <mainClass>${project.mainclass}</mainClass>
1.124 + <addClasspath>true</addClasspath>
1.125 + <classpathPrefix>lib/</classpathPrefix>
1.126 + <useUniqueVersions>false</useUniqueVersions>
1.127 + </manifest>
1.128 + </archive>
1.129 + </configuration>
1.130 + </plugin>
1.131 + <plugin>
1.132 + <groupId>org.codehaus.mojo</groupId>
1.133 + <artifactId>exec-maven-plugin</artifactId>
1.134 + <version>1.2.1</version>
1.135 + <configuration>
1.136 + <executable>${exec.java.bin}</executable>
1.137 + <classpathScope>test</classpathScope>
1.138 + <arguments>
1.139 + <argument>-classpath</argument>
1.140 + <classpath/>
1.141 + <argument>-javaagent:${project.build.directory}/springloaded.jar</argument>
1.142 + <argument>-noverify</argument>
1.143 + <argument>-Dbrowser.rootdir=${basedir}/src/main/webapp/</argument>
1.144 + <argument>-Dnetbeans.inspect.port=${netbeans.inspect.port}</argument>
1.145 + <argument>${exec.debug.arg}</argument>
1.146 + <argument>${project.mainclass}</argument>
1.147 + </arguments>
1.148 + </configuration>
1.149 + </plugin>
1.150 + <plugin>
1.151 + <groupId>org.apache.maven.plugins</groupId>
1.152 + <artifactId>maven-dependency-plugin</artifactId>
1.153 + <version>2.10</version>
1.154 + <executions>
1.155 + <execution>
1.156 + <id>copy</id>
1.157 + <phase>package</phase>
1.158 + <goals>
1.159 + <goal>copy</goal>
1.160 + </goals>
1.161 + <configuration>
1.162 + <artifactItems>
1.163 + <artifactItem>
1.164 + <groupId>org.springframework</groupId>
1.165 + <artifactId>springloaded</artifactId>
1.166 + <version>1.2.3.RELEASE</version>
1.167 + <type>jar</type>
1.168 + <overWrite>false</overWrite>
1.169 + <destFileName>springloaded.jar</destFileName>
1.170 + </artifactItem>
1.171 + </artifactItems>
1.172 + <outputDirectory>${project.build.directory}</outputDirectory>
1.173 + </configuration>
1.174 + </execution>
1.175 + </executions>
1.176 + </plugin>
1.177 + <plugin>
1.178 + <artifactId>maven-assembly-plugin</artifactId>
1.179 + <version>2.4</version>
1.180 + <executions>
1.181 + <execution>
1.182 + <id>web-pages</id>
1.183 + <phase>package</phase>
1.184 + <goals>
1.185 + <goal>single</goal>
1.186 + </goals>
1.187 + <configuration>
1.188 + <descriptors>
1.189 + <descriptor>src/main/assembly/webpages.xml</descriptor>
1.190 + </descriptors>
1.191 + </configuration>
1.192 + </execution>
1.193 + </executions>
1.194 + </plugin>
1.195 </plugins>
1.196 </build>
1.197 -
1.198 <dependencies>
1.199 <dependency>
1.200 - <groupId>org.netbeans.html</groupId>
1.201 - <artifactId>net.java.html.json</artifactId>
1.202 - <version>${net.java.html.version}</version>
1.203 - <type>jar</type>
1.204 + <groupId>org.apidesign.demo</groupId>
1.205 + <artifactId>chat-js</artifactId>
1.206 + <version>${project.version}</version>
1.207 </dependency>
1.208 <dependency>
1.209 - <groupId>${project.groupId}</groupId>
1.210 - <artifactId>chat-model</artifactId>
1.211 - <version>${project.version}</version>
1.212 + <groupId>org.apidesign.demo</groupId>
1.213 + <artifactId>chat-shared</artifactId>
1.214 + <version>${project.version}</version>
1.215 + </dependency>
1.216 + <dependency>
1.217 + <groupId>org.netbeans.html</groupId>
1.218 + <artifactId>net.java.html</artifactId>
1.219 + <version>${net.java.html.version}</version>
1.220 + </dependency>
1.221 + <dependency>
1.222 + <groupId>org.netbeans.html</groupId>
1.223 + <artifactId>net.java.html.json</artifactId>
1.224 + <version>${net.java.html.version}</version>
1.225 + </dependency>
1.226 + <dependency>
1.227 + <groupId>org.netbeans.html</groupId>
1.228 + <artifactId>net.java.html.boot</artifactId>
1.229 + <version>${net.java.html.version}</version>
1.230 + </dependency>
1.231 + <dependency>
1.232 + <groupId>org.netbeans.html</groupId>
1.233 + <artifactId>net.java.html.sound</artifactId>
1.234 + <version>${net.java.html.version}</version>
1.235 + </dependency>
1.236 + <dependency>
1.237 + <groupId>org.netbeans.html</groupId>
1.238 + <artifactId>ko4j</artifactId>
1.239 + <version>${net.java.html.version}</version>
1.240 + <scope>runtime</scope>
1.241 </dependency>
1.242 <dependency>
1.243 <groupId>org.testng</groupId>
1.244 <artifactId>testng</artifactId>
1.245 - <version>6.8</version>
1.246 + <scope>test</scope>
1.247 + </dependency>
1.248 + <dependency>
1.249 + <groupId>org.netbeans.html</groupId>
1.250 + <artifactId>net.java.html.boot.script</artifactId>
1.251 + <version>${net.java.html.version}</version>
1.252 <scope>test</scope>
1.253 <type>jar</type>
1.254 </dependency>
1.255 <dependency>
1.256 - <groupId>org.apidesign.bck2brwsr</groupId>
1.257 - <artifactId>emul</artifactId>
1.258 - <version>${bck2brwsr.version}</version>
1.259 - <classifier>rt</classifier>
1.260 - <scope>runtime</scope>
1.261 - </dependency>
1.262 - <dependency>
1.263 - <groupId>org.apidesign.bck2brwsr</groupId>
1.264 - <artifactId>vm4brwsr</artifactId>
1.265 - <version>${bck2brwsr.version}</version>
1.266 - <type>zip</type>
1.267 - <classifier>js</classifier>
1.268 + <groupId>org.netbeans.html</groupId>
1.269 + <artifactId>net.java.html.boot.fx</artifactId>
1.270 + <version>${net.java.html.version}</version>
1.271 <scope>provided</scope>
1.272 </dependency>
1.273 - <dependency>
1.274 - <groupId>org.apidesign.bck2brwsr</groupId>
1.275 - <artifactId>ko-bck2brwsr</artifactId>
1.276 - <version>${bck2brwsr.version}</version>
1.277 - <scope>runtime</scope>
1.278 - </dependency>
1.279 - <dependency>
1.280 - <artifactId>ko4j</artifactId>
1.281 - <groupId>org.netbeans.html</groupId>
1.282 - <type>jar</type>
1.283 - <version>${net.java.html.version}</version>
1.284 - <scope>runtime</scope>
1.285 - </dependency>
1.286 - <dependency>
1.287 - <artifactId>net.java.html.boot</artifactId>
1.288 - <groupId>org.netbeans.html</groupId>
1.289 - <type>jar</type>
1.290 - <version>${net.java.html.version}</version>
1.291 - <scope>runtime</scope>
1.292 - </dependency>
1.293 </dependencies>
1.294 + <profiles>
1.295 + <profile>
1.296 + <id>desktop</id>
1.297 + <dependencies>
1.298 + <dependency>
1.299 + <groupId>org.netbeans.html</groupId>
1.300 + <artifactId>net.java.html.boot.fx</artifactId>
1.301 + <version>${net.java.html.version}</version>
1.302 + <scope>runtime</scope>
1.303 + </dependency>
1.304 + </dependencies>
1.305 + <build>
1.306 + <plugins>
1.307 + <plugin>
1.308 + <artifactId>maven-assembly-plugin</artifactId>
1.309 + <version>2.4</version>
1.310 + <executions>
1.311 + <execution>
1.312 + <id>distro-assembly</id>
1.313 + <phase>package</phase>
1.314 + <goals>
1.315 + <goal>single</goal>
1.316 + </goals>
1.317 + <configuration>
1.318 + <descriptors>
1.319 + <descriptor>src/main/assembly/javafx.xml</descriptor>
1.320 + </descriptors>
1.321 + </configuration>
1.322 + </execution>
1.323 + </executions>
1.324 + </plugin>
1.325 + </plugins>
1.326 + </build>
1.327 + </profile>
1.328 + </profiles>
1.329 </project>