1 <?xml version="1.0" encoding="UTF-8"?>
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">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.apidesign.demo</groupId>
6 <artifactId>minesweeper</artifactId>
7 <version>1.0-SNAPSHOT</version>
8 <packaging>jar</packaging>
10 <artifactId>demo</artifactId>
11 <groupId>org.apidesign.html</groupId>
12 <version>1.0-SNAPSHOT</version>
15 <name>Mine Sweeper</name>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <brwsr.startpage>pages/index.html</brwsr.startpage>
20 <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
21 <netbeans.compile.on.save>none</netbeans.compile.on.save>
26 <groupId>org.apache.maven.plugins</groupId>
27 <artifactId>maven-compiler-plugin</artifactId>
28 <version>2.3.2</version>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-jar-plugin</artifactId>
37 <version>2.4</version>
41 <mainClass>${project.mainclass}</mainClass>
42 <addClasspath>true</addClasspath>
43 <classpathPrefix>lib/</classpathPrefix>
49 <groupId>org.codehaus.mojo</groupId>
50 <artifactId>exec-maven-plugin</artifactId>
51 <version>1.2.1</version>
55 <key>browser.rootdir</key>
56 <value>${basedir}/src/main/webapp/</value>
59 <mainClass>${project.mainclass}</mainClass>
66 <groupId>org.netbeans.html</groupId>
67 <artifactId>net.java.html.json</artifactId>
68 <version>${net.java.html.version}</version>
71 <groupId>org.netbeans.html</groupId>
72 <artifactId>net.java.html.boot</artifactId>
73 <version>${net.java.html.version}</version>
76 <groupId>org.netbeans.html</groupId>
77 <artifactId>net.java.html</artifactId>
78 <version>${net.java.html.version}</version>
81 <groupId>org.netbeans.html</groupId>
82 <artifactId>net.java.html.sound</artifactId>
83 <version>${net.java.html.version}</version>
86 <groupId>org.netbeans.html</groupId>
87 <artifactId>ko4j</artifactId>
88 <version>${net.java.html.version}</version>
91 <groupId>org.netbeans.html.nbrwsr</groupId>
92 <artifactId>api</artifactId>
93 <version>0.1-SNAPSHOT</version>
94 <scope>provided</scope>
97 <groupId>org.testng</groupId>
98 <artifactId>testng</artifactId>
99 <version>6.7</version>
107 <activeByDefault>true</activeByDefault>
112 <artifactId>maven-assembly-plugin</artifactId>
113 <version>2.4</version>
116 <id>distro-assembly</id>
117 <phase>package</phase>
123 <descriptor>src/main/assembly/html.java.net.xml</descriptor>
133 <groupId>org.netbeans.html</groupId>
134 <artifactId>net.java.html.boot.fx</artifactId>
135 <version>${net.java.html.version}</version>
136 <scope>runtime</scope>
145 <value>bck2brwsr</value>
151 <groupId>org.apidesign.bck2brwsr</groupId>
152 <artifactId>bck2brwsr-maven-plugin</artifactId>
153 <version>${bck2brwsr.version}</version>
162 <directory>${basedir}/src/main/webapp/</directory>
163 <startpage>${brwsr.startpage}</startpage>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-compiler-plugin</artifactId>
171 <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
176 <artifactId>maven-assembly-plugin</artifactId>
177 <version>2.4</version>
180 <id>distro-assembly</id>
181 <phase>package</phase>
187 <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
197 <groupId>org.apidesign.bck2brwsr</groupId>
198 <artifactId>emul</artifactId>
199 <version>${bck2brwsr.version}</version>
200 <classifier>rt</classifier>
203 <groupId>org.apidesign.bck2brwsr</groupId>
204 <artifactId>ko-bck2brwsr</artifactId>
205 <version>${bck2brwsr.version}</version>
206 <scope>runtime</scope>
209 <groupId>org.apidesign.bck2brwsr</groupId>
210 <artifactId>vm4brwsr</artifactId>
211 <classifier>js</classifier>
213 <version>${bck2brwsr.version}</version>
214 <scope>provided</scope>
221 <platform.version>4.1.1.4</platform.version>
222 <android.plugin.version>3.7.0</android.plugin.version>
227 <groupId>com.google.android</groupId>
228 <artifactId>android</artifactId>
229 <version>${platform.version}</version>
230 <scope>provided</scope>
233 <groupId>org.apidesign.brwsr</groupId>
234 <artifactId>dlvkbrwsr</artifactId>
235 <version>0.5</version>
239 <groupId>org.netbeans.html</groupId>
240 <artifactId>ko-ws-tyrus</artifactId>
241 <version>${net.java.html.version}</version>
244 <artifactId>org.json-osgi</artifactId>
245 <groupId>de.twentyeleven.skysail</groupId>
253 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
254 <artifactId>android-maven-plugin</artifactId>
255 <version>${android.plugin.version}</version>
256 <extensions>true</extensions>
258 <classifier>apk</classifier>
259 <attachJar>false</attachJar>
260 <apkDebug>debug</apkDebug>
261 <assetsDirectory>src/main/webapp</assetsDirectory>
263 <platform>16</platform>
267 <metaInclude>services/org.apidesign.**</metaInclude>
270 <extractDuplicates>true</extractDuplicates>
271 <file>${project.build.directory}/${project.build.finalName}.apk</file>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-install-plugin</artifactId>
286 <version>2.5.1</version>
288 <groupId>${project.groupId}</groupId>
289 <artifactId>${project.artifactId}</artifactId>
290 <version>${project.version}</version>
291 <file>${project.build.directory}/${project.build.finalName}.apk</file>
292 <packaging>apk</packaging>
298 <phase>install</phase>
300 <goal>install-file</goal>
313 <groupId>org.netbeans.html.nbrwsr</groupId>
314 <artifactId>api</artifactId>
315 <version>0.1-SNAPSHOT</version>
316 <scope>compile</scope>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-resources-plugin</artifactId>
324 <version>2.6</version>
327 <id>include-webpages</id>
329 <goal>copy-resources</goal>
331 <phase>process-resources</phase>
333 <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory>
334 <overwrite>true</overwrite>
337 <directory>src/main/webapp/pages</directory>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>nbm-maven-plugin</artifactId>
347 <version>3.13</version>
348 <extensions>true</extensions>
351 <id>default-manifest</id>
352 <phase>process-classes</phase>
354 <goal>manifest</goal>
357 <useOSGiDependencies>true</useOSGiDependencies>
358 <brandingToken>html4j4nb</brandingToken>
359 <cluster>html4j4nb</cluster>
360 <verifyIntegrity>false</verifyIntegrity>
365 <phase>package</phase>
370 <useOSGiDependencies>true</useOSGiDependencies>
371 <cluster>html4j4nb</cluster>
372 <verifyIntegrity>false</verifyIntegrity>
377 <useOSGiDependencies>true</useOSGiDependencies>
378 <brandingToken>html4j4nb</brandingToken>
379 <cluster>html4j4nb</cluster>
380 <verifyIntegrity>false</verifyIntegrity>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-jar-plugin</artifactId>
388 <!-- to have the jar plugin pickup the nbm generated manifest -->
389 <useDefaultManifestFile>true</useDefaultManifestFile>