minesweeper/pom.xml
author jarda@tests-MacBook-Pro.local
Fri, 11 Apr 2014 08:59:42 +0200
branchibrwsr
changeset 126 a090087ae580
parent 125 d7b40912b16d
child 134 dad4f0d41b9f
permissions -rw-r--r--
Switching to RoboVM 0.0.11 currently runs only on the device, not in the emulator.
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@102
    36
              <artifactId>maven-resources-plugin</artifactId>
jtulach@102
    37
              <version>2.6</version>
jtulach@102
    38
              <executions>
jtulach@102
    39
                  <execution>
jtulach@102
    40
                      <id>copy-resources</id>
jtulach@102
    41
                      <!-- here the phase you need -->
jtulach@102
    42
                      <phase>process-resources</phase>
jtulach@102
    43
                      <goals>
jtulach@102
    44
                          <goal>copy-resources</goal>
jtulach@102
    45
                      </goals>
jtulach@102
    46
                      <configuration>
jtulach@102
    47
                          <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper/</outputDirectory>
jtulach@102
    48
                          <resources>          
jtulach@102
    49
                              <resource>
jtulach@102
    50
                                  <directory>src/main/webapp/</directory>
jtulach@102
    51
                                  <filtering>true</filtering>
jtulach@102
    52
                              </resource>
jtulach@102
    53
                          </resources>              
jtulach@102
    54
                      </configuration>            
jtulach@102
    55
                  </execution>
jtulach@102
    56
              </executions>
jtulach@102
    57
          </plugin>
jtulach@102
    58
          <plugin>
jtulach@102
    59
              <groupId>org.apache.maven.plugins</groupId>
jtulach@63
    60
              <artifactId>maven-jar-plugin</artifactId>
jtulach@63
    61
              <version>2.4</version>
jtulach@63
    62
              <configuration>
jtulach@63
    63
                  <archive>
jtulach@63
    64
                      <manifest>
jtulach@63
    65
                          <mainClass>${project.mainclass}</mainClass>
jtulach@63
    66
                          <addClasspath>true</addClasspath>
jtulach@63
    67
                          <classpathPrefix>lib/</classpathPrefix>
jtulach@63
    68
                      </manifest>
jtulach@63
    69
                  </archive>
jtulach@63
    70
              </configuration>
jtulach@63
    71
          </plugin>
jtulach@63
    72
          <plugin>
jtulach@63
    73
              <groupId>org.codehaus.mojo</groupId>
jtulach@63
    74
              <artifactId>exec-maven-plugin</artifactId>
jtulach@63
    75
              <version>1.2.1</version>
jtulach@63
    76
              <configuration>
jtulach@63
    77
                  <systemProperties>
jtulach@63
    78
                      <systemProperty>
jtulach@63
    79
                          <key>browser.rootdir</key>
jtulach@63
    80
                          <value>${basedir}/src/main/webapp/</value>
jtulach@63
    81
                      </systemProperty>
jtulach@63
    82
                  </systemProperties>
jtulach@63
    83
                  <mainClass>${project.mainclass}</mainClass>
jtulach@63
    84
              </configuration>
jtulach@63
    85
          </plugin>      
jtulach@63
    86
      </plugins>
jtulach@63
    87
  </build>
jtulach@63
    88
  <dependencies>
jtulach@63
    89
    <dependency>
jtulach@63
    90
        <groupId>org.netbeans.html</groupId>
jtulach@63
    91
        <artifactId>net.java.html.json</artifactId>
jtulach@63
    92
        <version>${net.java.html.version}</version>
jtulach@63
    93
    </dependency>
jtulach@63
    94
    <dependency>
jtulach@63
    95
        <groupId>org.netbeans.html</groupId>
jtulach@63
    96
        <artifactId>net.java.html.boot</artifactId>
jtulach@63
    97
        <version>${net.java.html.version}</version>
jtulach@63
    98
    </dependency>
jtulach@63
    99
    <dependency>
jtulach@79
   100
        <groupId>org.netbeans.html</groupId>
