author | Jaroslav Tulach <jtulach@netbeans.org> |
Mon, 08 Sep 2014 17:15:53 +0200 | |
branch | nbrwsr |
changeset 209 | daed0ea9470b |
parent 208 | 9073c01ba497 |
child 214 | d682c126a078 |
permissions | -rw-r--r-- |
jaroslav@189 | 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@209 | 7 |
<version>2.3-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@128 | 16 |
<description> |
jtulach@128 | 17 |
Demonstration of DukeScript rendering technology. |
jtulach@133 | 18 |
Plus old, good, simple and entertaining game. |
jtulach@130 | 19 |
Improve your coding skills by playing a game and |
jtulach@130 | 20 |
meanwhile learn what a rendering technology of the |
jtulach@130 | 21 |
future is going to look like. Learn to use DukeScript: |
jtulach@130 | 22 |
Write once, display (and deploy) anywhere! |
jtulach@128 | 23 |
</description> |
jtulach@128 | 24 |
<url>http://html.java.net/</url> |
jtulach@63 | 25 |
<properties> |
jtulach@63 | 26 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
jtulach@63 | 27 |
<project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass> |
jtulach@63 | 28 |
<netbeans.compile.on.save>none</netbeans.compile.on.save> |
jaroslav@160 | 29 |
<bck2brwsr.obfuscationlevel>FULL</bck2brwsr.obfuscationlevel> |
jtulach@63 | 30 |
</properties> |
jtulach@63 | 31 |
<build> |
jtulach@63 | 32 |
<plugins> |
jtulach@63 | 33 |
<plugin> |
jtulach@63 | 34 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 35 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 36 |
<version>2.3.2</version> |
jtulach@63 | 37 |
<configuration> |
jtulach@63 | 38 |
<source>1.6</source> |
jtulach@63 | 39 |
<target>1.6</target> |
jtulach@63 | 40 |
</configuration> |
jtulach@63 | 41 |
</plugin> |
jtulach@63 | 42 |
<plugin> |
jtulach@120 | 43 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@120 | 44 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@120 | 45 |
<version>2.4</version> |
jtulach@120 | 46 |
<configuration> |
jtulach@120 | 47 |
<archive> |
jtulach@120 | 48 |
<manifest> |
jtulach@120 | 49 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@120 | 50 |
<addClasspath>true</addClasspath> |
jtulach@120 | 51 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@120 | 52 |
</manifest> |
jtulach@120 | 53 |
</archive> |
jtulach@120 | 54 |
</configuration> |
jtulach@120 | 55 |
</plugin> |
jtulach@120 | 56 |
<plugin> |
jtulach@63 | 57 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@63 | 58 |
<artifactId>exec-maven-plugin</artifactId> |
jtulach@63 | 59 |
<version>1.2.1</version> |
jtulach@63 | 60 |
<configuration> |
jtulach@63 | 61 |
<systemProperties> |
jtulach@63 | 62 |
<systemProperty> |
jtulach@63 | 63 |
<key>browser.rootdir</key> |
jtulach@63 | 64 |
<value>${basedir}/src/main/webapp/</value> |
jtulach@63 | 65 |
</systemProperty> |
jtulach@63 | 66 |
</systemProperties> |
jtulach@63 | 67 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@63 | 68 |
</configuration> |
jtulach@63 | 69 |
</plugin> |
jtulach@63 | 70 |
</plugins> |
jtulach@63 | 71 |
</build> |
jtulach@63 | 72 |
<dependencies> |
jtulach@63 | 73 |
<dependency> |
jtulach@63 | 74 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 75 |
<artifactId>net.java.html.json</artifactId> |
jtulach@63 | 76 |
<version>${net.java.html.version}</version> |
jtulach@63 | 77 |
</dependency> |
jtulach@63 | 78 |
<dependency> |
jtulach@63 | 79 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 80 |
<artifactId>net.java.html.boot</artifactId> |
jtulach@63 | 81 |
<version>${net.java.html.version}</version> |
jtulach@63 | 82 |
</dependency> |
jtulach@63 | 83 |
<dependency> |
jtulach@79 | 84 |
<groupId>org.netbeans.html</groupId> |
jtulach@111 | 85 |
<artifactId>net.java.html</artifactId> |
jtulach@111 | 86 |
<version>${net.java.html.version}</version> |
jtulach@111 | 87 |
</dependency> |
jtulach@111 | 88 |
<dependency> |
jtulach@111 | 89 |
<groupId>org.netbeans.html</groupId> |
jtulach@79 | 90 |
<artifactId>net.java.html.sound</artifactId> |
jtulach@79 | 91 |
<version>${net.java.html.version}</version> |
jtulach@79 | 92 |
</dependency> |
jtulach@79 | 93 |
<dependency> |
jtulach@81 | 94 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 95 |
<artifactId>ko4j</artifactId> |
jtulach@81 | 96 |
<version>${net.java.html.version}</version> |
jtulach@81 | 97 |
</dependency> |
jtulach@81 | 98 |
<dependency> |
jtulach@118 | 99 |
<groupId>org.netbeans.html</groupId> |
jtulach@118 | 100 |
<artifactId>nbrwsr</artifactId> |
jtulach@144 | 101 |
<version>${nb.html.version}</version> |
jtulach@112 | 102 |
<scope>provided</scope> |
jtulach@112 | 103 |
</dependency> |
jtulach@112 | 104 |
<dependency> |
jtulach@63 | 105 |
<groupId>org.testng</groupId> |
jtulach@63 | 106 |
<artifactId>testng</artifactId> |
jtulach@63 | 107 |
<version>6.7</version> |
jtulach@63 | 108 |
<scope>test</scope> |
jtulach@63 | 109 |
</dependency> |
jtulach@63 | 110 |
</dependencies> |
jtulach@63 | 111 |
<profiles> |
jtulach@63 | 112 |
<profile> |
jtulach@63 | 113 |
<id>fxbrwsr</id> |
jtulach@63 | 114 |
<activation> |
jtulach@63 | 115 |
<activeByDefault>true</activeByDefault> |
jtulach@63 | 116 |
</activation> |
jtulach@63 | 117 |
<build> |
jtulach@63 | 118 |
<plugins> |
jtulach@63 | 119 |
<plugin> |
jtulach@131 | 120 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@131 | 121 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@131 | 122 |
<version>2.4</version> |
jtulach@131 | 123 |
<configuration> |
jtulach@131 | 124 |
<archive> |
jtulach@131 | 125 |
<manifest> |
jtulach@131 | 126 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@131 | 127 |
<addClasspath>true</addClasspath> |
jtulach@131 | 128 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@131 | 129 |
</manifest> |
jtulach@131 | 130 |
</archive> |
jtulach@131 | 131 |
</configuration> |
jtulach@131 | 132 |
</plugin> |
jtulach@131 | 133 |
<plugin> |
jtulach@63 | 134 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 135 |
<version>2.4</version> |
jtulach@63 | 136 |
<executions> |
jtulach@63 | 137 |
<execution> |
jtulach@63 | 138 |
<id>distro-assembly</id> |
jtulach@63 | 139 |
<phase>package</phase> |
jtulach@63 | 140 |
<goals> |
jtulach@63 | 141 |
<goal>single</goal> |
jtulach@63 | 142 |
</goals> |
jtulach@63 | 143 |
<configuration> |
jtulach@63 | 144 |
<descriptors> |
jtulach@63 | 145 |
<descriptor>src/main/assembly/html.java.net.xml</descriptor> |
jtulach@63 | 146 |
</descriptors> |
jtulach@63 | 147 |
</configuration> |
jtulach@63 | 148 |
</execution> |
jtulach@63 | 149 |
</executions> |
jtulach@63 | 150 |
</plugin> |
jtulach@63 | 151 |
</plugins> |
jtulach@63 | 152 |
</build> |
jtulach@63 | 153 |
<dependencies> |
jtulach@63 | 154 |
<dependency> |
jtulach@63 | 155 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 156 |
<artifactId>net.java.html.boot.fx</artifactId> |
jtulach@63 | 157 |
<version>${net.java.html.version}</version> |
jtulach@63 | 158 |
<scope>runtime</scope> |
jtulach@63 | 159 |
</dependency> |
jtulach@63 | 160 |
</dependencies> |
jtulach@63 | 161 |
</profile> |
jtulach@63 | 162 |
<profile> |
jtulach@63 | 163 |
<id>bck2brwsr</id> |
jtulach@63 | 164 |
<activation> |
jtulach@63 | 165 |
<property> |
jtulach@63 | 166 |
<value>bck2brwsr</value> |
jaroslav@160 | 167 |
<name>show</name> |
jtulach@63 | 168 |
</property> |
jtulach@63 | 169 |
</activation> |
jtulach@63 | 170 |
<build> |
jtulach@63 | 171 |
<plugins> |
jtulach@63 | 172 |
<plugin> |
jtulach@131 | 173 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@131 | 174 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@131 | 175 |
<version>2.4</version> |
jtulach@131 | 176 |
<configuration> |
jtulach@131 | 177 |
<archive> |
jtulach@131 | 178 |
<manifest> |
jtulach@131 | 179 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@131 | 180 |
<addClasspath>true</addClasspath> |
jtulach@131 | 181 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@131 | 182 |
</manifest> |
jtulach@131 | 183 |
</archive> |
jtulach@131 | 184 |
</configuration> |
jtulach@131 | 185 |
</plugin> |
jtulach@131 | 186 |
<plugin> |
jtulach@63 | 187 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 188 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@63 | 189 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 190 |
<executions> |
jtulach@63 | 191 |
<execution> |
jtulach@63 | 192 |
<goals> |
jtulach@63 | 193 |
<goal>brwsr</goal> |
jaroslav@160 | 194 |
<goal>aot</goal> |
jtulach@63 | 195 |
</goals> |
jtulach@63 | 196 |
</execution> |
jtulach@63 | 197 |
</executions> |
jtulach@63 | 198 |
<configuration> |
jaroslav@160 | 199 |
<obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation> |
jaroslav@160 | 200 |
<directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory> |
jaroslav@160 | 201 |
<startpage>index.html</startpage> |
jaroslav@160 | 202 |
<classPathPrefix>lib</classPathPrefix> |
jaroslav@160 | 203 |
<mainJavaScript>${project.build.directory}/minesweeper.js</mainJavaScript> |
jaroslav@160 | 204 |
<exports> |
jaroslav@160 | 205 |
<export>org.apidesign.demo.minesweeper.MinesModel</export> |
jaroslav@160 | 206 |
</exports> |
jtulach@63 | 207 |
</configuration> |
jtulach@63 | 208 |
</plugin> |
jtulach@63 | 209 |
<plugin> |
jtulach@63 | 210 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 211 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 212 |
<configuration> |
jtulach@63 | 213 |
<compilerArguments> |
jtulach@63 | 214 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@63 | 215 |
</compilerArguments> |
jtulach@63 | 216 |
</configuration> |
jtulach@63 | 217 |
</plugin> |
jtulach@63 | 218 |
<plugin> |
jtulach@63 | 219 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 220 |
<version>2.4</version> |
jtulach@63 | 221 |
<executions> |
jtulach@63 | 222 |
<execution> |
jtulach@63 | 223 |
<id>distro-assembly</id> |
jtulach@63 | 224 |
<phase>package</phase> |
jtulach@63 | 225 |
<goals> |
jtulach@63 | 226 |
<goal>single</goal> |
jtulach@63 | 227 |
</goals> |
jtulach@63 | 228 |
<configuration> |
jtulach@63 | 229 |
<descriptors> |
jtulach@63 | 230 |
<descriptor>src/main/assembly/bck2brwsr.xml</descriptor> |
jtulach@63 | 231 |
</descriptors> |
jtulach@63 | 232 |
</configuration> |
jtulach@63 | 233 |
</execution> |
jtulach@63 | 234 |
</executions> |
jtulach@63 | 235 |
</plugin> |
jtulach@63 | 236 |
</plugins> |
jtulach@63 | 237 |
</build> |
jtulach@63 | 238 |
<dependencies> |
jtulach@63 | 239 |
<dependency> |
jtulach@63 | 240 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 241 |
<artifactId>emul</artifactId> |
jtulach@63 | 242 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 243 |
<classifier>rt</classifier> |
jtulach@63 | 244 |
</dependency> |
jtulach@63 | 245 |
<dependency> |
jaroslav@160 | 246 |
<groupId>org.netbeans.html</groupId> |
jaroslav@160 | 247 |
<artifactId>net.java.html.boot</artifactId> |
jaroslav@160 | 248 |
<version>${net.java.html.version}</version> |
jaroslav@160 | 249 |
<exclusions> |
jaroslav@160 | 250 |
<exclusion> |
jaroslav@160 | 251 |
<artifactId>asm</artifactId> |
jaroslav@160 | 252 |
<groupId>org.ow2.asm</groupId> |
jaroslav@160 | 253 |
</exclusion> |
jaroslav@160 | 254 |
</exclusions> |
jaroslav@160 | 255 |
</dependency> |
jaroslav@160 | 256 |
<dependency> |
jtulach@63 | 257 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 258 |
<artifactId>ko-bck2brwsr</artifactId> |
jtulach@63 | 259 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 260 |
<scope>runtime</scope> |
jtulach@63 | 261 |
</dependency> |
jtulach@63 | 262 |
<dependency> |
jtulach@63 | 263 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 264 |
<artifactId>vm4brwsr</artifactId> |
jtulach@63 | 265 |
<classifier>js</classifier> |
jtulach@63 | 266 |
<type>zip</type> |
jtulach@63 | 267 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 268 |
<scope>provided</scope> |
jtulach@63 | 269 |
</dependency> |
jtulach@63 | 270 |
</dependencies> |
jtulach@63 | 271 |
</profile> |
jtulach@81 | 272 |
<profile> |
jtulach@81 | 273 |
<id>dlvkbrwsr</id> |
jtulach@81 | 274 |
<properties> |
jtulach@81 | 275 |
<platform.version>4.1.1.4</platform.version> |
jtulach@81 | 276 |
<android.plugin.version>3.7.0</android.plugin.version> |
jtulach@81 | 277 |
<debug>false</debug> |
jtulach@81 | 278 |
</properties> |
jtulach@81 | 279 |
<dependencies> |
jtulach@81 | 280 |
<dependency> |
jtulach@81 | 281 |
<groupId>com.google.android</groupId> |
jtulach@81 | 282 |
<artifactId>android</artifactId> |
jtulach@81 | 283 |
<version>${platform.version}</version> |
jtulach@81 | 284 |
<scope>provided</scope> |
jtulach@81 | 285 |
</dependency> |
jtulach@81 | 286 |
<dependency> |
jtulach@107 | 287 |
<groupId>org.apidesign.brwsr</groupId> |
jtulach@107 | 288 |
<artifactId>dlvkbrwsr</artifactId> |
jaroslav@199 | 289 |
<version>1.0-SNAPSHOT</version> |
jtulach@107 | 290 |
<type>jar</type> |
jtulach@107 | 291 |
</dependency> |
jtulach@107 | 292 |
<dependency> |
jtulach@81 | 293 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 294 |
<artifactId>ko-ws-tyrus</artifactId> |
jtulach@81 | 295 |
<version>${net.java.html.version}</version> |
jtulach@81 | 296 |
<exclusions> |
jtulach@81 | 297 |
<exclusion> |
jtulach@81 | 298 |
<artifactId>org.json-osgi</artifactId> |
jtulach@81 | 299 |
<groupId>de.twentyeleven.skysail</groupId> |
jtulach@81 | 300 |
</exclusion> |
jtulach@81 | 301 |
</exclusions> |
jtulach@81 | 302 |
</dependency> |
jtulach@81 | 303 |
</dependencies> |
jtulach@81 | 304 |
<build> |
jtulach@81 | 305 |
<plugins> |
jtulach@81 | 306 |
<plugin> |
jaroslav@159 | 307 |
<groupId>com.filmon.maven</groupId> |
jaroslav@159 | 308 |
<artifactId>image-maven-plugin</artifactId> |
jaroslav@159 | 309 |
<version>1.1</version> |
jaroslav@159 | 310 |
<executions> |
jaroslav@159 | 311 |
<execution> |
jaroslav@159 | 312 |
<goals> |
jaroslav@159 | 313 |
<goal>scale</goal> |
jaroslav@159 | 314 |
</goals> |
jaroslav@159 | 315 |
<configuration> |
jaroslav@159 | 316 |
<outputDirectory>target/res</outputDirectory> |
jaroslav@159 | 317 |
<images> |
jaroslav@159 | 318 |
<image> |
jaroslav@159 | 319 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@159 | 320 |
<destination>drawable-hdpi/ic_launcher.png</destination> |
jaroslav@159 | 321 |
<width>72</width> |
jaroslav@159 | 322 |
</image> |
jaroslav@159 | 323 |
<image> |
jaroslav@159 | 324 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@159 | 325 |
<destination>drawable-mdpi/ic_launcher.png</destination> |
jaroslav@159 | 326 |
<width>48</width> |
jaroslav@159 | 327 |
</image> |
jaroslav@159 | 328 |
<image> |
jaroslav@159 | 329 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@159 | 330 |
<destination>drawable-xhdpi/ic_launcher.png</destination> |
jaroslav@159 | 331 |
<width>96</width> |
jaroslav@159 | 332 |
</image> |
jaroslav@159 | 333 |
<image> |
jaroslav@159 | 334 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@159 | 335 |
<destination>drawable-xxhdpi/ic_launcher.png</destination> |
jaroslav@159 | 336 |
<width>144</width> |
jaroslav@159 | 337 |
</image> |
jaroslav@159 | 338 |
</images> |
jaroslav@159 | 339 |
</configuration> |
jaroslav@159 | 340 |
</execution> |
jaroslav@159 | 341 |
</executions> |
jaroslav@159 | 342 |
</plugin> |
jaroslav@159 | 343 |
<plugin> |
jtulach@81 | 344 |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> |
jtulach@81 | 345 |
<artifactId>android-maven-plugin</artifactId> |
jtulach@81 | 346 |
<version>${android.plugin.version}</version> |
jtulach@81 | 347 |
<extensions>true</extensions> |
jtulach@81 | 348 |
<configuration> |
jaroslav@159 | 349 |
<resourceDirectory>target/res</resourceDirectory> |
jtulach@81 | 350 |
<classifier>apk</classifier> |
jtulach@81 | 351 |
<attachJar>false</attachJar> |
jtulach@81 | 352 |
<apkDebug>debug</apkDebug> |
jtulach@81 | 353 |
<assetsDirectory>src/main/webapp</assetsDirectory> |
jtulach@81 | 354 |
<sdk> |
jaroslav@151 | 355 |
<platform>19</platform> |
jtulach@81 | 356 |
</sdk> |
jtulach@81 | 357 |
<apk> |
jtulach@81 | 358 |
<metaIncludes> |
jtulach@81 | 359 |
<metaInclude>services/org.apidesign.**</metaInclude> |
jtulach@81 | 360 |
</metaIncludes> |
jtulach@81 | 361 |
</apk> |
jtulach@110 | 362 |
<extractDuplicates>true</extractDuplicates> |
jtulach@81 | 363 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 364 |
</configuration> |
jtulach@81 | 365 |
<executions> |
jtulach@81 | 366 |
<execution> |
jtulach@81 | 367 |
<id>apk</id> |
jtulach@81 | 368 |
<goals> |
jtulach@81 | 369 |
<goal>apk</goal> |
jtulach@81 | 370 |
<goal>dex</goal> |
jtulach@81 | 371 |
</goals> |
jtulach@81 | 372 |
</execution> |
jtulach@81 | 373 |
</executions> |
jtulach@81 | 374 |
</plugin> |
jtulach@81 | 375 |
<plugin> |
jtulach@81 | 376 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@81 | 377 |
<artifactId>maven-install-plugin</artifactId> |
jtulach@81 | 378 |
<version>2.5.1</version> |
jtulach@81 | 379 |
<configuration> |
jtulach@81 | 380 |
<groupId>${project.groupId}</groupId> |
jtulach@81 | 381 |
<artifactId>${project.artifactId}</artifactId> |
jtulach@81 | 382 |
<version>${project.version}</version> |
jtulach@81 | 383 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 384 |
<packaging>apk</packaging> |
jtulach@81 | 385 |
<skip>true</skip> |
jtulach@81 | 386 |
</configuration> |
jtulach@81 | 387 |
<executions> |
jtulach@81 | 388 |
<execution> |
jtulach@81 | 389 |
<id>install-apk</id> |
jtulach@81 | 390 |
<phase>install</phase> |
jtulach@81 | 391 |
<goals> |
jtulach@81 | 392 |
<goal>install-file</goal> |
jtulach@81 | 393 |
</goals> |
jtulach@81 | 394 |
</execution> |
jtulach@81 | 395 |
</executions> |
jtulach@81 | 396 |
</plugin> |
jtulach@81 | 397 |
</plugins> |
jtulach@81 | 398 |
</build> |
jtulach@91 | 399 |
</profile> |
jtulach@91 | 400 |
<profile> |
jtulach@91 | 401 |
<id>teabrwsr</id> |
jtulach@91 | 402 |
<build> |
jtulach@91 | 403 |
<plugins> |
jtulach@91 | 404 |
<plugin> |
jtulach@91 | 405 |
<groupId>org.teavm</groupId> |
jtulach@91 | 406 |
<artifactId>teavm-maven-plugin</artifactId> |
jtulach@115 | 407 |
<version>${teavm.version}</version> |
jtulach@91 | 408 |
<dependencies> |
jtulach@91 | 409 |
<dependency> |
jtulach@91 | 410 |
<groupId>org.teavm</groupId> |
jtulach@91 | 411 |
<artifactId>teavm-classlib</artifactId> |
jtulach@115 | 412 |
<version>${teavm.version}</version> |
jtulach@91 | 413 |
</dependency> |
jtulach@91 | 414 |
<!-- This module adds html4j support. It mainly includes JavaScriptBuilder support. |
jtulach@91 | 415 |
Also there are some little patches to JCL emulation, that are required to pass TCK --> |
jtulach@91 | 416 |
<dependency> |
jtulach@91 | 417 |
<groupId>org.teavm</groupId> |
jtulach@91 | 418 |
<artifactId>teavm-html4j</artifactId> |
jtulach@115 | 419 |
<version>${teavm.version}</version> |
jtulach@91 | 420 |
</dependency> |
jtulach@91 | 421 |
</dependencies> |
jtulach@91 | 422 |
<executions> |
jtulach@91 | 423 |
<execution> |
jtulach@91 | 424 |
<id>generate-minesweeper</id> |
jtulach@91 | 425 |
<goals> |
jtulach@91 | 426 |
<goal>build-javascript</goal> |
jtulach@91 | 427 |
</goals> |
jtulach@91 | 428 |
<phase>process-classes</phase> |
jtulach@91 | 429 |
<configuration> |
jtulach@91 | 430 |
<!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript --> |
jtulach@91 | 431 |
<minifying>false</minifying> |
jtulach@97 | 432 |
<properties> |
jtulach@97 | 433 |
<!-- This classes (separated with , ; space) will be available through vm.loadClass() --> |
jtulach@97 | 434 |
<html4j.entryPoints>org.apidesign.demo.minesweeper.MainBrwsr</html4j.entryPoints> |
jtulach@97 | 435 |
</properties> |
jtulach@91 | 436 |
<!-- Don't include main page - we created it by ourselves --> |
jtulach@91 | 437 |
<mainPageIncluded>false</mainPageIncluded> |
jtulach@97 | 438 |
<!-- Merge runtime.js instead of putting as a separate file --> |
jtulach@97 | 439 |
<runtime>MERGED</runtime> |
jtulach@97 | 440 |
<!-- Name of the generated file --> |
jtulach@97 | 441 |
<targetFileName>bck2brwsr.js</targetFileName> |
jtulach@91 | 442 |
<targetDirectory>${project.build.directory}/teavm</targetDirectory> |
jtulach@91 | 443 |
<!-- This transformer adds null checks before virtual calls. It is not included |
jtulach@91 | 444 |
by default as we don't always need these null checks --> |
jtulach@91 | 445 |
<transformers> |
jtulach@91 | 446 |
<param>org.teavm.javascript.NullPointerExceptionTransformer</param> |
jtulach@91 | 447 |
</transformers> |
jtulach@91 | 448 |
</configuration> |
jtulach@91 | 449 |
</execution> |
jtulach@91 | 450 |
</executions> |
jtulach@91 | 451 |
</plugin> |
jtulach@91 | 452 |
<plugin> |
jtulach@91 | 453 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@91 | 454 |
<version>2.4</version> |
jtulach@91 | 455 |
<executions> |
jtulach@91 | 456 |
<execution> |
jtulach@91 | 457 |
<id>distro-assembly</id> |
jtulach@91 | 458 |
<phase>package</phase> |
jtulach@91 | 459 |
<goals> |
jtulach@91 | 460 |
<goal>single</goal> |
jtulach@91 | 461 |
</goals> |
jtulach@91 | 462 |
<configuration> |
jtulach@91 | 463 |
<descriptors> |
jtulach@91 | 464 |
<descriptor>src/main/assembly/teabrwsr.xml</descriptor> |
jtulach@91 | 465 |
</descriptors> |
jtulach@91 | 466 |
</configuration> |
jtulach@91 | 467 |
</execution> |
jtulach@91 | 468 |
</executions> |
jtulach@91 | 469 |
</plugin> |
jtulach@91 | 470 |
</plugins> |
jtulach@91 | 471 |
</build> |
jtulach@81 | 472 |
</profile> |
jtulach@111 | 473 |
<profile> |
jtulach@125 | 474 |
<id>ibrwsr</id> |
jtulach@125 | 475 |
<dependencies> |
jtulach@125 | 476 |
<dependency> |
jtulach@125 | 477 |
<groupId>org.apidesign.brwsr</groupId> |
jtulach@125 | 478 |
<artifactId>ibrwsr</artifactId> |
jaroslav@199 | 479 |
<version>0.8.3</version> |
jtulach@125 | 480 |
<scope>runtime</scope> |
jtulach@125 | 481 |
</dependency> |
jtulach@125 | 482 |
</dependencies> |
jtulach@125 | 483 |
<build> |
jtulach@125 | 484 |
<plugins> |
jtulach@125 | 485 |
<plugin> |
jaroslav@158 | 486 |
<groupId>com.filmon.maven</groupId> |
jaroslav@158 | 487 |
<artifactId>image-maven-plugin</artifactId> |
jaroslav@158 | 488 |
<version>1.1</version> |
jaroslav@158 | 489 |
<executions> |
jaroslav@158 | 490 |
<execution> |
jaroslav@158 | 491 |
<goals> |
jaroslav@158 | 492 |
<goal>scale</goal> |
jaroslav@158 | 493 |
</goals> |
jaroslav@158 | 494 |
<configuration> |
jaroslav@158 | 495 |
<outputDirectory>target/images</outputDirectory> |
jaroslav@158 | 496 |
<images> |
jaroslav@158 | 497 |
<image> |
jaroslav@158 | 498 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 499 |
<destination>Icon.png</destination> |
jaroslav@158 | 500 |
<width>57</width> |
jaroslav@158 | 501 |
</image> |
jaroslav@158 | 502 |
<image> |
jaroslav@158 | 503 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 504 |
<destination>Icon@2.png</destination> |
jaroslav@158 | 505 |
<width>114</width> |
jaroslav@158 | 506 |
</image> |
jaroslav@158 | 507 |
<image> |
jaroslav@158 | 508 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 509 |
<destination>Icon-60.png</destination> |
jaroslav@158 | 510 |
<width>60</width> |
jaroslav@158 | 511 |
</image> |
jaroslav@158 | 512 |
<image> |
jaroslav@158 | 513 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 514 |
<destination>Icon-60@2.png</destination> |
jaroslav@158 | 515 |
<width>120</width> |
jaroslav@158 | 516 |
</image> |
jaroslav@158 | 517 |
<image> |
jaroslav@158 | 518 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 519 |
<destination>Icon-72.png</destination> |
jaroslav@158 | 520 |
<width>72</width> |
jaroslav@158 | 521 |
</image> |
jaroslav@158 | 522 |
<image> |
jaroslav@158 | 523 |
<source>src/main/icons/DukeSweeper.png</source> |
jaroslav@158 | 524 |
<destination>Icon-76.png</destination> |
jaroslav@158 | 525 |
<width>76</width> |
jaroslav@158 | 526 |
</image> |
jaroslav@158 | 527 |
</images> |
jaroslav@158 | 528 |
</configuration> |
jaroslav@158 | 529 |
</execution> |
jaroslav@158 | 530 |
</executions> |
jaroslav@158 | 531 |
</plugin> |
jaroslav@158 | 532 |
<plugin> |
jtulach@125 | 533 |
<groupId>org.robovm</groupId> |
jtulach@125 | 534 |
<artifactId>robovm-maven-plugin</artifactId> |
jaroslav@187 | 535 |
<version>0.0.14.1</version> |
jtulach@125 | 536 |
<configuration> |
jtulach@125 | 537 |
<config> |
jtulach@125 | 538 |
<mainClass>org.apidesign.demo.minesweeper.Main</mainClass> |
jtulach@125 | 539 |
<forceLinkClasses> |
jtulach@125 | 540 |
<pattern>java.util.logging.ConsoleHandler</pattern> |
jtulach@125 | 541 |
<pattern>java.util.logging.SimpleFormatter</pattern> |
jtulach@125 | 542 |
<pattern>org.netbeans.html.ko4j.KO4J</pattern> |
jtulach@125 | 543 |
<pattern>org.netbeans.html.sound.impl.BrowserAudioEnv</pattern> |
jtulach@125 | 544 |
<pattern>org.apidesign.brwsr.IBrwsrPrsntr</pattern> |
jaroslav@134 | 545 |
</forceLinkClasses> |
jaroslav@134 | 546 |
<executableName>MineSweeper</executableName> |
jaroslav@134 | 547 |
<resources> |
jtulach@154 | 548 |
<resource>src/main/webapp/pages</resource> |
jtulach@154 | 549 |
<resource> |
jtulach@154 | 550 |
<targetPath>/</targetPath> |
jaroslav@158 | 551 |
<directory>src/main/icons/</directory> |
jaroslav@158 | 552 |
<includes> |
jaroslav@158 | 553 |
<include>Default*.png</include> |
jaroslav@158 | 554 |
</includes> |
jaroslav@158 | 555 |
</resource> |
jaroslav@158 | 556 |
<resource> |
jaroslav@158 | 557 |
<targetPath>/</targetPath> |
jaroslav@158 | 558 |
<directory>target/images/</directory> |
jtulach@154 | 559 |
<includes> |
jtulach@154 | 560 |
<include>*.png</include> |
jtulach@154 | 561 |
</includes> |
jtulach@154 | 562 |
</resource> |
jaroslav@134 | 563 |
</resources> |
jaroslav@190 | 564 |
<iosInfoPList>Info.plist.xml</iosInfoPList> |
jtulach@125 | 565 |
</config> |
jtulach@125 | 566 |
<includeJFX>false</includeJFX> |
jaroslav@194 | 567 |
<!-- |
jaroslav@192 | 568 |
<iosSignIdentity>iPhone Distribution</iosSignIdentity> |
jaroslav@194 | 569 |
<iosProvisioningProfile>9728E91B-1BB7-40D6-8922-3DD3BA5E6ECD</iosProvisioningProfile> |
jaroslav@194 | 570 |
--> |
jtulach@125 | 571 |
</configuration> |
jtulach@125 | 572 |
</plugin> |
jtulach@125 | 573 |
</plugins> |
jtulach@125 | 574 |
</build> |
jtulach@125 | 575 |
</profile> |
jtulach@125 | 576 |
<profile> |
jtulach@111 | 577 |
<id>nbrwsr</id> |
jtulach@112 | 578 |
<dependencies> |
jtulach@112 | 579 |
<dependency> |
jtulach@118 | 580 |
<groupId>org.netbeans.html</groupId> |
jtulach@118 | 581 |
<artifactId>nbrwsr</artifactId> |
jtulach@144 | 582 |
<version>${nb.html.version}</version> |
jtulach@112 | 583 |
<scope>compile</scope> |
jtulach@112 | 584 |
</dependency> |
jtulach@208 | 585 |
<dependency> |
jtulach@208 | 586 |
<artifactId>org-openide-filesystems</artifactId> |
jtulach@208 | 587 |
<groupId>org.netbeans.api</groupId> |
jtulach@208 | 588 |
<type>jar</type> |
jtulach@208 | 589 |
<version>RELEASE80</version> |
jtulach@208 | 590 |
<scope>compile</scope> |
jtulach@208 | 591 |
</dependency> |
jtulach@208 | 592 |
<dependency> |
jtulach@208 | 593 |
<artifactId>org-openide-awt</artifactId> |
jtulach@208 | 594 |
<groupId>org.netbeans.api</groupId> |
jtulach@208 | 595 |
<type>jar</type> |
jtulach@208 | 596 |
<version>RELEASE80</version> |
jtulach@208 | 597 |
<scope>compile</scope> |
jtulach@208 | 598 |
</dependency> |
jtulach@208 | 599 |
<dependency> |
jtulach@208 | 600 |
<artifactId>org-openide-util</artifactId> |
jtulach@208 | 601 |
<groupId>org.netbeans.api</groupId> |
jtulach@208 | 602 |
<type>jar</type> |
jtulach@208 | 603 |
<version>RELEASE80</version> |
jtulach@208 | 604 |
<scope>compile</scope> |
jtulach@208 | 605 |
</dependency> |
jtulach@208 | 606 |
<dependency> |
jtulach@208 | 607 |
<artifactId>org-openide-util-lookup</artifactId> |
jtulach@208 | 608 |
<groupId>org.netbeans.api</groupId> |
jtulach@208 | 609 |
<type>jar</type> |
jtulach@208 | 610 |
<version>RELEASE80</version> |
jtulach@208 | 611 |
<scope>compile</scope> |
jtulach@208 | 612 |
</dependency> |
jtulach@112 | 613 |
</dependencies> |
jtulach@111 | 614 |
<build> |
jtulach@111 | 615 |
<plugins> |
jtulach@111 | 616 |
<plugin> |
jtulach@113 | 617 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@113 | 618 |
<artifactId>maven-resources-plugin</artifactId> |
jtulach@113 | 619 |
<version>2.6</version> |
jtulach@113 | 620 |
<executions> |
jtulach@113 | 621 |
<execution> |
jtulach@113 | 622 |
<id>include-webpages</id> |
jtulach@113 | 623 |
<goals> |
jtulach@113 | 624 |
<goal>copy-resources</goal> |
jtulach@113 | 625 |
</goals> |
jtulach@113 | 626 |
<phase>process-resources</phase> |
jtulach@113 | 627 |
<configuration> |
jtulach@113 | 628 |
<outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory> |
jtulach@113 | 629 |
<overwrite>true</overwrite> |
jtulach@113 | 630 |
<resources> |
jtulach@113 | 631 |
<resource> |
jtulach@113 | 632 |
<directory>src/main/webapp/pages</directory> |
jtulach@113 | 633 |
</resource> |
jtulach@113 | 634 |
</resources> |
jtulach@113 | 635 |
</configuration> |
jtulach@113 | 636 |
</execution> |
jtulach@113 | 637 |
</executions> |
jtulach@113 | 638 |
</plugin> |
jtulach@113 | 639 |
<plugin> |
jtulach@205 | 640 |
<groupId>com.filmon.maven</groupId> |
jtulach@205 | 641 |
<artifactId>image-maven-plugin</artifactId> |
jtulach@205 | 642 |
<version>1.1</version> |
jtulach@205 | 643 |
<executions> |
jtulach@205 | 644 |
<execution> |
jtulach@205 | 645 |
<goals> |
jtulach@205 | 646 |
<goal>scale</goal> |
jtulach@205 | 647 |
</goals> |
jtulach@205 | 648 |
<configuration> |
jtulach@205 | 649 |
<outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory> |
jtulach@205 | 650 |
<images> |
jtulach@205 | 651 |
<image> |
jtulach@205 | 652 |
<source>src/main/icons/DukeSweeper.png</source> |
jtulach@205 | 653 |
<destination>DukeSweeper.png</destination> |
jtulach@205 | 654 |
<width>16</width> |
jtulach@205 | 655 |
</image> |
jtulach@205 | 656 |
<image> |
jtulach@205 | 657 |
<source>src/main/icons/DukeSweeper.png</source> |
jtulach@205 | 658 |
<destination>DukeSweeper_24.png</destination> |
jtulach@205 | 659 |
<width>24</width> |
jtulach@205 | 660 |
</image> |
jtulach@205 | 661 |
</images> |
jtulach@205 | 662 |
</configuration> |
jtulach@205 | 663 |
</execution> |
jtulach@205 | 664 |
</executions> |
jtulach@205 | 665 |
</plugin> |
jtulach@205 | 666 |
<plugin> |
jtulach@111 | 667 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@111 | 668 |
<artifactId>nbm-maven-plugin</artifactId> |
jtulach@111 | 669 |
<version>3.13</version> |
jtulach@111 | 670 |
<extensions>true</extensions> |
jtulach@111 | 671 |
<executions> |
jtulach@111 | 672 |
<execution> |
jtulach@111 | 673 |
<id>default-manifest</id> |
jtulach@111 | 674 |
<phase>process-classes</phase> |
jtulach@111 | 675 |
<goals> |
jtulach@111 | 676 |
<goal>manifest</goal> |
jtulach@111 | 677 |
</goals> |
jtulach@111 | 678 |
<configuration> |
jtulach@111 | 679 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@111 | 680 |
<brandingToken>html4j4nb</brandingToken> |
jtulach@129 | 681 |
<cluster>extra</cluster> |
jtulach@111 | 682 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 683 |
</configuration> |
jtulach@111 | 684 |
</execution> |
jtulach@111 | 685 |
<execution> |
jtulach@111 | 686 |
<id>default-nbm</id> |
jtulach@111 | 687 |
<phase>package</phase> |
jtulach@111 | 688 |
<goals> |
jtulach@111 | 689 |
<goal>nbm</goal> |
jtulach@111 | 690 |
</goals> |
jtulach@111 | 691 |
<configuration> |
jtulach@111 | 692 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@129 | 693 |
<cluster>extra</cluster> |
jtulach@111 | 694 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 695 |
</configuration> |
jtulach@111 | 696 |
</execution> |
jtulach@111 | 697 |
</executions> |
jtulach@111 | 698 |
<configuration> |
jtulach@111 | 699 |
<useOSGiDependencies>true</useOSGiDependencies> |
jtulach@111 | 700 |
<brandingToken>html4j4nb</brandingToken> |
jtulach@111 | 701 |
<cluster>html4j4nb</cluster> |
jtulach@111 | 702 |
<verifyIntegrity>false</verifyIntegrity> |
jtulach@111 | 703 |
</configuration> |
jtulach@111 | 704 |
</plugin> |
jtulach@111 | 705 |
|
jtulach@111 | 706 |
<plugin> |
jtulach@111 | 707 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@111 | 708 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@111 | 709 |
<configuration> |
jtulach@111 | 710 |
<!-- to have the jar plugin pickup the nbm generated manifest --> |
jtulach@111 | 711 |
<useDefaultManifestFile>true</useDefaultManifestFile> |
jtulach@111 | 712 |
</configuration> |
jtulach@111 | 713 |
</plugin> |
jtulach@111 | 714 |
</plugins> |
jtulach@111 | 715 |
</build> |
jtulach@111 | 716 |
</profile> |
jtulach@63 | 717 |
</profiles> |
jtulach@63 | 718 |
</project> |