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