jtulach@111
   101
        <artifactId>net.java.html</artifactId>
jtulach@111
   102
        <version>${net.java.html.version}</version>
jtulach@111
   103
    </dependency>
jtulach@111
   104
    <dependency>
jtulach@111
   105
        <groupId>org.netbeans.html</groupId>
jtulach@79
   106
        <artifactId>net.java.html.sound</artifactId>
jtulach@79
   107
        <version>${net.java.html.version}</version>
jtulach@79
   108
    </dependency>
jtulach@79
   109
    <dependency>
jtulach@81
   110
        <groupId>org.netbeans.html</groupId>
jtulach@81
   111
        <artifactId>ko4j</artifactId>
jtulach@81
   112
        <version>${net.java.html.version}</version>
jtulach@81
   113
    </dependency>
jtulach@81
   114
    <dependency>
jtulach@118
   115
      <groupId>org.netbeans.html</groupId>
jtulach@118
   116
      <artifactId>nbrwsr</artifactId>
jtulach@118
   117
      <version>${net.java.html.version}</version>
jtulach@112
   118
      <scope>provided</scope>
jtulach@112
   119
    </dependency>
jtulach@112
   120
    <dependency>
jtulach@63
   121
      <groupId>org.testng</groupId>
jtulach@63
   122
      <artifactId>testng</artifactId>
jtulach@63
   123
      <version>6.7</version>
jtulach@63
   124
      <scope>test</scope>
jtulach@63
   125
    </dependency>
jtulach@63
   126
  </dependencies>
jtulach@63
   127
  <profiles>
jtulach@63
   128
      <profile>
jtulach@63
   129
          <id>fxbrwsr</id>
jtulach@63
   130
          <activation>
jtulach@63
   131
              <activeByDefault>true</activeByDefault>
jtulach@63
   132
          </activation>
jtulach@63
   133
          <build>
jtulach@63
   134
            <plugins>
jtulach@63
   135
                <plugin>
jtulach@63
   136
                    <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
   137
                    <version>2.4</version>
jtulach@63
   138
                    <executions>
jtulach@63
   139
                        <execution>
jtulach@63
   140
                            <id>distro-assembly</id>
jtulach@63
   141
                            <phase>package</phase>
jtulach@63
   142
                            <goals>
jtulach@63
   143
                                <goal>single</goal>
jtulach@63
   144
                            </goals>
jtulach@63
   145
                            <configuration>
jtulach@63
   146
                                <descriptors>
jtulach@63
   147
                                    <descriptor>src/main/assembly/html.java.net.xml</descriptor>
jtulach@63
   148
                                </descriptors>
jtulach@63
   149
                            </configuration>
jtulach@63
   150
                        </execution>
jtulach@63
   151
                    </executions>                
jtulach@63
   152
                </plugin>      
jtulach@63
   153
            </plugins>
jtulach@63
   154
          </build>
jtulach@63
   155
          <dependencies>
jtulach@63
   156
            <dependency>
jtulach@63
   157
                <groupId>org.netbeans.html</groupId>
jtulach@63
   158
                <artifactId>net.java.html.boot.fx</artifactId>
jtulach@63
   159
                <version>${net.java.html.version}</version>
jtulach@63
   160
                <scope>runtime</scope>
jtulach@63
   161
            </dependency>
jtulach@63
   162
          </dependencies>
jtulach@63
   163
      </profile>
jtulach@63
   164
      <profile>
jtulach@63
   165
          <id>bck2brwsr</id>
jtulach@63
   166
          <activation>
jtulach@63
   167
              <property>
jtulach@63
   168
                  <name>brwsr</name>
jtulach@63
   169
                  <value>bck2brwsr</value>
jtulach@63
   170
              </property>
jtulach@63
   171
          </activation>
jtulach@63
   172
          <build>
jtulach@63
   173
              <plugins>
jtulach@63
   174
                  <plugin>
jtulach@63
   175
                      <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   176
                      <artifactId>bck2brwsr-maven-plugin</artifactId>
