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