1.1 --- a/minesweeper/pom.xml Sun Jun 28 07:14:21 2015 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,683 +0,0 @@
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 -
1.8 - <groupId>org.apidesign.demo</groupId>
1.9 - <artifactId>minesweeper</artifactId>
1.10 - <version>2.4-SNAPSHOT</version>
1.11 - <packaging>jar</packaging>
1.12 - <parent>
1.13 - <artifactId>demo</artifactId>
1.14 - <groupId>org.apidesign.html</groupId>
1.15 - <version>1.0-SNAPSHOT</version>
1.16 - </parent>
1.17 -
1.18 - <name>Mine Sweeper</name>
1.19 - <description>
1.20 - Demonstration of DukeScript rendering technology.
1.21 - Plus old, good, simple and entertaining game.
1.22 - Improve your coding skills by playing a game and
1.23 - meanwhile learn what a rendering technology of the
1.24 - future is going to look like. Learn to use DukeScript:
1.25 - Write once, display (and deploy) anywhere!
1.26 - </description>
1.27 - <url>http://html.java.net/</url>
1.28 - <properties>
1.29 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1.30 - <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
1.31 - <netbeans.compile.on.save>none</netbeans.compile.on.save>
1.32 - <bck2brwsr.obfuscationlevel>FULL</bck2brwsr.obfuscationlevel>
1.33 - <teavm.debug>false</teavm.debug>
1.34 - </properties>
1.35 - <build>
1.36 - <plugins>
1.37 - <plugin>
1.38 - <groupId>org.apache.maven.plugins</groupId>
1.39 - <artifactId>maven-compiler-plugin</artifactId>
1.40 - <version>2.3.2</version>
1.41 - <configuration>
1.42 - <source>1.6</source>
1.43 - <target>1.6</target>
1.44 - </configuration>
1.45 - </plugin>
1.46 - <plugin>
1.47 - <groupId>org.apache.maven.plugins</groupId>
1.48 - <artifactId>maven-jar-plugin</artifactId>
1.49 - <version>2.4</version>
1.50 - <configuration>
1.51 - <archive>
1.52 - <manifest>
1.53 - <mainClass>${project.mainclass}</mainClass>
1.54 - <addClasspath>true</addClasspath>
1.55 - <classpathPrefix>lib/</classpathPrefix>
1.56 - </manifest>
1.57 - </archive>
1.58 - </configuration>
1.59 - </plugin>
1.60 - <plugin>
1.61 - <groupId>org.codehaus.mojo</groupId>
1.62 - <artifactId>exec-maven-plugin</artifactId>
1.63 - <version>1.2.1</version>
1.64 - <configuration>
1.65 - <systemProperties>
1.66 - <systemProperty>
1.67 - <key>browser.rootdir</key>
1.68 - <value>${basedir}/src/main/webapp/</value>
1.69 - </systemProperty>
1.70 - </systemProperties>
1.71 - <mainClass>${project.mainclass}</mainClass>
1.72 - </configuration>
1.73 - </plugin>
1.74 - </plugins>
1.75 - </build>
1.76 - <dependencies>
1.77 - <dependency>
1.78 - <groupId>org.netbeans.html</groupId>
1.79 - <artifactId>net.java.html.json</artifactId>
1.80 - <version>${net.java.html.version}</version>
1.81 - </dependency>
1.82 - <dependency>
1.83 - <groupId>org.netbeans.html</groupId>
1.84 - <artifactId>net.java.html.boot</artifactId>
1.85 - <version>${net.java.html.version}</version>
1.86 - </dependency>
1.87 - <dependency>
1.88 - <groupId>org.netbeans.html</groupId>
1.89 - <artifactId>net.java.html</artifactId>
1.90 - <version>${net.java.html.version}</version>
1.91 - </dependency>
1.92 - <dependency>
1.93 - <groupId>org.netbeans.html</groupId>
1.94 - <artifactId>net.java.html.sound</artifactId>
1.95 - <version>${net.java.html.version}</version>
1.96 - </dependency>
1.97 - <dependency>
1.98 - <groupId>org.netbeans.html</groupId>
1.99 - <artifactId>ko4j</artifactId>
1.100 - <version>${net.java.html.version}</version>
1.101 - </dependency>
1.102 - <dependency>
1.103 - <groupId>org.netbeans.html</groupId>
1.104 - <artifactId>nbrwsr</artifactId>
1.105 - <version>${nb.html.version}</version>
1.106 - <scope>provided</scope>
1.107 - <exclusions>
1.108 - <exclusion>
1.109 - <groupId>com.oracle</groupId>
1.110 - <artifactId>javafx</artifactId>
1.111 - </exclusion>
1.112 - <exclusion>
1.113 - <groupId>org.netbeans.html</groupId>
1.114 - <artifactId>net.java.html.boot</artifactId>
1.115 - </exclusion>
1.116 - <exclusion>
1.117 - <groupId>org.netbeans.html</groupId>
1.118 - <artifactId>net.java.html.boot.fx</artifactId>
1.119 - </exclusion>
1.120 - </exclusions>
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 - </dependencies>
1.129 - <profiles>
1.130 - <profile>
1.131 - <id>fxbrwsr</id>
1.132 - <activation>
1.133 - <activeByDefault>true</activeByDefault>
1.134 - </activation>
1.135 - <build>
1.136 - <plugins>
1.137 - <plugin>
1.138 - <groupId>org.apache.maven.plugins</groupId>
1.139 - <artifactId>maven-jar-plugin</artifactId>
1.140 - <version>2.4</version>
1.141 - <configuration>
1.142 - <archive>
1.143 - <manifest>
1.144 - <mainClass>${project.mainclass}</mainClass>
1.145 - <addClasspath>true</addClasspath>
1.146 - <classpathPrefix>lib/</classpathPrefix>
1.147 - </manifest>
1.148 - </archive>
1.149 - </configuration>
1.150 - </plugin>
1.151 - <plugin>
1.152 - <artifactId>maven-assembly-plugin</artifactId>
1.153 - <version>2.4</version>
1.154 - <executions>
1.155 - <execution>
1.156 - <id>distro-assembly</id>
1.157 - <phase>package</phase>
1.158 - <goals>
1.159 - <goal>single</goal>
1.160 - </goals>
1.161 - <configuration>
1.162 - <descriptors>
1.163 - <descriptor>src/main/assembly/html.java.net.xml</descriptor>
1.164 - </descriptors>
1.165 - </configuration>
1.166 - </execution>
1.167 - </executions>
1.168 - </plugin>
1.169 - </plugins>
1.170 - </build>
1.171 - <dependencies>
1.172 - <dependency>
1.173 - <groupId>org.netbeans.html</groupId>
1.174 - <artifactId>net.java.html.boot.fx</artifactId>
1.175 - <version>${net.java.html.version}</version>
1.176 - <scope>runtime</scope>
1.177 - </dependency>
1.178 - </dependencies>
1.179 - </profile>
1.180 - <profile>
1.181 - <id>bck2brwsr</id>
1.182 - <activation>
1.183 - <property>
1.184 - <value>bck2brwsr</value>
1.185 - <name>show</name>
1.186 - </property>
1.187 - </activation>
1.188 - <build>
1.189 - <plugins>
1.190 - <plugin>
1.191 - <groupId>org.apache.maven.plugins</groupId>
1.192 - <artifactId>maven-jar-plugin</artifactId>
1.193 - <version>2.4</version>
1.194 - <configuration>
1.195 - <archive>
1.196 - <manifest>
1.197 - <mainClass>${project.mainclass}</mainClass>
1.198 - <addClasspath>true</addClasspath>
1.199 - <classpathPrefix>lib/</classpathPrefix>
1.200 - </manifest>
1.201 - </archive>
1.202 - </configuration>
1.203 - </plugin>
1.204 - <plugin>
1.205 - <groupId>org.apidesign.bck2brwsr</groupId>
1.206 - <artifactId>bck2brwsr-maven-plugin</artifactId>
1.207 - <version>${bck2brwsr.version}</version>
1.208 - <executions>
1.209 - <execution>
1.210 - <goals>
1.211 - <goal>brwsr</goal>
1.212 - <goal>aot</goal>
1.213 - </goals>
1.214 - </execution>
1.215 - </executions>
1.216 - <configuration>
1.217 - <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
1.218 - <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
1.219 - <startpage>index.html</startpage>
1.220 - <classPathPrefix>lib</classPathPrefix>
1.221 - <mainJavaScript>${project.build.directory}/minesweeper.js</mainJavaScript>
1.222 - <exports>
1.223 - <export>org.apidesign.demo.minesweeper.MinesModel</export>
1.224 - </exports>
1.225 - </configuration>
1.226 - </plugin>
1.227 - <plugin>
1.228 - <groupId>org.apache.maven.plugins</groupId>
1.229 - <artifactId>maven-compiler-plugin</artifactId>
1.230 - <configuration>
1.231 - <compilerArguments>
1.232 - <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
1.233 - </compilerArguments>
1.234 - </configuration>
1.235 - </plugin>
1.236 - <plugin>
1.237 - <artifactId>maven-assembly-plugin</artifactId>
1.238 - <version>2.4</version>
1.239 - <executions>
1.240 - <execution>
1.241 - <id>distro-assembly</id>
1.242 - <phase>package</phase>
1.243 - <goals>
1.244 - <goal>single</goal>
1.245 - </goals>
1.246 - <configuration>
1.247 - <descriptors>
1.248 - <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
1.249 - </descriptors>
1.250 - </configuration>
1.251 - </execution>
1.252 - </executions>
1.253 - </plugin>
1.254 - </plugins>
1.255 - </build>
1.256 - <dependencies>
1.257 - <dependency>
1.258 - <groupId>org.apidesign.bck2brwsr</groupId>
1.259 - <artifactId>emul</artifactId>
1.260 - <version>${bck2brwsr.version}</version>
1.261 - <classifier>rt</classifier>
1.262 - </dependency>
1.263 - <dependency>
1.264 - <groupId>org.netbeans.html</groupId>
1.265 - <artifactId>net.java.html.boot</artifactId>
1.266 - <version>${net.java.html.version}</version>
1.267 - <exclusions>
1.268 - <exclusion>
1.269 - <artifactId>asm</artifactId>
1.270 - <groupId>org.ow2.asm</groupId>
1.271 - </exclusion>
1.272 - </exclusions>
1.273 - </dependency>
1.274 - <dependency>
1.275 - <groupId>org.apidesign.bck2brwsr</groupId>
1.276 - <artifactId>ko-bck2brwsr</artifactId>
1.277 - <version>${bck2brwsr.version}</version>
1.278 - <scope>runtime</scope>
1.279 - </dependency>
1.280 - </dependencies>
1.281 - </profile>
1.282 - <profile>
1.283 - <id>dlvkbrwsr</id>
1.284 - <properties>
1.285 - <platform.version>4.1.1.4</platform.version>
1.286 - <android.plugin.version>3.7.0</android.plugin.version>
1.287 - <debug>false</debug>
1.288 - </properties>
1.289 - <dependencies>
1.290 - <dependency>
1.291 - <groupId>com.google.android</groupId>
1.292 - <artifactId>android</artifactId>
1.293 - <version>${platform.version}</version>
1.294 - <scope>provided</scope>
1.295 - </dependency>
1.296 - <dependency>
1.297 - <groupId>com.dukescript.presenters</groupId>
1.298 - <artifactId>android</artifactId>
1.299 - <version>0.8.1</version>
1.300 - <type>jar</type>
1.301 - </dependency>
1.302 - <dependency>
1.303 - <groupId>org.netbeans.html</groupId>
1.304 - <artifactId>ko-ws-tyrus</artifactId>
1.305 - <version>${net.java.html.version}</version>
1.306 - <exclusions>
1.307 - <exclusion>
1.308 - <artifactId>org.json-osgi</artifactId>
1.309 - <groupId>de.twentyeleven.skysail</groupId>
1.310 - </exclusion>
1.311 - </exclusions>
1.312 - </dependency>
1.313 - </dependencies>
1.314 - <build>
1.315 - <plugins>
1.316 - <plugin>
1.317 - <groupId>com.filmon.maven</groupId>
1.318 - <artifactId>image-maven-plugin</artifactId>
1.319 - <version>1.1</version>
1.320 - <executions>
1.321 - <execution>
1.322 - <goals>
1.323 - <goal>scale</goal>
1.324 - </goals>
1.325 - <configuration>
1.326 - <outputDirectory>target/res</outputDirectory>
1.327 - <images>
1.328 - <image>
1.329 - <source>src/main/icons/DukeSweeper.png</source>
1.330 - <destination>drawable-hdpi/ic_launcher.png</destination>
1.331 - <width>72</width>
1.332 - </image>
1.333 - <image>
1.334 - <source>src/main/icons/DukeSweeper.png</source>
1.335 - <destination>drawable-mdpi/ic_launcher.png</destination>
1.336 - <width>48</width>
1.337 - </image>
1.338 - <image>
1.339 - <source>src/main/icons/DukeSweeper.png</source>
1.340 - <destination>drawable-xhdpi/ic_launcher.png</destination>
1.341 - <width>96</width>
1.342 - </image>
1.343 - <image>
1.344 - <source>src/main/icons/DukeSweeper.png</source>
1.345 - <destination>drawable-xxhdpi/ic_launcher.png</destination>
1.346 - <width>144</width>
1.347 - </image>
1.348 - </images>
1.349 - </configuration>
1.350 - </execution>
1.351 - </executions>
1.352 - </plugin>
1.353 - <plugin>
1.354 - <groupId>com.jayway.maven.plugins.android.generation2</groupId>
1.355 - <artifactId>android-maven-plugin</artifactId>
1.356 - <version>${android.plugin.version}</version>
1.357 - <extensions>true</extensions>
1.358 - <configuration>
1.359 - <resourceDirectory>target/res</resourceDirectory>
1.360 - <classifier>apk</classifier>
1.361 - <attachJar>false</attachJar>
1.362 - <apkDebug>debug</apkDebug>
1.363 - <assetsDirectory>src/main/webapp</assetsDirectory>
1.364 - <sdk>
1.365 - <platform>19</platform>
1.366 - </sdk>
1.367 - <apk>
1.368 - <metaIncludes>
1.369 - <metaInclude>services/org.netbeans.**</metaInclude>
1.370 - </metaIncludes>
1.371 - </apk>
1.372 - <extractDuplicates>true</extractDuplicates>
1.373 - <file>${project.build.directory}/${project.build.finalName}.apk</file>
1.374 - </configuration>
1.375 - <executions>
1.376 - <execution>
1.377 - <id>apk</id>
1.378 - <goals>
1.379 - <goal>apk</goal>
1.380 - <goal>dex</goal>
1.381 - </goals>
1.382 - </execution>
1.383 - </executions>
1.384 - </plugin>
1.385 - <plugin>
1.386 - <groupId>org.apache.maven.plugins</groupId>
1.387 - <artifactId>maven-install-plugin</artifactId>
1.388 - <version>2.5.1</version>
1.389 - <configuration>
1.390 - <groupId>${project.groupId}</groupId>
1.391 - <artifactId>${project.artifactId}</artifactId>
1.392 - <version>${project.version}</version>
1.393 - <file>${project.build.directory}/${project.build.finalName}.apk</file>
1.394 - <packaging>apk</packaging>
1.395 - <skip>true</skip>
1.396 - </configuration>
1.397 - <executions>
1.398 - <execution>
1.399 - <id>install-apk</id>
1.400 - <phase>install</phase>
1.401 - <goals>
1.402 - <goal>install-file</goal>
1.403 - </goals>
1.404 - </execution>
1.405 - </executions>
1.406 - </plugin>
1.407 - </plugins>
1.408 - </build>
1.409 - </profile>
1.410 - <profile>
1.411 - <id>teabrwsr</id>
1.412 - <build>
1.413 - <plugins>
1.414 - <plugin>
1.415 - <groupId>org.teavm</groupId>
1.416 - <artifactId>teavm-maven-plugin</artifactId>
1.417 - <version>${teavm.version}</version>
1.418 - <dependencies>
1.419 - <dependency>
1.420 - <groupId>org.teavm</groupId>
1.421 - <artifactId>teavm-classlib</artifactId>
1.422 - <version>${teavm.version}</version>
1.423 - </dependency>
1.424 - <!-- This module adds html4j support. It mainly includes JavaScriptBuilder support.
1.425 - Also there are some little patches to JCL emulation, that are required to pass TCK -->
1.426 - <dependency>
1.427 - <groupId>org.teavm</groupId>
1.428 - <artifactId>teavm-html4j</artifactId>
1.429 - <version>${teavm.version}</version>
1.430 - </dependency>
1.431 - </dependencies>
1.432 - <executions>
1.433 - <execution>
1.434 - <id>generate-minesweeper</id>
1.435 - <goals>
1.436 - <goal>build-javascript</goal>
1.437 - </goals>
1.438 - <phase>process-classes</phase>
1.439 - <configuration>
1.440 - <mainClass>org.apidesign.demo.minesweeper.MinesModel</mainClass>
1.441 - <debugInformationGenerated>${teavm.debug}</debugInformationGenerated>
1.442 - <sourceMapsGenerated>${teavm.debug}</sourceMapsGenerated>
1.443 - <sourceFilesCopied>${teavm.debug}</sourceFilesCopied>
1.444 - <!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript -->
1.445 - <minifying>false</minifying>
1.446 - <!-- Don't include main page - we created it by ourselves -->
1.447 - <mainPageIncluded>false</mainPageIncluded>
1.448 - <!-- Merge runtime.js instead of putting as a separate file -->
1.449 - <runtime>MERGED</runtime>
1.450 - <!-- Name of the generated file -->
1.451 - <targetFileName>bck2brwsr.js</targetFileName>
1.452 - <targetDirectory>${project.build.directory}/teavm</targetDirectory>
1.453 - <!-- This transformer adds null checks before virtual calls. It is not included
1.454 - by default as we don't always need these null checks -->
1.455 - <transformers>
1.456 - <param>org.teavm.javascript.NullPointerExceptionTransformer</param>
1.457 - </transformers>
1.458 - </configuration>
1.459 - </execution>
1.460 - </executions>
1.461 - </plugin>
1.462 - <plugin>
1.463 - <artifactId>maven-assembly-plugin</artifactId>
1.464 - <version>2.4</version>
1.465 - <executions>
1.466 - <execution>
1.467 - <id>distro-assembly</id>
1.468 - <phase>package</phase>
1.469 - <goals>
1.470 - <goal>single</goal>
1.471 - </goals>
1.472 - <configuration>
1.473 - <descriptors>
1.474 - <descriptor>src/main/assembly/teabrwsr.xml</descriptor>
1.475 - </descriptors>
1.476 - </configuration>
1.477 - </execution>
1.478 - </executions>
1.479 - </plugin>
1.480 - <plugin>
1.481 - <groupId>org.apidesign.bck2brwsr</groupId>
1.482 - <artifactId>bck2brwsr-maven-plugin</artifactId>
1.483 - <version>${bck2brwsr.version}</version>
1.484 - <executions>
1.485 - <execution>
1.486 - <goals>
1.487 - <goal>brwsr</goal>
1.488 - </goals>
1.489 - </execution>
1.490 - </executions>
1.491 - <configuration>
1.492 - <directory>${project.build.directory}/${project.build.finalName}-teabrwsr/public_html/</directory>
1.493 - <startpage>index.html</startpage>
1.494 - </configuration>
1.495 - </plugin>
1.496 - </plugins>
1.497 - </build>
1.498 - </profile>
1.499 - <profile>
1.500 - <id>ibrwsr</id>
1.501 - <dependencies>
1.502 - <dependency>
1.503 - <groupId>com.dukescript.presenters</groupId>
1.504 - <artifactId>ios</artifactId>
1.505 - <version>0.8.1</version>
1.506 - <scope>runtime</scope>
1.507 - </dependency>
1.508 - </dependencies>
1.509 - <build>
1.510 - <plugins>
1.511 - <plugin>
1.512 - <groupId>com.filmon.maven</groupId>
1.513 - <artifactId>image-maven-plugin</artifactId>
1.514 - <version>1.1</version>
1.515 - <executions>
1.516 - <execution>
1.517 - <goals>
1.518 - <goal>scale</goal>
1.519 - </goals>
1.520 - <configuration>
1.521 - <outputDirectory>target/images</outputDirectory>
1.522 - <images>
1.523 - <image>
1.524 - <source>src/main/icons/DukeSweeper.png</source>
1.525 - <destination>Icon.png</destination>
1.526 - <width>57</width>
1.527 - </image>
1.528 - <image>
1.529 - <source>src/main/icons/DukeSweeper.png</source>
1.530 - <destination>Icon@2.png</destination>
1.531 - <width>114</width>
1.532 - </image>
1.533 - <image>
1.534 - <source>src/main/icons/DukeSweeper.png</source>
1.535 - <destination>Icon-60.png</destination>
1.536 - <width>60</width>
1.537 - </image>
1.538 - <image>
1.539 - <source>src/main/icons/DukeSweeper.png</source>
1.540 - <destination>Icon-60@2.png</destination>
1.541 - <width>120</width>
1.542 - </image>
1.543 - <image>
1.544 - <source>src/main/icons/DukeSweeper.png</source>
1.545 - <destination>Icon-72.png</destination>
1.546 - <width>72</width>
1.547 - </image>
1.548 - <image>
1.549 - <source>src/main/icons/DukeSweeper.png</source>
1.550 - <destination>Icon-76.png</destination>
1.551 - <width>76</width>
1.552 - </image>
1.553 - </images>
1.554 - </configuration>
1.555 - </execution>
1.556 - </executions>
1.557 - </plugin>
1.558 - <plugin>
1.559 - <groupId>org.robovm</groupId>
1.560 - <artifactId>robovm-maven-plugin</artifactId>
1.561 - <version>1.2.0</version>
1.562 - <configuration>
1.563 - <config>
1.564 - <mainClass>org.apidesign.demo.minesweeper.Main</mainClass>
1.565 - <forceLinkClasses>
1.566 - <pattern>java.util.logging.ConsoleHandler</pattern>
1.567 - <pattern>java.util.logging.SimpleFormatter</pattern>
1.568 - </forceLinkClasses>
1.569 - <executableName>MineSweeper</executableName>
1.570 - <resources>
1.571 - <resource>src/main/webapp/pages</resource>
1.572 - <resource>
1.573 - <targetPath>/</targetPath>
1.574 - <directory>src/main/icons/</directory>
1.575 - <includes>
1.576 - <include>Default*.png</include>
1.577 - </includes>
1.578 - </resource>
1.579 - <resource>
1.580 - <targetPath>/</targetPath>
1.581 - <directory>target/images/</directory>
1.582 - <includes>
1.583 - <include>*.png</include>
1.584 - </includes>
1.585 - </resource>
1.586 - </resources>
1.587 - <iosInfoPList>Info.plist.xml</iosInfoPList>
1.588 - </config>
1.589 - <includeJFX>false</includeJFX>
1.590 - <!--
1.591 - <iosSignIdentity>iPhone Distribution</iosSignIdentity>
1.592 - <iosProvisioningProfile>9728E91B-1BB7-40D6-8922-3DD3BA5E6ECD</iosProvisioningProfile>
1.593 - -->
1.594 - </configuration>
1.595 - </plugin>
1.596 - </plugins>
1.597 - </build>
1.598 - </profile>
1.599 - <profile>
1.600 - <id>nbrwsr</id>
1.601 - <dependencies>
1.602 - <dependency>
1.603 - <groupId>org.netbeans.html</groupId>
1.604 - <artifactId>nbrwsr</artifactId>
1.605 - <version>${nb.html.version}</version>
1.606 - <scope>compile</scope>
1.607 - </dependency>
1.608 - </dependencies>
1.609 - <build>
1.610 - <plugins>
1.611 - <plugin>
1.612 - <groupId>org.apache.maven.plugins</groupId>
1.613 - <artifactId>maven-resources-plugin</artifactId>
1.614 - <version>2.6</version>
1.615 - <executions>
1.616 - <execution>
1.617 - <id>include-webpages</id>
1.618 - <goals>
1.619 - <goal>copy-resources</goal>
1.620 - </goals>
1.621 - <phase>process-resources</phase>
1.622 - <configuration>
1.623 - <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory>
1.624 - <overwrite>true</overwrite>
1.625 - <resources>
1.626 - <resource>
1.627 - <directory>src/main/webapp/pages</directory>
1.628 - </resource>
1.629 - </resources>
1.630 - </configuration>
1.631 - </execution>
1.632 - </executions>
1.633 - </plugin>
1.634 - <plugin>
1.635 - <groupId>org.codehaus.mojo</groupId>
1.636 - <artifactId>nbm-maven-plugin</artifactId>
1.637 - <version>3.13</version>
1.638 - <extensions>true</extensions>
1.639 - <executions>
1.640 - <execution>
1.641 - <id>default-manifest</id>
1.642 - <phase>process-classes</phase>
1.643 - <goals>
1.644 - <goal>manifest</goal>
1.645 - </goals>
1.646 - <configuration>
1.647 - <useOSGiDependencies>true</useOSGiDependencies>
1.648 - <brandingToken>html4j4nb</brandingToken>
1.649 - <cluster>extra</cluster>
1.650 - <verifyIntegrity>false</verifyIntegrity>
1.651 - </configuration>
1.652 - </execution>
1.653 - <execution>
1.654 - <id>default-nbm</id>
1.655 - <phase>package</phase>
1.656 - <goals>
1.657 - <goal>nbm</goal>
1.658 - </goals>
1.659 - <configuration>
1.660 - <useOSGiDependencies>true</useOSGiDependencies>
1.661 - <cluster>extra</cluster>
1.662 - <verifyIntegrity>false</verifyIntegrity>
1.663 - </configuration>
1.664 - </execution>
1.665 - </executions>
1.666 - <configuration>
1.667 - <useOSGiDependencies>true</useOSGiDependencies>
1.668 - <brandingToken>html4j4nb</brandingToken>
1.669 - <cluster>html4j4nb</cluster>
1.670 - <verifyIntegrity>false</verifyIntegrity>
1.671 - </configuration>
1.672 - </plugin>
1.673 -
1.674 - <plugin>
1.675 - <groupId>org.apache.maven.plugins</groupId>
1.676 - <artifactId>maven-jar-plugin</artifactId>
1.677 - <configuration>
1.678 - <!-- to have the jar plugin pickup the nbm generated manifest -->
1.679 - <useDefaultManifestFile>true</useDefaultManifestFile>
1.680 - </configuration>
1.681 - </plugin>
1.682 - </plugins>
1.683 - </build>
1.684 - </profile>
1.685 - </profiles>
1.686 -</project>