jtulach@63
   177
                      <version>${bck2brwsr.version}</version>
jtulach@63
   178
                      <executions>
jtulach@63
   179
                          <execution>
jtulach@63
   180
                              <goals>
jtulach@63
   181
                                  <goal>brwsr</goal>
jtulach@63
   182
                              </goals>
jtulach@63
   183
                          </execution>
jtulach@63
   184
                      </executions>
jtulach@63
   185
                      <configuration>
jtulach@63
   186
                          <directory>${basedir}/src/main/webapp/</directory>
jtulach@63
   187
                          <startpage>${brwsr.startpage}</startpage>
jtulach@63
   188
                      </configuration>
jtulach@63
   189
                  </plugin>
jtulach@63
   190
                  <plugin>
jtulach@63
   191
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@63
   192
                      <artifactId>maven-compiler-plugin</artifactId>
jtulach@63
   193
                      <configuration>
jtulach@63
   194
                          <compilerArguments>
jtulach@63
   195
                              <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
jtulach@63
   196
                          </compilerArguments>
jtulach@63
   197
                      </configuration>
jtulach@63
   198
                  </plugin>
jtulach@63
   199
                  <plugin>
jtulach@63
   200
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@63
   201
                      <version>2.4</version>
jtulach@63
   202
                      <executions>
jtulach@63
   203
                          <execution>
jtulach@63
   204
                              <id>distro-assembly</id>
jtulach@63
   205
                              <phase>package</phase>
jtulach@63
   206
                              <goals>
jtulach@63
   207
                                  <goal>single</goal>
jtulach@63
   208
                              </goals>
jtulach@63
   209
                              <configuration>
jtulach@63
   210
                                  <descriptors>
jtulach@63
   211
                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jtulach@63
   212
                                  </descriptors>
jtulach@63
   213
                              </configuration>
jtulach@63
   214
                          </execution>
jtulach@63
   215
                      </executions>                
jtulach@63
   216
                  </plugin>      
jtulach@63
   217
              </plugins>
jtulach@63
   218
          </build>
jtulach@63
   219
          <dependencies>
jtulach@63
   220
              <dependency>
jtulach@63
   221
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   222
                  <artifactId>emul</artifactId>
jtulach@63
   223
                  <version>${bck2brwsr.version}</version>
jtulach@63
   224
                  <classifier>rt</classifier>
jtulach@63
   225
              </dependency>
jtulach@63
   226
              <dependency>
jtulach@63
   227
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   228
                  <artifactId>ko-bck2brwsr</artifactId>
jtulach@63
   229
                  <version>${bck2brwsr.version}</version>
jtulach@63
   230
                  <scope>runtime</scope>
jtulach@63
   231
              </dependency>
jtulach@63
   232
              <dependency>
jtulach@63
   233
                  <groupId>org.apidesign.bck2brwsr</groupId>
jtulach@63
   234
                  <artifactId>vm4brwsr</artifactId>
jtulach@63
   235
                  <classifier>js</classifier>
jtulach@63
   236
                  <type>zip</type>
jtulach@63
   237
                  <version>${bck2brwsr.version}</version>
jtulach@63
   238
                  <scope>provided</scope>
jtulach@63
   239
              </dependency>
jtulach@63
   240
          </dependencies>
jtulach@63
   241
      </profile>
jtulach@81
   242
      <profile>
jtulach@81
   243
          <id>dlvkbrwsr</id>
jtulach@81
   244
          <properties>
jtulach@81
   245
              <platform.version>4.1.1.4</platform.version>
jtulach@81
   246
              <android.plugin.version>3.7.0</android.plugin.version>
jtulach@81
   247
              <debug>false</debug>
jtulach@81
   248
          </properties>
jtulach@81
   249
          <dependencies>
jtulach@81
   250
              <dependency>
jtulach@81
   251
                  <groupId>com.google.android</groupId>
jtulach@81
   252
                  <artifactId>android</artifactId>
jtulach@81
   253
                  <version>${platform.version}</version>
