1.1 --- a/minesweeper/pom.xml Mon Feb 10 16:50:08 2014 +0100
1.2 +++ b/minesweeper/pom.xml Tue Feb 11 16:53:26 2014 +0100
1.3 @@ -78,6 +78,11 @@
1.4 <version>${net.java.html.version}</version>
1.5 </dependency>
1.6 <dependency>
1.7 + <groupId>org.netbeans.html</groupId>
1.8 + <artifactId>ko4j</artifactId>
1.9 + <version>${net.java.html.version}</version>
1.10 + </dependency>
1.11 + <dependency>
1.12 <groupId>org.testng</groupId>
1.13 <artifactId>testng</artifactId>
1.14 <version>6.7</version>
1.15 @@ -115,12 +120,6 @@
1.16 <dependencies>
1.17 <dependency>
1.18 <groupId>org.netbeans.html</groupId>
1.19 - <artifactId>ko4j</artifactId>
1.20 - <version>${net.java.html.version}</version>
1.21 - <scope>runtime</scope>
1.22 - </dependency>
1.23 - <dependency>
1.24 - <groupId>org.netbeans.html</groupId>
1.25 <artifactId>net.java.html.boot.fx</artifactId>
1.26 <version>${net.java.html.version}</version>
1.27 <scope>runtime</scope>
1.28 @@ -205,5 +204,100 @@
1.29 </dependency>
1.30 </dependencies>
1.31 </profile>
1.32 + <profile>
1.33 + <id>dlvkbrwsr</id>
1.34 + <activation>
1.35 + <property>
1.36 + <name>android.sdk.path</name>
1.37 + </property>
1.38 + </activation>
1.39 + <properties>
1.40 + <platform.version>4.1.1.4</platform.version>
1.41 + <android.plugin.version>3.7.0</android.plugin.version>
1.42 + <debug>false</debug>
1.43 + </properties>
1.44 + <dependencies>
1.45 + <dependency>
1.46 + <groupId>com.google.android</groupId>
1.47 + <artifactId>android</artifactId>
1.48 + <version>${platform.version}</version>
1.49 + <scope>provided</scope>
1.50 + </dependency>
1.51 + <dependency>
1.52 + <groupId>org.netbeans.html</groupId>
1.53 + <artifactId>ko-ws-tyrus</artifactId>
1.54 + <version>${net.java.html.version}</version>
1.55 + <exclusions>
1.56 + <exclusion>
1.57 + <artifactId>org.json-osgi</artifactId>
1.58 + <groupId>de.twentyeleven.skysail</groupId>
1.59 + </exclusion>
1.60 + </exclusions>
1.61 + </dependency>
1.62 + <dependency>
1.63 + <groupId>org.apidesign.html</groupId>
1.64 + <artifactId>dlvkbrwsr</artifactId>
1.65 + <version>0.1-SNAPSHOT</version>
1.66 + <type>jar</type>
1.67 + </dependency>
1.68 + </dependencies>
1.69 + <build>
1.70 + <plugins>
1.71 + <plugin>
1.72 + <groupId>com.jayway.maven.plugins.android.generation2</groupId>
1.73 + <artifactId>android-maven-plugin</artifactId>
1.74 + <version>${android.plugin.version}</version>
1.75 + <extensions>true</extensions>
1.76 + <configuration>
1.77 + <classifier>apk</classifier>
1.78 + <attachJar>false</attachJar>
1.79 + <apkDebug>debug</apkDebug>
1.80 + <assetsDirectory>src/main/webapp</assetsDirectory>
1.81 + <sdk>
1.82 + <platform>16</platform>
1.83 + </sdk>
1.84 + <apk>
1.85 + <metaIncludes>
1.86 + <metaInclude>services/org.apidesign.**</metaInclude>
1.87 + </metaIncludes>
1.88 + </apk>
1.89 + <file>${project.build.directory}/${project.build.finalName}.apk</file>
1.90 + </configuration>
1.91 + <executions>
1.92 + <execution>
1.93 + <id>apk</id>
1.94 + <goals>
1.95 + <goal>apk</goal>
1.96 + <goal>dex</goal>
1.97 + </goals>
1.98 + </execution>
1.99 + </executions>
1.100 + </plugin>
1.101 + <plugin>
1.102 + <groupId>org.apache.maven.plugins</groupId>
1.103 + <artifactId>maven-install-plugin</artifactId>
1.104 + <version>2.5.1</version>
1.105 + <configuration>
1.106 + <groupId>${project.groupId}</groupId>
1.107 + <artifactId>${project.artifactId}</artifactId>
1.108 + <version>${project.version}</version>
1.109 + <file>${project.build.directory}/${project.build.finalName}.apk</file>
1.110 + <packaging>apk</packaging>
1.111 + <skip>true</skip>
1.112 + </configuration>
1.113 + <executions>
1.114 + <execution>
1.115 + <id>install-apk</id>
1.116 + <phase>install</phase>
1.117 + <goals>
1.118 + <goal>install-file</goal>
1.119 + </goals>
1.120 + </execution>
1.121 + </executions>
1.122 + </plugin>
1.123 + </plugins>
1.124 + </build>
1.125 +
1.126 + </profile>
1.127 </profiles>
1.128 </project>