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