jtulach@81
   254
                  <scope>provided</scope>
jtulach@81
   255
              </dependency>
jtulach@81
   256
              <dependency>
jtulach@107
   257
                  <groupId>org.apidesign.brwsr</groupId>
jtulach@107
   258
                  <artifactId>dlvkbrwsr</artifactId>
jtulach@107
   259
                  <version>0.5</version>
jtulach@107
   260
                  <type>jar</type>
jtulach@107
   261
              </dependency>
jtulach@107
   262
              <dependency>
jtulach@81
   263
                  <groupId>org.netbeans.html</groupId>
jtulach@81
   264
                  <artifactId>ko-ws-tyrus</artifactId>
jtulach@81
   265
                  <version>${net.java.html.version}</version>
jtulach@81
   266
                  <exclusions>
jtulach@81
   267
                      <exclusion>
jtulach@81
   268
                          <artifactId>org.json-osgi</artifactId>
jtulach@81
   269
                          <groupId>de.twentyeleven.skysail</groupId>
jtulach@81
   270
                      </exclusion>
jtulach@81
   271
                  </exclusions>
jtulach@81
   272
              </dependency>
jtulach@81
   273
          </dependencies>
jtulach@81
   274
          <build>
jtulach@81
   275
              <plugins>
jtulach@81
   276
                  <plugin>
jtulach@81
   277
                      <groupId>com.jayway.maven.plugins.android.generation2</groupId>
jtulach@81
   278
                      <artifactId>android-maven-plugin</artifactId>
jtulach@81
   279
                      <version>${android.plugin.version}</version>
jtulach@81
   280
                      <extensions>true</extensions>
jtulach@81
   281
                      <configuration>
jtulach@81
   282
                          <classifier>apk</classifier>
jtulach@81
   283
                          <attachJar>false</attachJar>
jtulach@81
   284
                          <apkDebug>debug</apkDebug>
jtulach@81
   285
                          <assetsDirectory>src/main/webapp</assetsDirectory>
jtulach@81
   286
                          <sdk>
jtulach@81
   287
                              <platform>16</platform>
jtulach@81
   288
                          </sdk>
jtulach@81
   289
                          <apk>
jtulach@81
   290
                              <metaIncludes>
jtulach@81
   291
                                  <metaInclude>services/org.apidesign.**</metaInclude>
jtulach@81
   292
                              </metaIncludes>
jtulach@81
   293
                          </apk>
jtulach@110
   294
                          <extractDuplicates>true</extractDuplicates>
jtulach@81
   295
                          <file>${project.build.directory}/${project.build.finalName}.apk</file>
jtulach@81
   296
                      </configuration>
jtulach@81
   297
                      <executions>
jtulach@81
   298
                          <execution>
jtulach@81
   299
                              <id>apk</id>
jtulach@81
   300
                              <goals>
jtulach@81
   301
                                  <goal>apk</goal>
jtulach@81
   302
                                  <goal>dex</goal>
jtulach@81
   303
                              </goals>
jtulach@81
   304
                          </execution>
jtulach@81
   305
                      </executions>
jtulach@81
   306
                  </plugin>
jtulach@81
   307
                  <plugin>
jtulach@81
   308
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@81
   309
                      <artifactId>maven-install-plugin</artifactId>
jtulach@81
   310
                      <version>2.5.1</version>
jtulach@81
   311
                      <configuration>
jtulach@81
   312
                          <groupId>${project.groupId}</groupId>
jtulach@81
   313
                          <artifactId>${project.artifactId}</artifactId>
jtulach@81
   314
                          <version>${project.version}</version>
jtulach@81
   315
                          <file>${project.build.directory}/${project.build.finalName}.apk</file>
jtulach@81
   316
                          <packaging>apk</packaging>
jtulach@81
   317
                          <skip>true</skip>
jtulach@81
   318
                      </configuration>
jtulach@81
   319
                      <executions>
jtulach@81
   320
                          <execution>
jtulach@81
   321
                              <id>install-apk</id>
