author | Jaroslav Tulach <jtulach@netbeans.org> |
Fri, 21 Mar 2014 14:47:20 +0100 | |
branch | nbrwsr |
changeset 118 | 51fa21931716 |
parent 113 | aa5e80fdfa7d |
child 120 | 1f150d9e4815 |
permissions | -rw-r--r-- |
jtulach@63 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
jtulach@63 | 2 |
<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"> |
jtulach@63 | 3 |
<modelVersion>4.0.0</modelVersion> |
jtulach@63 | 4 |
|
jtulach@63 | 5 |
<groupId>org.apidesign.demo</groupId> |
jtulach@63 | 6 |
<artifactId>minesweeper</artifactId> |
jtulach@63 | 7 |
<version>1.0-SNAPSHOT</version> |
jtulach@63 | 8 |
<packaging>jar</packaging> |
jtulach@63 | 9 |
<parent> |
jtulach@63 | 10 |
<artifactId>demo</artifactId> |
jtulach@63 | 11 |
<groupId>org.apidesign.html</groupId> |
jtulach@63 | 12 |
<version>1.0-SNAPSHOT</version> |
jtulach@63 | 13 |
</parent> |
jtulach@63 | 14 |
|
jtulach@63 | 15 |
<name>Mine Sweeper</name> |
jtulach@63 | 16 |
|
jtulach@63 | 17 |
<properties> |
jtulach@63 | 18 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
jtulach@63 | 19 |
<brwsr.startpage>pages/index.html</brwsr.startpage> |
jtulach@63 | 20 |
<project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass> |
jtulach@63 | 21 |
<netbeans.compile.on.save>none</netbeans.compile.on.save> |
jtulach@63 | 22 |
</properties> |
jtulach@63 | 23 |
<build> |
jtulach@63 | 24 |
<plugins> |
jtulach@63 | 25 |
<plugin> |
jtulach@63 | 26 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 27 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 28 |
<version>2.3.2</version> |
jtulach@63 | 29 |
<configuration> |
jtulach@63 | 30 |
<source>1.6</source> |
jtulach@63 | 31 |
<target>1.6</target> |
jtulach@63 | 32 |
</configuration> |
jtulach@63 | 33 |
</plugin> |
jtulach@63 | 34 |
<plugin> |
jtulach@63 | 35 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 36 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@63 | 37 |
<version>2.4</version> |
jtulach@63 | 38 |
<configuration> |
jtulach@63 | 39 |
<archive> |
jtulach@63 | 40 |
<manifest> |
jtulach@63 | 41 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@63 | 42 |
<addClasspath>true</addClasspath> |
jtulach@63 | 43 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@63 | 44 |
</manifest> |
jtulach@63 | 45 |
</archive> |
jtulach@63 | 46 |
</configuration> |
jtulach@63 | 47 |
</plugin> |
jtulach@63 | 48 |
<plugin> |
jtulach@63 | 49 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@63 | 50 |
<artifactId>exec-maven-plugin</artifactId> |
jtulach@63 | 51 |
<version>1.2.1</version> |
jtulach@63 | 52 |
<configuration> |
jtulach@63 | 53 |
<systemProperties> |
jtulach@63 | 54 |
<systemProperty> |
jtulach@63 | 55 |
<key>browser.rootdir</key> |
jtulach@63 | 56 |
<value>${basedir}/src/main/webapp/</value> |
jtulach@63 | 57 |
</systemProperty> |
jtulach@63 | 58 |
</systemProperties> |
jtulach@63 | 59 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@63 | 60 |
</configuration> |
jtulach@63 | 61 |
</plugin> |
jtulach@63 | 62 |
</plugins> |
jtulach@63 | 63 |
</build> |
jtulach@63 | 64 |
<dependencies> |
jtulach@63 | 65 |
<dependency> |
jtulach@63 | 66 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 67 |
<artifactId>net.java.html.json</artifactId> |
jtulach@63 | 68 |
<version>${net.java.html.version}</version> |
jtulach@63 | 69 |
</dependency> |
jtulach@63 | 70 |
<dependency> |
jtulach@63 | 71 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 72 |
<artifactId>net.java.html.boot</artifactId> |
jtulach@63 | 73 |
<version>${net.java.html.version}</version> |
jtulach@63 | 74 |
</dependency> |
jtulach@63 | 75 |
<dependency> |
jtulach@79 | 76 |
<groupId>org.netbeans.html</groupId> |
jtulach@111 | 77 |
<artifactId>net.java.html</artifactId> |
jtulach@111 | 78 |
<version>${net.java.html.version}</version> |
jtulach@111 | 79 |
</dependency> |
jtulach@111 | 80 |
<dependency> |
jtulach@111 | 81 |
<groupId>org.netbeans.html</groupId> |
jtulach@79 | 82 |
<artifactId>net.java.html.sound</artifactId> |
jtulach@79 | 83 |
<version>${net.java.html.version}</version> |
jtulach@79 | 84 |
</dependency> |
jtulach@79 | 85 |
<dependency> |
jtulach@81 | 86 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 87 |
<artifactId>ko4j</artifactId> |
jtulach@81 | 88 |
<version>${net.java.html.version}</version> |
jtulach@81 | 89 |
</dependency> |
jtulach@81 | 90 |
<dependency> |
jtulach@118 | 91 |
<groupId>org.netbeans.html</groupId> |
jtulach@118 | 92 |
<artifactId>nbrwsr</artifactId> |
jtulach@118 | 93 |
<version>${net.java.html.version}</version> |
jtulach@112 | 94 |
<scope>provided</scope> |
jtulach@112 | 95 |
</dependency> |
jtulach@112 | 96 |
<dependency> |
jtulach@63 | 97 |
<groupId>org.testng</groupId> |
jtulach@63 | 98 |
<artifactId>testng</artifactId> |
jtulach@63 | 99 |
<version>6.7</version> |
jtulach@63 | 100 |
<scope>test</scope> |
jtulach@63 | 101 |
</dependency> |
jtulach@63 | 102 |
</dependencies> |
jtulach@63 | 103 |
<profiles> |
jtulach@63 | 104 |
<profile> |
jtulach@63 | 105 |
<id>fxbrwsr</id> |
jtulach@63 | 106 |
<activation> |
jtulach@63 | 107 |
<activeByDefault>true</activeByDefault> |
jtulach@63 | 108 |
</activation> |
jtulach@63 | 109 |
<build> |
jtulach@63 | 110 |
<plugins> |
jtulach@63 | 111 |
<plugin> |
jtulach@63 | 112 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 113 |
<version>2.4</version> |
jtulach@63 | 114 |
<executions> |
jtulach@63 | 115 |
<execution> |
jtulach@63 | 116 |
<id>distro-assembly</id> |
jtulach@63 | 117 |
<phase>package</phase> |
jtulach@63 | 118 |
<goals> |
jtulach@63 | 119 |
<goal>single</goal> |
jtulach@63 | 120 |
</goals> |
jtulach@63 | 121 |
<configuration> |
jtulach@63 | 122 |
<descriptors> |
jtulach@63 | 123 |
<descriptor>src/main/assembly/html.java.net.xml</descriptor> |
jtulach@63 | 124 |
</descriptors> |
jtulach@63 | 125 |
</configuration> |
jtulach@63 | 126 |
</execution> |
jtulach@63 | 127 |
</executions> |
jtulach@63 | 128 |
</plugin> |
jtulach@63 | 129 |
</plugins> |
jtulach@63 | 130 |
</build> |
jtulach@63 | 131 |
<dependencies> |
jtulach@63 | 132 |
<dependency> |
jtulach@63 | 133 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 134 |
<artifactId>net.java.html.boot.fx</artifactId> |
jtulach@63 | 135 |
<version>${net.java.html.version}</version> |
jtulach@63 | 136 |
<scope>runtime</scope> |
jtulach@63 | 137 |
</dependency> |
jtulach@63 | 138 |
</dependencies> |
jtulach@63 | 139 |
</profile> |
jtulach@63 | 140 |
<profile> |
jtulach@63 | 141 |
<id>bck2brwsr</id> |
jtulach@63 | 142 |
<activation> |
jtulach@63 | 143 |
<property> |
jtulach@63 | 144 |
<name>brwsr</name> |
jtulach@63 | 145 |
<value>bck2brwsr</value> |
jtulach@63 | 146 |
</property> |
jtulach@63 | 147 |
</activation> |
jtulach@63 | 148 |
<build> |
jtulach@63 | 149 |
<plugins> |
jtulach@63 | 150 |
<plugin> |
jtulach@63 | 151 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 152 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@63 | 153 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 154 |
<executions> |
jtulach@63 | 155 |
<execution> |
jtulach@63 | 156 |
<goals> |
jtulach@63 | 157 |
<goal>brwsr</goal> |
jtulach@63 | 158 |
</goals> |
jtulach@63 | 159 |
</execution> |
jtulach@63 | 160 |
</executions> |
jtulach@63 | 161 |
<configuration> |
jtulach@63 | 162 |
<directory>${basedir}/src/main/webapp/</directory> |
jtulach@63 | 163 |
<startpage>${brwsr.startpage}</startpage> |
jtulach@63 | 164 |
</configuration> |
jtulach@63 | 165 |
</plugin> |
jtulach@63 | 166 |
<plugin> |
jtulach@63 | 167 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 168 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 169 |
<configuration> |
jtulach@63 | 170 |
<compilerArguments> |
jtulach@63 | 171 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@63 | 172 |
</compilerArguments> |
jtulach@63 | 173 |
</configuration> |
jtulach@63 | 174 |
</plugin> |
jtulach@63 | 175 |
<plugin> |
jtulach@63 | 176 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 177 |
<version>2.4</version> |
jtulach@63 | 178 |
<executions> |
jtulach@63 | 179 |
<execution> |
jtulach@63 | 180 |
<id>distro-assembly</id> |
jtulach@63 | 181 |
<phase>package</phase> |
jtulach@63 | 182 |
<goals> |
jtulach@63 | 183 |
<goal>single</goal> |
jtulach@63 | 184 |
</goals> |
jtulach@63 | 185 |
<configuration> |
jtulach@63 | 186 |
<descriptors> |
jtulach@63 | 187 |
<descriptor>src/main/assembly/bck2brwsr.xml</descriptor> |
jtulach@63 | 188 |
</descriptors> |
jtulach@63 | 189 |
</configuration> |
jtulach@63 | 190 |
</execution> |
jtulach@63 | 191 |
</executions> |
jtulach@63 | 192 |
</plugin> |
jtulach@63 | 193 |
</plugins> |
jtulach@63 | 194 |
</build> |
jtulach@63 | 195 |
<dependencies> |
jtulach@63 | 196 |
<dependency> |
jtulach@63 | 197 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 198 |
<artifactId>emul</artifactId> |
jtulach@63 | 199 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 200 |
<classifier>rt</classifier> |
jtulach@63 | 201 |
</dependency> |
jtulach@63 | 202 |
<dependency> |
jtulach@63 | 203 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 204 |
<artifactId>ko-bck2brwsr</artifactId> |
jtulach@63 | 205 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 206 |
<scope>runtime</scope> |
jtulach@63 | 207 |
</dependency> |
jtulach@63 | 208 |
<dependency> |
jtulach@63 | 209 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 210 |
<artifactId>vm4brwsr</artifactId> |
jtulach@63 | 211 |
<classifier>js</classifier> |
jtulach@63 | 212 |
<type>zip</type> |
jtulach@63 | 213 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 214 |
<scope>provided</scope> |
jtulach@63 | 215 |
</dependency> |
jtulach@63 | 216 |
</dependencies> |
jtulach@63 | 217 |
</profile> |
jtulach@81 | 218 |
<profile> |
jtulach@81 | 219 |
<id>dlvkbrwsr</id> |
jtulach@81 | 220 |
<properties> |
jtulach@81 | 221 |
<platform.version>4.1.1.4</platform.version> |
jtulach@81 | 222 |
<android.plugin.version>3.7.0</android.plugin.version> |
jtulach@81 | 223 |
<debug>false</debug> |
jtulach@81 | 224 |
</properties> |
jtulach@81 | 225 |
<dependencies> |
jtulach@81 | 226 |
<dependency> |
jtulach@81 | 227 |
<groupId>com.google.android</groupId> |
jtulach@81 | 228 |
<artifactId>android</artifactId> |
jtulach@81 | 229 |
<version>${platform.version}</version> |
jtulach@81 | 230 |
<scope>provided</scope> |
jtulach@81 | 231 |
</dependency> |
jtulach@81 | 232 |
<dependency> |
jtulach@107 | 233 |
<groupId>org.apidesign.brwsr</groupId> |
jtulach@107 | 234 |
<artifactId>dlvkbrwsr</artifactId> |
jtulach@107 | 235 |
<version>0.5</version> |
jtulach@107 | 236 |
<type>jar</type> |
jtulach@107 | 237 |
</dependency> |
jtulach@107 | 238 |
<dependency> |
jtulach@81 | 239 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 240 |
<artifactId>ko-ws-tyrus</artifactId> |
jtulach@81 | 241 |
<version>${net.java.html.version}</version> |
jtulach@81 | 242 |
<exclusions> |
jtulach@81 | 243 |
<exclusion> |
jtulach@81 | 244 |
<artifactId>org.json-osgi</artifactId> |
jtulach@81 | 245 |
<groupId>de.twentyeleven.skysail</groupId> |
jtulach@81 | 246 |
</exclusion> |
jtulach@81 | 247 |
</exclusions> |
jtulach@81 | 248 |
</dependency> |
jtulach@81 | 249 |
</dependencies> |
jtulach@81 | 250 |
<build> |
jtulach@81 | 251 |
<plugins> |
jtulach@81 | 252 |
<plugin> |
jtulach@81 | 253 |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> |
jtulach@81 | 254 |
<artifactId>android-maven-plugin</artifactId> |
jtulach@81 | 255 |
<version>${android.plugin.version}</version> |
jtulach@81 | 256 |
<extensions>true</extensions> |
jtulach@81 | 257 |
<configuration> |
jtulach@81 | 258 |
<classifier>apk</classifier> |
jtulach@81 | 259 |
<attachJar>false</attachJar> |
jtulach@81 | 260 |
<apkDebug>debug</apkDebug> |
jtulach@81 | 261 |
<assetsDirectory>src/main/webapp</assetsDirectory> |
jtulach@81 | 262 |
<sdk> |
jtulach@81 | 263 |
<platform>16</platform> |
jtulach@81 | 264 |
</sdk> |
jtulach@81 | 265 |
<apk> |
jtulach@81 | 266 |
<metaIncludes> |
jtulach@81 | 267 |
<metaInclude>services/org.apidesign.**</metaInclude> |
jtulach@81 | 268 |
</metaIncludes> |
jtulach@81 | 269 |
</apk> |
jtulach@110 | 270 |
<extractDuplicates>true</extractDuplicates> |
jtulach@81 | 271 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 272 |
</configuration> |
jtulach@81 | 273 |
<executions> |
jtulach@81 | 274 |
<execution> |
jtulach@81 | 275 |
<id>apk</id> |
jtulach@81 | 276 |
<goals> |
jtulach@81 | 277 |
<goal>apk</goal> |
jtulach@81 | 278 |
<goal>dex</goal> |
jtulach@81 | 279 |
</goals> |
jtulach@81 | 280 |
</execution> |
jtulach@81 | 281 |
</executions> |
jtulach@81 | 282 |
</plugin> |
jtulach@81 | 283 |
<plugin> |
jtulach@81 | 284 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@81 | 285 |
<artifactId>maven-install-plugin</artifactId> |
jtulach@81 | 286 |
<version>2.5.1</version> |
jtulach@81 | 287 |
<configuration> |
jtulach@81 | 288 |
<groupId>${project.groupId}</groupId> |
jtulach@81 | 289 |
<artifactId>${project.artifactId}</artifactId> |
jtulach@81 | 290 |
<version>${project.version}</version> |
jtulach@81 | 291 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 292 |
<packaging>apk</packaging> |
jtulach@81 | 293 |
<skip>true</skip> |
jtulach@81 | 294 |
</configuration> |
jtulach@81 | 295 |
<executions> |
jtulach@81 | 296 |
<execution> |
jtulach@81 | 297 |
<id>install-apk</id> |
jtulach@81 | 298 |
<phase>install</phase> |
jtulach@81 | 299 |
<goals> |
jtulach@81 | 300 |
<goal>install-file</goal> |
jtulach@81 | 301 |
</goals> |
jtulach@81 | 302 |
</execution> |
jtulach@81 | 303 |
</executions> |
jtulach@81 | 304 |
</plugin> |
jtulach@81 | 305 |
</plugins> |
jtulach@81 | 306 |
</build> |
jtulach@81 | 307 |
|
jtulach@81 | 308 |
</profile> |
jtulach@111 | 309 |
<profile> |
jtulach@111 | 310 |
<id>nbrwsr</id> |
jtulach@112 | 311 |
<dependencies> |
jtulach@112 | 312 |
<dependency> |
jtulach@118 | 313 |
<groupId>org.netbeans.html</groupId> |
jtulach@118 | 314 |
<artifactId>nbrwsr</artifactId> |
jtulach@118 | 315 |
<version>${net.java.html.version}</version> |
jtulach@112 | 316 |
<scope>compile</scope> |
jtulach@112 | 317 |
</dependency> |
jtulach@112 | 318 |
</dependencies> |
jtulach@111 | 319 |
<build> |
jtulach@111 | 320 |
<plugins> |
jtulach@111 | 321 |
<plugin> |
jtulach@113 | 322 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@113 | 323 |
<artifactId>maven-resources-plugin</artifactId> |
jtulach@113 | 324 |
<version>2.6</version> |
jtulach@113 | 325 |
<executions> |
jtulach@113 | 326 |
<execution> |
jtulach@113 | 327 |
<id>include-webpages</id> |
jtulach@113 | 328 |
<goals> |
jtulach@113 | 329 |
<goal>copy-resources</goal> |
jtulach@113 | 330 |
</goals> |
jtulach@113 | 331 |
<phase>process-resources</phase> |
jtulach@113 | 332 |
<configuration> |
jtulach@113 | 333 |
<outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory> |
jtulach@113 | 334 |
<overwrite>true</overwrite> |
jtulach@113 | 335 |
<resources> |
jtulach@113 | 336 |
<resource> |
jtulach@113 | 337 |
<directory>src/main/webapp/pages</directory> |
jtulach@113 | 338 |
</resource> |
jtulach@113 | 339 |
</resources> |
jtulach@113 | 340 |
</configuration> |
jtulach@113 | 341 |
</execution> |
jtulach@113 | 342 |
</executions> |
jtulach@113 | 343 |
</plugin> |
jtulach@113 | 344 |
<plugin> |
jtulach@111 | 345 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@111 | 346 |
<artifactId>nbm-maven-plugin</artifactId> |
jtulach@111 | 347 |
<version>3.13</version> |
jtulach@111 | 348 |
<extensions>true</extensions> |
jtulach@111 | 349 |
<executions> |
jtulach@111 | 350 |
<execution> |
jtulach@111 | 351 |
<id>default-manifest</id> |
jtulach@111 | 352 |
<phase>process-classes</phase> |
jtulach@111 | 353 |
<goals> |
jtulach@111 | 354 |
<goal>manifest</goal> |
jtulach@111 | 355 |
</goals> |
jtulach@111 | 356 |
<configuration> |
jtulach@111 | 357 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@111 | 358 |
<brandingToken>html4j4nb</brandingToken> |
jtulach@111 | 359 |
<cluster>html4j4nb</cluster> |
jtulach@111 | 360 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 361 |
</configuration> |
jtulach@111 | 362 |
</execution> |
jtulach@111 | 363 |
<execution> |
jtulach@111 | 364 |
<id>default-nbm</id> |
jtulach@111 | 365 |
<phase>package</phase> |
jtulach@111 | 366 |
<goals> |
jtulach@111 | 367 |
<goal>nbm</goal> |
jtulach@111 | 368 |
</goals> |
jtulach@111 | 369 |
<configuration> |
jtulach@111 | 370 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@111 | 371 |
<cluster>html4j4nb</cluster> |
jtulach@111 | 372 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 373 |
</configuration> |
jtulach@111 | 374 |
</execution> |
jtulach@111 | 375 |
</executions> |
jtulach@111 | 376 |
<configuration> |
jtulach@111 | 377 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@111 | 378 |
<brandingToken>html4j4nb</brandingToken> |
jtulach@111 | 379 |
<cluster>html4j4nb</cluster> |
jtulach@111 | 380 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 381 |
</configuration> |
jtulach@111 | 382 |
</plugin> |
jtulach@111 | 383 |
|
jtulach@111 | 384 |
<plugin> |
jtulach@111 | 385 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@111 | 386 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@111 | 387 |
<configuration> |
jtulach@111 | 388 |
<!-- to have the jar plugin pickup the nbm generated manifest --> |
jtulach@111 | 389 |
<useDefaultManifestFile>true</useDefaultManifestFile> |
jtulach@111 | 390 |
</configuration> |
jtulach@111 | 391 |
</plugin> |
jtulach@111 | 392 |
</plugins> |
jtulach@111 | 393 |
</build> |
jtulach@111 | 394 |
</profile> |
jtulach@63 | 395 |
</profiles> |
jtulach@63 | 396 |
</project> |