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