jtulach@81
   322
                              <phase>install</phase>
jtulach@81
   323
                              <goals>
jtulach@81
   324
                                  <goal>install-file</goal>
jtulach@81
   325
                              </goals>
jtulach@81
   326
                          </execution>
jtulach@81
   327
                      </executions>
jtulach@81
   328
                  </plugin>
jtulach@81
   329
              </plugins>
jtulach@81
   330
          </build>
jtulach@91
   331
      </profile>
jtulach@91
   332
      <profile>
jtulach@91
   333
          <id>teabrwsr</id>
jtulach@91
   334
          <build>
jtulach@91
   335
              <plugins>
jtulach@91
   336
                  <plugin>
jtulach@91
   337
                      <groupId>org.teavm</groupId>
jtulach@91
   338
                      <artifactId>teavm-maven-plugin</artifactId>
jtulach@115
   339
                      <version>${teavm.version}</version>
jtulach@91
   340
                      <dependencies>
jtulach@91
   341
                          <dependency>
jtulach@91
   342
                              <groupId>org.teavm</groupId>
jtulach@91
   343
                              <artifactId>teavm-classlib</artifactId>
jtulach@115
   344
                              <version>${teavm.version}</version>
jtulach@91
   345
                          </dependency>
jtulach@91
   346
                          <!-- This module adds html4j support. It mainly includes JavaScriptBuilder support.
jtulach@91
   347
                          Also there are some little patches to JCL emulation, that are required to pass TCK -->
jtulach@91
   348
                          <dependency>
jtulach@91
   349
                              <groupId>org.teavm</groupId>
jtulach@91
   350
                              <artifactId>teavm-html4j</artifactId>
jtulach@115
   351
                              <version>${teavm.version}</version>
jtulach@91
   352
                          </dependency>
jtulach@91
   353
                      </dependencies>
jtulach@91
   354
                      <executions>
jtulach@91
   355
                          <execution>
jtulach@91
   356
                              <id>generate-minesweeper</id>
jtulach@91
   357
                              <goals>
jtulach@91
   358
                                  <goal>build-javascript</goal>
jtulach@91
   359
                              </goals>
jtulach@91
   360
                              <phase>process-classes</phase>
jtulach@91
   361
                              <configuration>
jtulach@91
   362
                                  <!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript -->
jtulach@91
   363
                                  <minifying>false</minifying>
jtulach@97
   364
                                  <properties>
jtulach@97
   365
                                      <!-- This classes (separated with , ; space) will be available through vm.loadClass() -->
jtulach@97
   366
                                      <html4j.entryPoints>org.apidesign.demo.minesweeper.MainBrwsr</html4j.entryPoints>
jtulach@97
   367
                                  </properties>
jtulach@91
   368
                                  <!-- Don't include main page - we created it by ourselves -->
jtulach@91
   369
                                  <mainPageIncluded>false</mainPageIncluded>
jtulach@97
   370
                                  <!-- Merge runtime.js instead of putting as a separate file -->
jtulach@97
   371
                                  <runtime>MERGED</runtime>
jtulach@97
   372
                                  <!-- Name of the generated file -->
jtulach@97
   373
                                  <targetFileName>bck2brwsr.js</targetFileName>
jtulach@91
   374
                                  <targetDirectory>${project.build.directory}/teavm</targetDirectory>
jtulach@91
   375
                                  <!-- This transformer adds null checks before virtual calls. It is not included
jtulach@91
   376
                                  by default as we don't always need these null checks -->
jtulach@91
   377
                                  <transformers>
jtulach@91
   378
                                      <param>org.teavm.javascript.NullPointerExceptionTransformer</param>
jtulach@91
   379
                                  </transformers>
jtulach@91
   380
                              </configuration>
jtulach@91
   381
                          </execution>
jtulach@91
   382
                      </executions>
jtulach@91
   383
                  </plugin>
jtulach@91
   384
                  <plugin>
jtulach@91
   385
                      <artifactId>maven-assembly-plugin</artifactId>
jtulach@91
   386
                      <version>2.4</version>
