author | Jaroslav Tulach <jtulach@netbeans.org> |
Mon, 10 Mar 2014 13:05:18 +0100 | |
branch | ibrwsr |
changeset 102 | 09a95867af5e |
parent 101 | 5ef40158eb9c |
child 122 | 898f93ea65e2 |
permissions | -rw-r--r-- |
jtulach@63 | 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@63 | 7 |
<version>1.0-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@63 | 16 |
|
jtulach@63 | 17 |
<properties> |
jtulach@63 | 18 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
jtulach@63 | 19 |
<brwsr.startpage>pages/index.html</brwsr.startpage> |
jtulach@63 | 20 |
<project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass> |
jtulach@63 | 21 |
<netbeans.compile.on.save>none</netbeans.compile.on.save> |
jtulach@63 | 22 |
</properties> |
jtulach@63 | 23 |
<build> |
jtulach@63 | 24 |
<plugins> |
jtulach@63 | 25 |
<plugin> |
jtulach@101 | 26 |
<groupId>org.robovm</groupId> |
jtulach@101 | 27 |
<artifactId>robovm-maven-plugin</artifactId> |
jtulach@101 | 28 |
<version>0.0.8.1</version> |
jtulach@101 | 29 |
<configuration> |
jtulach@101 | 30 |
<config> |
jtulach@101 | 31 |
<mainClass>org.apidesign.demo.minesweeper.RoboVMJFXLauncher</mainClass> |
jtulach@101 | 32 |
<forceLinkClasses> |
jtulach@101 | 33 |
<pattern>java.util.logging.ConsoleHandler</pattern> |
jtulach@101 | 34 |
<pattern>java.util.logging.SimpleFormatter</pattern> |
jtulach@101 | 35 |
<pattern>org.netbeans.html.ko4j.KO4J</pattern> |
jtulach@101 | 36 |
<pattern>org.netbeans.html.sound.impl.BrowserAudioEnv</pattern> |
jtulach@101 | 37 |
</forceLinkClasses> |
jtulach@101 | 38 |
</config> |
jtulach@101 | 39 |
<includeJFX>false</includeJFX> |
jtulach@101 | 40 |
</configuration> |
jtulach@101 | 41 |
</plugin> |
jtulach@101 | 42 |
<plugin> |
jtulach@63 | 43 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 44 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 45 |
<version>2.3.2</version> |
jtulach@63 | 46 |
<configuration> |
jtulach@63 | 47 |
<source>1.6</source> |
jtulach@63 | 48 |
<target>1.6</target> |
jtulach@63 | 49 |
</configuration> |
jtulach@63 | 50 |
</plugin> |
jtulach@63 | 51 |
<plugin> |
jtulach@63 | 52 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@102 | 53 |
<artifactId>maven-resources-plugin</artifactId> |
jtulach@102 | 54 |
<version>2.6</version> |
jtulach@102 | 55 |
<executions> |
jtulach@102 | 56 |
<execution> |
jtulach@102 | 57 |
<id>copy-resources</id> |
jtulach@102 | 58 |
<!-- here the phase you need --> |
jtulach@102 | 59 |
<phase>process-resources</phase> |
jtulach@102 | 60 |
<goals> |
jtulach@102 | 61 |
<goal>copy-resources</goal> |
jtulach@102 | 62 |
</goals> |
jtulach@102 | 63 |
<configuration> |
jtulach@102 | 64 |
<outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper/</outputDirectory> |
jtulach@102 | 65 |
<resources> |
jtulach@102 | 66 |
<resource> |
jtulach@102 | 67 |
<directory>src/main/webapp/</directory> |
jtulach@102 | 68 |
<filtering>true</filtering> |
jtulach@102 | 69 |
</resource> |
jtulach@102 | 70 |
</resources> |
jtulach@102 | 71 |
</configuration> |
jtulach@102 | 72 |
</execution> |
jtulach@102 | 73 |
</executions> |
jtulach@102 | 74 |
</plugin> |
jtulach@102 | 75 |
<plugin> |
jtulach@102 | 76 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 77 |
<artifactId>maven-jar-plugin</artifactId> |
jtulach@63 | 78 |
<version>2.4</version> |
jtulach@63 | 79 |
<configuration> |
jtulach@63 | 80 |
<archive> |
jtulach@63 | 81 |
<manifest> |
jtulach@63 | 82 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@63 | 83 |
<addClasspath>true</addClasspath> |
jtulach@63 | 84 |
<classpathPrefix>lib/</classpathPrefix> |
jtulach@63 | 85 |
</manifest> |
jtulach@63 | 86 |
</archive> |
jtulach@63 | 87 |
</configuration> |
jtulach@63 | 88 |
</plugin> |
jtulach@63 | 89 |
<plugin> |
jtulach@63 | 90 |
<groupId>org.codehaus.mojo</groupId> |
jtulach@63 | 91 |
<artifactId>exec-maven-plugin</artifactId> |
jtulach@63 | 92 |
<version>1.2.1</version> |
jtulach@63 | 93 |
<configuration> |
jtulach@63 | 94 |
<systemProperties> |
jtulach@63 | 95 |
<systemProperty> |
jtulach@63 | 96 |
<key>browser.rootdir</key> |
jtulach@63 | 97 |
<value>${basedir}/src/main/webapp/</value> |
jtulach@63 | 98 |
</systemProperty> |
jtulach@63 | 99 |
</systemProperties> |
jtulach@63 | 100 |
<mainClass>${project.mainclass}</mainClass> |
jtulach@63 | 101 |
</configuration> |
jtulach@63 | 102 |
</plugin> |
jtulach@63 | 103 |
</plugins> |
jtulach@63 | 104 |
</build> |
jtulach@63 | 105 |
<dependencies> |
jtulach@63 | 106 |
<dependency> |
jtulach@63 | 107 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 108 |
<artifactId>net.java.html.json</artifactId> |
jtulach@63 | 109 |
<version>${net.java.html.version}</version> |
jtulach@63 | 110 |
</dependency> |
jtulach@63 | 111 |
<dependency> |
jtulach@63 | 112 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 113 |
<artifactId>net.java.html.boot</artifactId> |
jtulach@63 | 114 |
<version>${net.java.html.version}</version> |
jtulach@63 | 115 |
</dependency> |
jtulach@63 | 116 |
<dependency> |
jtulach@79 | 117 |
<groupId>org.netbeans.html</groupId> |
jtulach@79 | 118 |
<artifactId>net.java.html.sound</artifactId> |
jtulach@79 | 119 |
<version>${net.java.html.version}</version> |
jtulach@79 | 120 |
</dependency> |
jtulach@79 | 121 |
<dependency> |
jtulach@81 | 122 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 123 |
<artifactId>ko4j</artifactId> |
jtulach@81 | 124 |
<version>${net.java.html.version}</version> |
jtulach@81 | 125 |
</dependency> |
jtulach@81 | 126 |
<dependency> |
jtulach@63 | 127 |
<groupId>org.testng</groupId> |
jtulach@63 | 128 |
<artifactId>testng</artifactId> |
jtulach@63 | 129 |
<version>6.7</version> |
jtulach@63 | 130 |
<scope>test</scope> |
jtulach@63 | 131 |
</dependency> |
jtulach@101 | 132 |
<dependency> |
jtulach@101 | 133 |
<groupId>org.apidesign.html</groupId> |
jtulach@101 | 134 |
<artifactId>xtrnlbrwsr</artifactId> |
jtulach@101 | 135 |
<version>0.7-SNAPSHOT</version> |
jtulach@101 | 136 |
</dependency> |
jtulach@101 | 137 |
<dependency> |
jtulach@101 | 138 |
<groupId>org.robovm</groupId> |
jtulach@101 | 139 |
<artifactId>robovm-rt</artifactId> |
jtulach@101 | 140 |
<version>0.0.8</version> |
jtulach@101 | 141 |
</dependency> |
jtulach@101 | 142 |
<dependency> |
jtulach@101 | 143 |
<groupId>org.robovm</groupId> |
jtulach@101 | 144 |
<artifactId>robovm-cocoatouch</artifactId> |
jtulach@101 | 145 |
<version>0.0.8</version> |
jtulach@101 | 146 |
</dependency> |
jtulach@63 | 147 |
</dependencies> |
jtulach@63 | 148 |
<profiles> |
jtulach@63 | 149 |
<profile> |
jtulach@63 | 150 |
<id>fxbrwsr</id> |
jtulach@63 | 151 |
<activation> |
jtulach@63 | 152 |
<activeByDefault>true</activeByDefault> |
jtulach@63 | 153 |
</activation> |
jtulach@63 | 154 |
<build> |
jtulach@63 | 155 |
<plugins> |
jtulach@63 | 156 |
<plugin> |
jtulach@63 | 157 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 158 |
<version>2.4</version> |
jtulach@63 | 159 |
<executions> |
jtulach@63 | 160 |
<execution> |
jtulach@63 | 161 |
<id>distro-assembly</id> |
jtulach@63 | 162 |
<phase>package</phase> |
jtulach@63 | 163 |
<goals> |
jtulach@63 | 164 |
<goal>single</goal> |
jtulach@63 | 165 |
</goals> |
jtulach@63 | 166 |
<configuration> |
jtulach@63 | 167 |
<descriptors> |
jtulach@63 | 168 |
<descriptor>src/main/assembly/html.java.net.xml</descriptor> |
jtulach@63 | 169 |
</descriptors> |
jtulach@63 | 170 |
</configuration> |
jtulach@63 | 171 |
</execution> |
jtulach@63 | 172 |
</executions> |
jtulach@63 | 173 |
</plugin> |
jtulach@63 | 174 |
</plugins> |
jtulach@63 | 175 |
</build> |
jtulach@63 | 176 |
<dependencies> |
jtulach@63 | 177 |
<dependency> |
jtulach@63 | 178 |
<groupId>org.netbeans.html</groupId> |
jtulach@63 | 179 |
<artifactId>net.java.html.boot.fx</artifactId> |
jtulach@63 | 180 |
<version>${net.java.html.version}</version> |
jtulach@63 | 181 |
<scope>runtime</scope> |
jtulach@63 | 182 |
</dependency> |
jtulach@63 | 183 |
</dependencies> |
jtulach@63 | 184 |
</profile> |
jtulach@63 | 185 |
<profile> |
jtulach@63 | 186 |
<id>bck2brwsr</id> |
jtulach@63 | 187 |
<activation> |
jtulach@63 | 188 |
<property> |
jtulach@63 | 189 |
<name>brwsr</name> |
jtulach@63 | 190 |
<value>bck2brwsr</value> |
jtulach@63 | 191 |
</property> |
jtulach@63 | 192 |
</activation> |
jtulach@63 | 193 |
<build> |
jtulach@63 | 194 |
<plugins> |
jtulach@63 | 195 |
<plugin> |
jtulach@63 | 196 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 197 |
<artifactId>bck2brwsr-maven-plugin</artifactId> |
jtulach@63 | 198 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 199 |
<executions> |
jtulach@63 | 200 |
<execution> |
jtulach@63 | 201 |
<goals> |
jtulach@63 | 202 |
<goal>brwsr</goal> |
jtulach@63 | 203 |
</goals> |
jtulach@63 | 204 |
</execution> |
jtulach@63 | 205 |
</executions> |
jtulach@63 | 206 |
<configuration> |
jtulach@63 | 207 |
<directory>${basedir}/src/main/webapp/</directory> |
jtulach@63 | 208 |
<startpage>${brwsr.startpage}</startpage> |
jtulach@63 | 209 |
</configuration> |
jtulach@63 | 210 |
</plugin> |
jtulach@63 | 211 |
<plugin> |
jtulach@63 | 212 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@63 | 213 |
<artifactId>maven-compiler-plugin</artifactId> |
jtulach@63 | 214 |
<configuration> |
jtulach@63 | 215 |
<compilerArguments> |
jtulach@63 | 216 |
<bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath> |
jtulach@63 | 217 |
</compilerArguments> |
jtulach@63 | 218 |
</configuration> |
jtulach@63 | 219 |
</plugin> |
jtulach@63 | 220 |
<plugin> |
jtulach@63 | 221 |
<artifactId>maven-assembly-plugin</artifactId> |
jtulach@63 | 222 |
<version>2.4</version> |
jtulach@63 | 223 |
<executions> |
jtulach@63 | 224 |
<execution> |
jtulach@63 | 225 |
<id>distro-assembly</id> |
jtulach@63 | 226 |
<phase>package</phase> |
jtulach@63 | 227 |
<goals> |
jtulach@63 | 228 |
<goal>single</goal> |
jtulach@63 | 229 |
</goals> |
jtulach@63 | 230 |
<configuration> |
jtulach@63 | 231 |
<descriptors> |
jtulach@63 | 232 |
<descriptor>src/main/assembly/bck2brwsr.xml</descriptor> |
jtulach@63 | 233 |
</descriptors> |
jtulach@63 | 234 |
</configuration> |
jtulach@63 | 235 |
</execution> |
jtulach@63 | 236 |
</executions> |
jtulach@63 | 237 |
</plugin> |
jtulach@63 | 238 |
</plugins> |
jtulach@63 | 239 |
</build> |
jtulach@63 | 240 |
<dependencies> |
jtulach@63 | 241 |
<dependency> |
jtulach@63 | 242 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 243 |
<artifactId>emul</artifactId> |
jtulach@63 | 244 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 245 |
<classifier>rt</classifier> |
jtulach@63 | 246 |
</dependency> |
jtulach@63 | 247 |
<dependency> |
jtulach@63 | 248 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 249 |
<artifactId>ko-bck2brwsr</artifactId> |
jtulach@63 | 250 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 251 |
<scope>runtime</scope> |
jtulach@63 | 252 |
</dependency> |
jtulach@63 | 253 |
<dependency> |
jtulach@63 | 254 |
<groupId>org.apidesign.bck2brwsr</groupId> |
jtulach@63 | 255 |
<artifactId>vm4brwsr</artifactId> |
jtulach@63 | 256 |
<classifier>js</classifier> |
jtulach@63 | 257 |
<type>zip</type> |
jtulach@63 | 258 |
<version>${bck2brwsr.version}</version> |
jtulach@63 | 259 |
<scope>provided</scope> |
jtulach@63 | 260 |
</dependency> |
jtulach@63 | 261 |
</dependencies> |
jtulach@63 | 262 |
</profile> |
jtulach@81 | 263 |
<profile> |
jtulach@81 | 264 |
<id>dlvkbrwsr</id> |
jtulach@81 | 265 |
<activation> |
jtulach@81 | 266 |
<property> |
jtulach@81 | 267 |
<name>android.sdk.path</name> |
jtulach@81 | 268 |
</property> |
jtulach@81 | 269 |
</activation> |
jtulach@81 | 270 |
<properties> |
jtulach@81 | 271 |
<platform.version>4.1.1.4</platform.version> |
jtulach@81 | 272 |
<android.plugin.version>3.7.0</android.plugin.version> |
jtulach@81 | 273 |
<debug>false</debug> |
jtulach@81 | 274 |
</properties> |
jtulach@81 | 275 |
<dependencies> |
jtulach@81 | 276 |
<dependency> |
jtulach@81 | 277 |
<groupId>com.google.android</groupId> |
jtulach@81 | 278 |
<artifactId>android</artifactId> |
jtulach@81 | 279 |
<version>${platform.version}</version> |
jtulach@81 | 280 |
<scope>provided</scope> |
jtulach@81 | 281 |
</dependency> |
jtulach@81 | 282 |
<dependency> |
jtulach@89 | 283 |
<groupId>org.apidesign.html</groupId> |
jtulach@89 | 284 |
<artifactId>dlvkbrwsr</artifactId> |
jtulach@89 | 285 |
<version>0.2-SNAPSHOT</version> |
jtulach@89 | 286 |
<type>jar</type> |
jtulach@89 | 287 |
</dependency> |
jtulach@89 | 288 |
<dependency> |
jtulach@81 | 289 |
<groupId>org.netbeans.html</groupId> |
jtulach@81 | 290 |
<artifactId>ko-ws-tyrus</artifactId> |
jtulach@81 | 291 |
<version>${net.java.html.version}</version> |
jtulach@81 | 292 |
<exclusions> |
jtulach@81 | 293 |
<exclusion> |
jtulach@81 | 294 |
<artifactId>org.json-osgi</artifactId> |
jtulach@81 | 295 |
<groupId>de.twentyeleven.skysail</groupId> |
jtulach@81 | 296 |
</exclusion> |
jtulach@81 | 297 |
</exclusions> |
jtulach@81 | 298 |
</dependency> |
jtulach@81 | 299 |
</dependencies> |
jtulach@81 | 300 |
<build> |
jtulach@81 | 301 |
<plugins> |
jtulach@81 | 302 |
<plugin> |
jtulach@81 | 303 |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> |
jtulach@81 | 304 |
<artifactId>android-maven-plugin</artifactId> |
jtulach@81 | 305 |
<version>${android.plugin.version}</version> |
jtulach@81 | 306 |
<extensions>true</extensions> |
jtulach@81 | 307 |
<configuration> |
jtulach@81 | 308 |
<classifier>apk</classifier> |
jtulach@81 | 309 |
<attachJar>false</attachJar> |
jtulach@81 | 310 |
<apkDebug>debug</apkDebug> |
jtulach@81 | 311 |
<assetsDirectory>src/main/webapp</assetsDirectory> |
jtulach@81 | 312 |
<sdk> |
jtulach@81 | 313 |
<platform>16</platform> |
jtulach@81 | 314 |
</sdk> |
jtulach@81 | 315 |
<apk> |
jtulach@81 | 316 |
<metaIncludes> |
jtulach@81 | 317 |
<metaInclude>services/org.apidesign.**</metaInclude> |
jtulach@81 | 318 |
</metaIncludes> |
jtulach@81 | 319 |
</apk> |
jtulach@81 | 320 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 321 |
</configuration> |
jtulach@81 | 322 |
<executions> |
jtulach@81 | 323 |
<execution> |
jtulach@81 | 324 |
<id>apk</id> |
jtulach@81 | 325 |
<goals> |
jtulach@81 | 326 |
<goal>apk</goal> |
jtulach@81 | 327 |
<goal>dex</goal> |
jtulach@81 | 328 |
</goals> |
jtulach@81 | 329 |
</execution> |
jtulach@81 | 330 |
</executions> |
jtulach@81 | 331 |
</plugin> |
jtulach@81 | 332 |
<plugin> |
jtulach@81 | 333 |
<groupId>org.apache.maven.plugins</groupId> |
jtulach@81 | 334 |
<artifactId>maven-install-plugin</artifactId> |
jtulach@81 | 335 |
<version>2.5.1</version> |
jtulach@81 | 336 |
<configuration> |
jtulach@81 | 337 |
<groupId>${project.groupId}</groupId> |
jtulach@81 | 338 |
<artifactId>${project.artifactId}</artifactId> |
jtulach@81 | 339 |
<version>${project.version}</version> |
jtulach@81 | 340 |
<file>${project.build.directory}/${project.build.finalName}.apk</file> |
jtulach@81 | 341 |
<packaging>apk</packaging> |
jtulach@81 | 342 |
<skip>true</skip> |
jtulach@81 | 343 |
</configuration> |
jtulach@81 | 344 |
<executions> |
jtulach@81 | 345 |
<execution> |
jtulach@81 | 346 |
<id>install-apk</id> |
jtulach@81 | 347 |
<phase>install</phase> |
jtulach@81 | 348 |
<goals> |
jtulach@81 | 349 |
<goal>install-file</goal> |
jtulach@81 | 350 |
</goals> |
jtulach@81 | 351 |
</execution> |
jtulach@81 | 352 |
</executions> |
jtulach@81 | 353 |
</plugin> |
jtulach@81 | 354 |
</plugins> |
jtulach@81 | 355 |
</build> |
jtulach@81 | 356 |
|
jtulach@81 | 357 |
</profile> |
jtulach@63 | 358 |
</profiles> |
jtulach@63 | 359 |
</project> |