chess/pom.xml
branchchess
changeset 49 945fbfff28f3
parent 38 7b98c561321d
child 51 3f1866fdb2a1
     1.1 --- a/chess/pom.xml	Wed Jul 31 17:04:32 2013 +0200
     1.2 +++ b/chess/pom.xml	Tue Sep 24 22:20:24 2013 +0200
     1.3 @@ -1,28 +1,21 @@
     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    <modelVersion>4.0.0</modelVersion>
     1.7 -  <parent>
     1.8 +    <parent>
     1.9      <artifactId>demo</artifactId>
    1.10      <groupId>org.apidesign.html</groupId>
    1.11 -    <version>1.0-SNAPSHOT</version>
    1.12 -  </parent>
    1.13 +        <version>1.0-SNAPSHOT</version>
    1.14 +    </parent>
    1.15  
    1.16 -  <groupId>org.apidesign.html.demo</groupId>
    1.17 -  <artifactId>chess</artifactId>
    1.18 +  <groupId>com.oracle.chess</groupId>
    1.19 +  <artifactId>ChessHTMLJavaClient</artifactId>
    1.20    <version>1.0-SNAPSHOT</version>
    1.21    <packaging>jar</packaging>
    1.22  
    1.23 -  <name>ChessGame</name>
    1.24 +  <name>Chess_HTML_Java_Client</name>
    1.25  
    1.26    <repositories>
    1.27        <repository>
    1.28 -          <id>java.net</id>
    1.29 -          <name>Java.net</name>
    1.30 -          <url>https://maven.java.net/content/repositories/releases/</url>
    1.31 -          <snapshots>
    1.32 -          </snapshots>
    1.33 -      </repository>
    1.34 -      <repository>
    1.35            <id>netbeans</id>
    1.36            <name>NetBeans</name>
    1.37            <url>http://bits.netbeans.org/maven2/</url>
    1.38 @@ -30,13 +23,6 @@
    1.39    </repositories>
    1.40    <pluginRepositories>
    1.41        <pluginRepository>
    1.42 -          <id>java.net</id>
    1.43 -          <name>Java.net</name>
    1.44 -          <url>https://maven.java.net/content/repositories/releases/</url>
    1.45 -          <snapshots>
    1.46 -          </snapshots>
    1.47 -      </pluginRepository>
    1.48 -      <pluginRepository>
    1.49            <id>ios</id>
    1.50            <name>NetBeans iOS Maven Plugin</name>
    1.51            <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
    1.52 @@ -47,8 +33,12 @@
    1.53  
    1.54    <properties>
    1.55      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.56 -    <net.java.html.version>0.4</net.java.html.version>
    1.57      <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.58 +    <net.java.html.version>0.6</net.java.html.version>
    1.59 +    <bck2brwsr.version>0.8</bck2brwsr.version>
    1.60 +    <bck2brwsr.launcher.version>0.8</bck2brwsr.launcher.version>
    1.61 +    <bck2brwsr.obfuscationlevel>MINIMAL</bck2brwsr.obfuscationlevel>
    1.62 +    <brwsr.startpage>pages/index.html</brwsr.startpage>
    1.63    </properties>
    1.64    <build>
    1.65        <plugins>
    1.66 @@ -68,7 +58,7 @@
    1.67                <configuration>
    1.68                    <archive>
    1.69                        <manifest>
    1.70 -                          <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
    1.71 +                          <mainClass>com.oracle.chess.client.htmljava.Main</mainClass>
    1.72                            <addClasspath>true</addClasspath>
    1.73                            <classpathPrefix>lib/</classpathPrefix>
    1.74                        </manifest>
    1.75 @@ -86,7 +76,7 @@
    1.76                            <value>${basedir}/src/main/webapp/</value>
    1.77                        </systemProperty>
    1.78                    </systemProperties>
    1.79 -                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
    1.80 +                  <mainClass>com.oracle.chess.client.htmljava.Main</mainClass>
    1.81                </configuration>
    1.82            </plugin>      
    1.83            <plugin>
    1.84 @@ -106,7 +96,21 @@
    1.85                        </configuration>
    1.86                    </execution>
    1.87                </executions>                
    1.88 -          </plugin>      
    1.89 +          </plugin>
    1.90 +         <plugin>
    1.91 +            <artifactId>ios-maven-plugin</artifactId>
    1.92 +            <groupId>org.netbeans.ios</groupId>
    1.93 +            <version>0.4</version>
    1.94 +            <configuration>
    1.95 +               <targetDevices>1</targetDevices>
    1.96 +               <deploymentTarget>6.1</deploymentTarget>
    1.97 +               <bundleId>JavaOneChess</bundleId>
    1.98 +               <provisioningProfile></provisioningProfile>
    1.99 +               <supportedInterfaceOrientations>UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationPortrait,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortraitUpsideDown</supportedInterfaceOrientations>
   1.100 +               <prerenderedIcons>false</prerenderedIcons>
   1.101 +               <iPadSupportedInterfaceOrientations>UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationPortrait,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortraitUpsideDown</iPadSupportedInterfaceOrientations>
   1.102 +            </configuration>
   1.103 +         </plugin>
   1.104        </plugins>
   1.105    </build>
   1.106    <dependencies>
   1.107 @@ -121,66 +125,132 @@
   1.108          <version>${net.java.html.version}</version>
   1.109      </dependency>
   1.110      <dependency>
   1.111 -        <groupId>org.apidesign.html</groupId>
   1.112 -        <artifactId>ko-fx</artifactId>
   1.113 -        <version>${net.java.html.version}</version>
   1.114 -        <scope>runtime</scope>
   1.115 -    </dependency>
   1.116 -    <dependency>
   1.117 -        <groupId>org.apidesign.html</groupId>
   1.118 -        <artifactId>boot-fx</artifactId>
   1.119 -        <version>${net.java.html.version}</version>
   1.120 -        <scope>runtime</scope>
   1.121 -    </dependency>
   1.122 -    <dependency>
   1.123        <groupId>org.testng</groupId>
   1.124        <artifactId>testng</artifactId>
   1.125        <version>6.7</version>
   1.126        <scope>test</scope>
   1.127      </dependency>
   1.128 +    <dependency>
   1.129 +      <groupId>org.apidesign.html</groupId>
   1.130 +      <artifactId>net.java.html.sound</artifactId>
   1.131 +      <version>${net.java.html.version}</version>
   1.132 +      <type>jar</type>
   1.133 +    </dependency>
   1.134 +    <dependency>
   1.135 +      <groupId>org.apidesign.bck2brwsr</groupId>
   1.136 +      <artifactId>core</artifactId>
   1.137 +      <version>${bck2brwsr.version}</version>
   1.138 +      <scope>provided</scope>
   1.139 +      <type>jar</type>
   1.140 +    </dependency>
   1.141    </dependencies>
   1.142    <profiles>
   1.143        <profile>
   1.144 -          <id>iOSDeploy</id>
   1.145 +          <id>fxbrwsr</id>
   1.146            <activation>
   1.147 -              <os>
   1.148 -                  <name>Mac OS X</name>
   1.149 -              </os>
   1.150 +              <activeByDefault>true</activeByDefault>
   1.151            </activation>
   1.152 -          <build>
   1.153 -              <plugins>
   1.154 -                  <plugin>
   1.155 -                      <groupId>org.netbeans.ios</groupId>
   1.156 -                      <artifactId>ios-maven-plugin</artifactId>
   1.157 -                      <version>0.2</version>
   1.158 -                      <configuration>
   1.159 -                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
   1.160 -                          <title>${project.name}</title>
   1.161 -                          <mainclass>org.apidesign.html.demo.chess.Main</mainclass>
   1.162 -                          <resourcesDir>src/main/webapp/</resourcesDir>
   1.163 -                      </configuration>
   1.164 -                  </plugin>
   1.165 -                  <plugin>
   1.166 -                      <groupId>org.apache.maven.plugins</groupId>
   1.167 -                      <artifactId>maven-jar-plugin</artifactId>
   1.168 -                      <version>2.4</version>
   1.169 -                      <configuration>
   1.170 -                          <archive>
   1.171 -                              <manifest>
   1.172 -                                  <mainClass>org.apidesign.html.demo.chess.Main</mainClass>
   1.173 -                                  <addClasspath>true</addClasspath>
   1.174 -                                  <classpathPrefix>lib/</classpathPrefix>
   1.175 -                              </manifest>
   1.176 -                          </archive>
   1.177 -                      </configuration>
   1.178 -                  </plugin>
   1.179 -              </plugins>
   1.180 -          </build>
   1.181            <dependencies>
   1.182                <dependency>
   1.183                    <groupId>org.apidesign.html</groupId>
   1.184                    <artifactId>ko-fx</artifactId>
   1.185                    <version>${net.java.html.version}</version>
   1.186 +                  <scope>runtime</scope>
   1.187 +              </dependency>
   1.188 +              <dependency>
   1.189 +                  <groupId>org.apidesign.html</groupId>
   1.190 +                  <artifactId>boot-fx</artifactId>
   1.191 +                  <version>${net.java.html.version}</version>
   1.192 +                  <scope>runtime</scope>
   1.193 +              </dependency>
   1.194 +              <dependency>
   1.195 +                  <groupId>org.apidesign.html</groupId>
   1.196 +                  <artifactId>ko-ws-tyrus</artifactId>
   1.197 +                  <scope>runtime</scope>
   1.198 +                  <version>${net.java.html.version}</version>
   1.199 +              </dependency>
   1.200 +          </dependencies>
   1.201 +      </profile>
   1.202 +      <profile>
   1.203 +          <id>bck2brwsr</id>
   1.204 +          <activation>
   1.205 +              <property>
   1.206 +                  <name>brwsr</name>
   1.207 +                  <value>bck2brwsr</value>
   1.208 +              </property>
   1.209 +          </activation>
   1.210 +          <build>
   1.211 +              <plugins>
   1.212 +                  <plugin>
   1.213 +                      <groupId>org.apidesign.bck2brwsr</groupId>
   1.214 +                      <artifactId>bck2brwsr-maven-plugin</artifactId>
   1.215 +                      <version>${bck2brwsr.launcher.version}</version>
   1.216 +                      <executions>
   1.217 +                          <execution>
   1.218 +                              <goals>
   1.219 +                                  <goal>brwsr</goal>
   1.220 +                              </goals>
   1.221 +                          </execution>
   1.222 +                      </executions>
   1.223 +                      <configuration>
   1.224 +                          <directory>${basedir}/src/main/webapp/</directory>
   1.225 +                          <startpage>${brwsr.startpage}</startpage>
   1.226 +                          <launcher>${brwsr}</launcher>
   1.227 +                          <javascript>${project.build.directory}/bck2brwsr.js</javascript>
   1.228 +                          <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
   1.229 +                      </configuration>
   1.230 +                  </plugin>
   1.231 +                  <plugin>
   1.232 +                      <groupId>org.apache.maven.plugins</groupId>
   1.233 +                      <artifactId>maven-compiler-plugin</artifactId>
   1.234 +                      <configuration>
   1.235 +                          <compilerArguments>
   1.236 +                              <!--
   1.237 +                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
   1.238 +                              -->
   1.239 +                          </compilerArguments>
   1.240 +                      </configuration>
   1.241 +                  </plugin>
   1.242 +                  <plugin>
   1.243 +                      <artifactId>maven-assembly-plugin</artifactId>
   1.244 +                      <version>2.4</version>
   1.245 +                      <executions>
   1.246 +                          <execution>
   1.247 +                              <id>distro-assembly</id>
   1.248 +                              <phase>package</phase>
   1.249 +                              <goals>
   1.250 +                                  <goal>single</goal>
   1.251 +                              </goals>
   1.252 +                              <configuration>
   1.253 +                                  <descriptors>
   1.254 +                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   1.255 +                                  </descriptors>
   1.256 +                              </configuration>
   1.257 +                          </execution>
   1.258 +                      </executions>                
   1.259 +                  </plugin>      
   1.260 +              </plugins>
   1.261 +          </build>
   1.262 +          <dependencies>
   1.263 +              <dependency>
   1.264 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.265 +                  <artifactId>emul</artifactId>
   1.266 +                  <version>${bck2brwsr.version}</version>
   1.267 +                  <classifier>rt</classifier>
   1.268 +              </dependency>
   1.269 +              <dependency>
   1.270 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.271 +                  <artifactId>ko-bck2brwsr</artifactId>
   1.272 +                  <version>${bck2brwsr.version}</version>
   1.273 +                  <scope>runtime</scope>
   1.274 +              </dependency>
   1.275 +              <dependency>
   1.276 +                  <groupId>org.apidesign.bck2brwsr</groupId>
   1.277 +                  <artifactId>vm4brwsr</artifactId>
   1.278 +                  <classifier>js</classifier>
   1.279 +                  <type>zip</type>
   1.280 +                  <version>${bck2brwsr.version}</version>
   1.281 +                  <scope>provided</scope>
   1.282                </dependency>
   1.283            </dependencies>
   1.284        </profile>