jtulach@91
   387
                      <executions>
jtulach@91
   388
                          <execution>
jtulach@91
   389
                              <id>distro-assembly</id>
jtulach@91
   390
                              <phase>package</phase>
jtulach@91
   391
                              <goals>
jtulach@91
   392
                                  <goal>single</goal>
jtulach@91
   393
                              </goals>
jtulach@91
   394
                              <configuration>
jtulach@91
   395
                                  <descriptors>
jtulach@91
   396
                                      <descriptor>src/main/assembly/teabrwsr.xml</descriptor>
jtulach@91
   397
                                  </descriptors>
jtulach@91
   398
                              </configuration>
jtulach@91
   399
                          </execution>
jtulach@91
   400
                      </executions>                
jtulach@91
   401
                  </plugin>      
jtulach@91
   402
              </plugins>
jtulach@91
   403
          </build>
jtulach@81
   404
      </profile>
jtulach@111
   405
      <profile>
jtulach@125
   406
          <id>ibrwsr</id>
jtulach@125
   407
          <dependencies>
jtulach@125
   408
              <dependency>
jtulach@125
   409
                  <groupId>org.apidesign.brwsr</groupId>
jtulach@125
   410
                  <artifactId>ibrwsr</artifactId>
jtulach@125
   411
                  <version>1.0-SNAPSHOT</version>
jtulach@125
   412
                  <scope>runtime</scope>
jtulach@125
   413
              </dependency>
jtulach@125
   414
          </dependencies>
jtulach@125
   415
          <build>
jtulach@125
   416
              <plugins>
jtulach@125
   417
                  <plugin>
jtulach@125
   418
                      <groupId>org.robovm</groupId>
jtulach@125
   419
                      <artifactId>robovm-maven-plugin</artifactId>
jarda@126
   420
                      <version>0.0.11.1</version>
jtulach@125
   421
                      <configuration>
jtulach@125
   422
                          <config>
jtulach@125
   423
                              <mainClass>org.apidesign.demo.minesweeper.Main</mainClass>
jtulach@125
   424
                              <forceLinkClasses>
jtulach@125
   425
                                  <pattern>java.util.logging.ConsoleHandler</pattern>
jtulach@125
   426
                                  <pattern>java.util.logging.SimpleFormatter</pattern>
jtulach@125
   427
                                  <pattern>org.netbeans.html.ko4j.KO4J</pattern>
jtulach@125
   428
                                  <pattern>org.netbeans.html.sound.impl.BrowserAudioEnv</pattern>
jtulach@125
   429
                                  <pattern>org.apidesign.brwsr.IBrwsrPrsntr</pattern>
jtulach@125
   430
                              </forceLinkClasses>                        
jtulach@125
   431
                          </config>
jtulach@125
   432
                          <includeJFX>false</includeJFX>
jtulach@125
   433
                      </configuration>
jtulach@125
   434
                  </plugin>
jtulach@125
   435
              </plugins>
jtulach@125
   436
          </build>
jtulach@125
   437
      </profile>      
jtulach@125
   438
      <profile>
jtulach@111
   439
          <id>nbrwsr</id>
jtulach@112
   440
          <dependencies>
jtulach@112
   441
              <dependency>
jtulach@118
   442
                  <groupId>org.netbeans.html</groupId>
jtulach@118
   443
                  <artifactId>nbrwsr</artifactId>
jtulach@118
   444
                  <version>${net.java.html.version}</version>
jtulach@112
   445
                  <scope>compile</scope>
jtulach@112
   446
              </dependency>
jtulach@112
   447
          </dependencies>
jtulach@111
   448
          <build>
jtulach@111
   449
              <plugins>
jtulach@111
   450
                  <plugin>
jtulach@113
   451
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@113
   452
                      <artifactId>maven-resources-plugin</artifactId>
jtulach@113
   453
                      <version>2.6</version>
jtulach@113
   454
                      <executions>
jtulach@113
   455
                          <execution>
jtulach@113
   456
                              <id>include-webpages</id>
