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.sound</artifactId>
78 <version>${net.java.html.version}</version>
81 <groupId>org.netbeans.html</groupId>
82 <artifactId>ko4j</artifactId>
83 <version>${net.java.html.version}</version>
86 <groupId>org.testng</groupId>
87 <artifactId>testng</artifactId>
88 <version>6.7</version>
96 <activeByDefault>true</activeByDefault>
101 <artifactId>maven-assembly-plugin</artifactId>
102 <version>2.4</version>
105 <id>distro-assembly</id>
106 <phase>package</phase>
112 <descriptor>src/main/assembly/html.java.net.xml</descriptor>
122 <groupId>org.netbeans.html</groupId>
123 <artifactId>net.java.html.boot.fx</artifactId>
124 <version>${net.java.html.version}</version>
125 <scope>runtime</scope>
134 <value>bck2brwsr</value>
138 <bck2brwsr>--</bck2brwsr>
143 <groupId>org.apidesign.bck2brwsr</groupId>
144 <artifactId>bck2brwsr-maven-plugin</artifactId>
145 <version>${bck2brwsr.version}</version>
154 <directory>${basedir}/src/main/webapp/</directory>
155 <startpage>${brwsr.startpage}</startpage>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-compiler-plugin</artifactId>
163 <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
168 <artifactId>maven-assembly-plugin</artifactId>
169 <version>2.4</version>
172 <id>distro-assembly</id>
173 <phase>package</phase>
179 <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
189 <groupId>org.apidesign.bck2brwsr</groupId>
190 <artifactId>emul</artifactId>
191 <version>${bck2brwsr.version}</version>
192 <classifier>rt</classifier>
195 <groupId>org.apidesign.bck2brwsr</groupId>
196 <artifactId>ko-bck2brwsr</artifactId>
197 <version>${bck2brwsr.version}</version>
198 <scope>runtime</scope>
201 <groupId>org.apidesign.bck2brwsr</groupId>
202 <artifactId>vm4brwsr</artifactId>
203 <classifier>js</classifier>
205 <version>${bck2brwsr.version}</version>
206 <scope>provided</scope>
214 <name>android.sdk.path</name>
218 <platform.version>4.1.1.4</platform.version>
219 <android.plugin.version>3.7.0</android.plugin.version>
224 <groupId>com.google.android</groupId>
225 <artifactId>android</artifactId>
226 <version>${platform.version}</version>
227 <scope>provided</scope>
230 <groupId>org.netbeans.html</groupId>
231 <artifactId>ko-ws-tyrus</artifactId>
232 <version>${net.java.html.version}</version>
235 <artifactId>org.json-osgi</artifactId>
236 <groupId>de.twentyeleven.skysail</groupId>
241 <groupId>org.apidesign.html</groupId>
242 <artifactId>dlvkbrwsr</artifactId>
243 <version>0.1-SNAPSHOT</version>
250 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
251 <artifactId>android-maven-plugin</artifactId>
252 <version>${android.plugin.version}</version>
253 <extensions>true</extensions>
255 <classifier>apk</classifier>
256 <attachJar>false</attachJar>
257 <apkDebug>debug</apkDebug>
258 <assetsDirectory>src/main/webapp</assetsDirectory>
260 <platform>16</platform>
264 <metaInclude>services/org.apidesign.**</metaInclude>
267 <file>${project.build.directory}/${project.build.finalName}.apk</file>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-install-plugin</artifactId>
282 <version>2.5.1</version>
284 <groupId>${project.groupId}</groupId>
285 <artifactId>${project.artifactId}</artifactId>
286 <version>${project.version}</version>
287 <file>${project.build.directory}/${project.build.finalName}.apk</file>
288 <packaging>apk</packaging>
294 <phase>install</phase>
296 <goal>install-file</goal>
307 <teabrwsr>--</teabrwsr>
312 <groupId>org.teavm</groupId>
313 <artifactId>teavm-maven-plugin</artifactId>
314 <version>0.0.1-SNAPSHOT</version>
317 <groupId>org.teavm</groupId>
318 <artifactId>teavm-classlib</artifactId>
319 <version>0.0.1-SNAPSHOT</version>
321 <!-- This module adds html4j support. It mainly includes JavaScriptBuilder support.
322 Also there are some little patches to JCL emulation, that are required to pass TCK -->
324 <groupId>org.teavm</groupId>
325 <artifactId>teavm-html4j</artifactId>
326 <version>0.0.1-SNAPSHOT</version>
331 <id>generate-minesweeper</id>
333 <goal>build-javascript</goal>
335 <phase>process-classes</phase>
337 <!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript -->
338 <minifying>false</minifying>
339 <mainClass>org.apidesign.demo.minesweeper.MinesModel</mainClass>
340 <!-- Don't include main page - we created it by ourselves -->
341 <mainPageIncluded>false</mainPageIncluded>
342 <targetDirectory>${project.build.directory}/teavm</targetDirectory>
343 <!-- This transformer adds null checks before virtual calls. It is not included
344 by default as we don't always need these null checks -->
346 <param>org.teavm.javascript.NullPointerExceptionTransformer</param>
353 <artifactId>maven-assembly-plugin</artifactId>
354 <version>2.4</version>
357 <id>distro-assembly</id>
358 <phase>package</phase>
364 <descriptor>src/main/assembly/teabrwsr.xml</descriptor>