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