jtulach@113
   457
                              <goals>
jtulach@113
   458
                                  <goal>copy-resources</goal>
jtulach@113
   459
                              </goals>
jtulach@113
   460
                              <phase>process-resources</phase>
jtulach@113
   461
                              <configuration>
jtulach@113
   462
                                  <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory>
jtulach@113
   463
                                  <overwrite>true</overwrite>
jtulach@113
   464
                                  <resources>          
jtulach@113
   465
                                      <resource>
jtulach@113
   466
                                          <directory>src/main/webapp/pages</directory>
jtulach@113
   467
                                      </resource>
jtulach@113
   468
                                  </resources>              
jtulach@113
   469
                              </configuration>   
jtulach@113
   470
                          </execution>
jtulach@113
   471
                      </executions>
jtulach@113
   472
                  </plugin>
jtulach@113
   473
                  <plugin>
jtulach@111
   474
                      <groupId>org.codehaus.mojo</groupId>
jtulach@111
   475
                      <artifactId>nbm-maven-plugin</artifactId>
jtulach@111
   476
                      <version>3.13</version>
jtulach@111
   477
                      <extensions>true</extensions>
jtulach@111
   478
                      <executions>
jtulach@111
   479
                          <execution>
jtulach@111
   480
                              <id>default-manifest</id>
jtulach@111
   481
                              <phase>process-classes</phase>
jtulach@111
   482
                              <goals>
jtulach@111
   483
                                  <goal>manifest</goal>
jtulach@111
   484
                              </goals>
jtulach@111
   485
                              <configuration>
jtulach@111
   486
                                  <useOSGiDependencies>true</useOSGiDependencies>
jtulach@111
   487
                                  <brandingToken>html4j4nb</brandingToken>
jtulach@111
   488
                                  <cluster>html4j4nb</cluster>
jtulach@111
   489
                                  <verifyIntegrity>false</verifyIntegrity>
jtulach@111
   490
                              </configuration>
jtulach@111
   491
                          </execution>                       
jtulach@111
   492
                          <execution>
jtulach@111
   493
                              <id>default-nbm</id>
jtulach@111
   494
                              <phase>package</phase>
jtulach@111
   495
                              <goals>
jtulach@111
   496
                                  <goal>nbm</goal>
jtulach@111
   497
                              </goals>
jtulach@111
   498
                              <configuration>
jtulach@111
   499
                                  <useOSGiDependencies>true</useOSGiDependencies>
jtulach@111
   500
                                  <cluster>html4j4nb</cluster>
jtulach@111
   501
                                  <verifyIntegrity>false</verifyIntegrity>
jtulach@111
   502
                              </configuration>
jtulach@111
   503
                          </execution>
jtulach@111
   504
                      </executions>
jtulach@111
   505
                      <configuration>
jtulach@111
   506
                          <useOSGiDependencies>true</useOSGiDependencies>
jtulach@111
   507
                          <brandingToken>html4j4nb</brandingToken>
jtulach@111
   508
                          <cluster>html4j4nb</cluster>
jtulach@111
   509
                          <verifyIntegrity>false</verifyIntegrity>
jtulach@111
   510
                      </configuration>
jtulach@111
   511
                  </plugin>                      
jtulach@111
   512
jtulach@111
   513
                  <plugin>
jtulach@111
   514
                      <groupId>org.apache.maven.plugins</groupId>
jtulach@111
   515
                      <artifactId>maven-jar-plugin</artifactId>
jtulach@111
   516
                      <configuration>
jtulach@111
   517
                          <!-- to have the jar plugin pickup the nbm generated manifest -->
jtulach@111
   518
                          <useDefaultManifestFile>true</useDefaultManifestFile>
jtulach@111
   519
                      </configuration>
jtulach@111
   520
                  </plugin>
jtulach@111
   521
              </plugins>
jtulach@111
   522
          </build>
jtulach@111
   523
      </profile>      
jtulach@63
   524
  </profiles>  
jtulach@63
   525
</project>