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