minesweeper/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 14 Aug 2014 07:50:10 +0200
branchAppStore
changeset 197 197472ca59d4
parent 195 d1e02a40c201
child 198 0e2b05057c97
permissions -rw-r--r--
Adressing comments from the first AppStore review: 1. don't mention android, 2. don't use word 'demo', replace it with 'showcase'.
     1 <?xml version="1.0" encoding="UTF-8"?>
     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">
     3   <modelVersion>4.0.0</modelVersion>
     4 
     5   <groupId>org.apidesign.demo</groupId>
     6   <artifactId>minesweeper</artifactId>
     7   <version>2.0-SNAPSHOT</version>
     8   <packaging>jar</packaging>
     9   <parent>
    10       <artifactId>demo</artifactId>
    11       <groupId>org.apidesign.html</groupId>
    12       <version>1.0-SNAPSHOT</version>
    13   </parent>
    14 
    15   <name>Mine Sweeper</name>
    16   <description>
    17       Demonstration of DukeScript rendering technology.
    18       Plus old, good, simple and entertaining game.
    19       Improve your coding skills by playing a game and 
    20       meanwhile learn what a rendering technology of the
    21       future is going to look like. Learn to use DukeScript:
    22       Write once, display (and deploy) anywhere!
    23   </description>
    24   <url>http://html.java.net/</url>
    25   <properties>
    26     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    27     <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
    28     <netbeans.compile.on.save>none</netbeans.compile.on.save>
    29     <bck2brwsr.obfuscationlevel>FULL</bck2brwsr.obfuscationlevel>
    30   </properties>
    31   <build>
    32       <plugins>
    33           <plugin>
    34               <groupId>org.apache.maven.plugins</groupId>
    35               <artifactId>maven-compiler-plugin</artifactId>
    36               <version>2.3.2</version>
    37               <configuration>
    38                   <source>1.6</source>
    39                   <target>1.6</target>
    40               </configuration>
    41           </plugin>
    42           <plugin>
    43               <groupId>org.apache.maven.plugins</groupId>
    44               <artifactId>maven-jar-plugin</artifactId>
    45               <version>2.4</version>
    46               <configuration>
    47                   <archive>
    48                       <manifest>
    49                           <mainClass>${project.mainclass}</mainClass>
    50                           <addClasspath>true</addClasspath>
    51                           <classpathPrefix>lib/</classpathPrefix>
    52                       </manifest>
    53                   </archive>
    54               </configuration>
    55           </plugin>
    56           <plugin>
    57               <groupId>org.codehaus.mojo</groupId>
    58               <artifactId>exec-maven-plugin</artifactId>
    59               <version>1.2.1</version>
    60               <configuration>
    61                   <systemProperties>
    62                       <systemProperty>
    63                           <key>browser.rootdir</key>
    64                           <value>${basedir}/src/main/webapp/</value>
    65                       </systemProperty>
    66                   </systemProperties>
    67                   <mainClass>${project.mainclass}</mainClass>
    68               </configuration>
    69           </plugin>      
    70       </plugins>
    71   </build>
    72   <dependencies>
    73     <dependency>
    74         <groupId>org.netbeans.html</groupId>
    75         <artifactId>net.java.html.json</artifactId>
    76         <version>${net.java.html.version}</version>
    77     </dependency>
    78     <dependency>
    79         <groupId>org.netbeans.html</groupId>
    80         <artifactId>net.java.html.boot</artifactId>
    81         <version>${net.java.html.version}</version>
    82     </dependency>
    83     <dependency>
    84         <groupId>org.netbeans.html</groupId>
    85         <artifactId>net.java.html</artifactId>
    86         <version>${net.java.html.version}</version>
    87     </dependency>
    88     <dependency>
    89         <groupId>org.netbeans.html</groupId>
    90         <artifactId>net.java.html.sound</artifactId>
    91         <version>${net.java.html.version}</version>
    92     </dependency>
    93     <dependency>
    94         <groupId>org.netbeans.html</groupId>
    95         <artifactId>ko4j</artifactId>
    96         <version>${net.java.html.version}</version>
    97     </dependency>
    98     <dependency>
    99       <groupId>org.netbeans.html</groupId>
   100       <artifactId>nbrwsr</artifactId>
   101       <version>${nb.html.version}</version>
   102       <scope>provided</scope>
   103     </dependency>
   104     <dependency>
   105       <groupId>org.testng</groupId>
   106       <artifactId>testng</artifactId>
   107       <version>6.7</version>
   108       <scope>test</scope>
   109     </dependency>
   110   </dependencies>
   111   <profiles>
   112       <profile>
   113           <id>fxbrwsr</id>
   114           <activation>
   115               <activeByDefault>true</activeByDefault>
   116           </activation>
   117           <build>
   118             <plugins>
   119                 <plugin>
   120                     <groupId>org.apache.maven.plugins</groupId>
   121                     <artifactId>maven-jar-plugin</artifactId>
   122                     <version>2.4</version>
   123                     <configuration>
   124                         <archive>
   125                             <manifest>
   126                                 <mainClass>${project.mainclass}</mainClass>
   127                                 <addClasspath>true</addClasspath>
   128                                 <classpathPrefix>lib/</classpathPrefix>
   129                             </manifest>
   130                         </archive>
   131                     </configuration>
   132                 </plugin>
   133                 <plugin>
   134                     <artifactId>maven-assembly-plugin</artifactId>
   135                     <version>2.4</version>
   136                     <executions>
   137                         <execution>
   138                             <id>distro-assembly</id>
   139                             <phase>package</phase>
   140                             <goals>
   141                                 <goal>single</goal>
   142                             </goals>
   143                             <configuration>
   144                                 <descriptors>
   145                                     <descriptor>src/main/assembly/html.java.net.xml</descriptor>
   146                                 </descriptors>
   147                             </configuration>
   148                         </execution>
   149                     </executions>                
   150                 </plugin>      
   151             </plugins>
   152           </build>
   153           <dependencies>
   154             <dependency>
   155                 <groupId>org.netbeans.html</groupId>
   156                 <artifactId>net.java.html.boot.fx</artifactId>
   157                 <version>${net.java.html.version}</version>
   158                 <scope>runtime</scope>
   159             </dependency>
   160           </dependencies>
   161       </profile>
   162       <profile>
   163           <id>bck2brwsr</id>
   164           <activation>
   165               <property>
   166                   <value>bck2brwsr</value>
   167                   <name>show</name>
   168               </property>
   169           </activation>
   170           <build>
   171               <plugins>
   172                   <plugin>
   173                       <groupId>org.apache.maven.plugins</groupId>
   174                       <artifactId>maven-jar-plugin</artifactId>
   175                       <version>2.4</version>
   176                       <configuration>
   177                           <archive>
   178                               <manifest>
   179                                   <mainClass>${project.mainclass}</mainClass>
   180                                   <addClasspath>true</addClasspath>
   181                                   <classpathPrefix>lib/</classpathPrefix>
   182                               </manifest>
   183                           </archive>
   184                       </configuration>
   185                   </plugin>
   186                   <plugin>
   187                       <groupId>org.apidesign.bck2brwsr</groupId>
   188                       <artifactId>bck2brwsr-maven-plugin</artifactId>
   189                       <version>${bck2brwsr.version}</version>
   190                       <executions>
   191                           <execution>
   192                               <goals>
   193                                   <goal>brwsr</goal>
   194                                   <goal>aot</goal>
   195                               </goals>
   196                           </execution>
   197                       </executions>
   198                       <configuration>
   199                           <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
   200                           <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
   201                           <startpage>index.html</startpage>
   202                           <classPathPrefix>lib</classPathPrefix>
   203                           <mainJavaScript>${project.build.directory}/minesweeper.js</mainJavaScript>
   204                           <exports>
   205                               <export>org.apidesign.demo.minesweeper.MinesModel</export>
   206                           </exports>
   207                       </configuration>
   208                   </plugin>
   209                   <plugin>
   210                       <groupId>org.apache.maven.plugins</groupId>
   211                       <artifactId>maven-compiler-plugin</artifactId>
   212                       <configuration>
   213                           <compilerArguments>
   214                               <bootclasspath>netbeans.ignore.jdk.bootclasspath</bootclasspath>
   215                           </compilerArguments>
   216                       </configuration>
   217                   </plugin>
   218                   <plugin>
   219                       <artifactId>maven-assembly-plugin</artifactId>
   220                       <version>2.4</version>
   221                       <executions>
   222                           <execution>
   223                               <id>distro-assembly</id>
   224                               <phase>package</phase>
   225                               <goals>
   226                                   <goal>single</goal>
   227                               </goals>
   228                               <configuration>
   229                                   <descriptors>
   230                                       <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
   231                                   </descriptors>
   232                               </configuration>
   233                           </execution>
   234                       </executions>                
   235                   </plugin>      
   236               </plugins>
   237           </build>
   238           <dependencies>
   239               <dependency>
   240                   <groupId>org.apidesign.bck2brwsr</groupId>
   241                   <artifactId>emul</artifactId>
   242                   <version>${bck2brwsr.version}</version>
   243                   <classifier>rt</classifier>
   244               </dependency>
   245               <dependency>
   246                   <groupId>org.netbeans.html</groupId>
   247                   <artifactId>net.java.html.boot</artifactId>
   248                   <version>${net.java.html.version}</version>
   249                   <exclusions>
   250                       <exclusion>
   251                           <artifactId>asm</artifactId>
   252                           <groupId>org.ow2.asm</groupId>
   253                       </exclusion>
   254                   </exclusions>
   255               </dependency>
   256               <dependency>
   257                   <groupId>org.apidesign.bck2brwsr</groupId>
   258                   <artifactId>ko-bck2brwsr</artifactId>
   259                   <version>${bck2brwsr.version}</version>
   260                   <scope>runtime</scope>
   261               </dependency>
   262               <dependency>
   263                   <groupId>org.apidesign.bck2brwsr</groupId>
   264                   <artifactId>vm4brwsr</artifactId>
   265                   <classifier>js</classifier>
   266                   <type>zip</type>
   267                   <version>${bck2brwsr.version}</version>
   268                   <scope>provided</scope>
   269               </dependency>
   270           </dependencies>
   271       </profile>
   272       <profile>
   273           <id>dlvkbrwsr</id>
   274           <properties>
   275               <platform.version>4.1.1.4</platform.version>
   276               <android.plugin.version>3.7.0</android.plugin.version>
   277               <debug>false</debug>
   278           </properties>
   279           <dependencies>
   280               <dependency>
   281                   <groupId>com.google.android</groupId>
   282                   <artifactId>android</artifactId>
   283                   <version>${platform.version}</version>
   284                   <scope>provided</scope>
   285               </dependency>
   286               <dependency>
   287                   <groupId>org.apidesign.brwsr</groupId>
   288                   <artifactId>dlvkbrwsr</artifactId>
   289                   <version>0.8.1</version>
   290                   <type>jar</type>
   291               </dependency>
   292               <dependency>
   293                   <groupId>org.netbeans.html</groupId>
   294                   <artifactId>ko-ws-tyrus</artifactId>
   295                   <version>${net.java.html.version}</version>
   296                   <exclusions>
   297                       <exclusion>
   298                           <artifactId>org.json-osgi</artifactId>
   299                           <groupId>de.twentyeleven.skysail</groupId>
   300                       </exclusion>
   301                   </exclusions>
   302               </dependency>
   303           </dependencies>
   304           <build>
   305               <plugins>
   306                   <plugin>
   307                       <groupId>com.filmon.maven</groupId>
   308                       <artifactId>image-maven-plugin</artifactId>
   309                       <version>1.1</version>
   310                       <executions>
   311                           <execution>
   312                               <goals>
   313                                   <goal>scale</goal>
   314                               </goals>
   315                               <configuration>
   316                                   <outputDirectory>target/res</outputDirectory>
   317                                   <images>
   318                                       <image>
   319                                           <source>src/main/icons/DukeSweeper.png</source>
   320                                           <destination>drawable-hdpi/ic_launcher.png</destination>
   321                                           <width>72</width>
   322                                       </image>
   323                                       <image>
   324                                           <source>src/main/icons/DukeSweeper.png</source>
   325                                           <destination>drawable-mdpi/ic_launcher.png</destination>
   326                                           <width>48</width>
   327                                       </image>
   328                                       <image>
   329                                           <source>src/main/icons/DukeSweeper.png</source>
   330                                           <destination>drawable-xhdpi/ic_launcher.png</destination>
   331                                           <width>96</width>
   332                                       </image>
   333                                       <image>
   334                                           <source>src/main/icons/DukeSweeper.png</source>
   335                                           <destination>drawable-xxhdpi/ic_launcher.png</destination>
   336                                           <width>144</width>
   337                                       </image>
   338                                   </images>
   339                               </configuration>
   340                           </execution>
   341                       </executions>
   342                   </plugin>
   343                   <plugin>
   344                       <groupId>com.jayway.maven.plugins.android.generation2</groupId>
   345                       <artifactId>android-maven-plugin</artifactId>
   346                       <version>${android.plugin.version}</version>
   347                       <extensions>true</extensions>
   348                       <configuration>
   349                           <resourceDirectory>target/res</resourceDirectory>
   350                           <classifier>apk</classifier>
   351                           <attachJar>false</attachJar>
   352                           <apkDebug>debug</apkDebug>
   353                           <assetsDirectory>src/main/webapp</assetsDirectory>
   354                           <sdk>
   355                               <platform>19</platform>
   356                           </sdk>
   357                           <apk>
   358                               <metaIncludes>
   359                                   <metaInclude>services/org.apidesign.**</metaInclude>
   360                               </metaIncludes>
   361                           </apk>
   362                           <extractDuplicates>true</extractDuplicates>
   363                           <file>${project.build.directory}/${project.build.finalName}.apk</file>
   364                       </configuration>
   365                       <executions>
   366                           <execution>
   367                               <id>apk</id>
   368                               <goals>
   369                                   <goal>apk</goal>
   370                                   <goal>dex</goal>
   371                               </goals>
   372                           </execution>
   373                       </executions>
   374                   </plugin>
   375                   <plugin>
   376                       <groupId>org.apache.maven.plugins</groupId>
   377                       <artifactId>maven-install-plugin</artifactId>
   378                       <version>2.5.1</version>
   379                       <configuration>
   380                           <groupId>${project.groupId}</groupId>
   381                           <artifactId>${project.artifactId}</artifactId>
   382                           <version>${project.version}</version>
   383                           <file>${project.build.directory}/${project.build.finalName}.apk</file>
   384                           <packaging>apk</packaging>
   385                           <skip>true</skip>
   386                       </configuration>
   387                       <executions>
   388                           <execution>
   389                               <id>install-apk</id>
   390                               <phase>install</phase>
   391                               <goals>
   392                                   <goal>install-file</goal>
   393                               </goals>
   394                           </execution>
   395                       </executions>
   396                   </plugin>
   397               </plugins>
   398           </build>
   399       </profile>
   400       <profile>
   401           <id>teabrwsr</id>
   402           <build>
   403               <plugins>
   404                   <plugin>
   405                       <groupId>org.teavm</groupId>
   406                       <artifactId>teavm-maven-plugin</artifactId>
   407                       <version>${teavm.version}</version>
   408                       <dependencies>
   409                           <dependency>
   410                               <groupId>org.teavm</groupId>
   411                               <artifactId>teavm-classlib</artifactId>
   412                               <version>${teavm.version}</version>
   413                           </dependency>
   414                           <!-- This module adds html4j support. It mainly includes JavaScriptBuilder support.
   415                           Also there are some little patches to JCL emulation, that are required to pass TCK -->
   416                           <dependency>
   417                               <groupId>org.teavm</groupId>
   418                               <artifactId>teavm-html4j</artifactId>
   419                               <version>${teavm.version}</version>
   420                           </dependency>
   421                       </dependencies>
   422                       <executions>
   423                           <execution>
   424                               <id>generate-minesweeper</id>
   425                               <goals>
   426                                   <goal>build-javascript</goal>
   427                               </goals>
   428                               <phase>process-classes</phase>
   429                               <configuration>
   430                                   <!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript -->
   431                                   <minifying>false</minifying>
   432                                   <properties>
   433                                       <!-- This classes (separated with , ; space) will be available through vm.loadClass() -->
   434                                       <html4j.entryPoints>org.apidesign.demo.minesweeper.MainBrwsr</html4j.entryPoints>
   435                                   </properties>
   436                                   <!-- Don't include main page - we created it by ourselves -->
   437                                   <mainPageIncluded>false</mainPageIncluded>
   438                                   <!-- Merge runtime.js instead of putting as a separate file -->
   439                                   <runtime>MERGED</runtime>
   440                                   <!-- Name of the generated file -->
   441                                   <targetFileName>bck2brwsr.js</targetFileName>
   442                                   <targetDirectory>${project.build.directory}/teavm</targetDirectory>
   443                                   <!-- This transformer adds null checks before virtual calls. It is not included
   444                                   by default as we don't always need these null checks -->
   445                                   <transformers>
   446                                       <param>org.teavm.javascript.NullPointerExceptionTransformer</param>
   447                                   </transformers>
   448                               </configuration>
   449                           </execution>
   450                       </executions>
   451                   </plugin>
   452                   <plugin>
   453                       <artifactId>maven-assembly-plugin</artifactId>
   454                       <version>2.4</version>
   455                       <executions>
   456                           <execution>
   457                               <id>distro-assembly</id>
   458                               <phase>package</phase>
   459                               <goals>
   460                                   <goal>single</goal>
   461                               </goals>
   462                               <configuration>
   463                                   <descriptors>
   464                                       <descriptor>src/main/assembly/teabrwsr.xml</descriptor>
   465                                   </descriptors>
   466                               </configuration>
   467                           </execution>
   468                       </executions>                
   469                   </plugin>      
   470               </plugins>
   471           </build>
   472       </profile>
   473       <profile>
   474           <id>ibrwsr</id>
   475           <dependencies>
   476               <dependency>
   477                   <groupId>org.apidesign.brwsr</groupId>
   478                   <artifactId>ibrwsr</artifactId>
   479                   <version>0.8.3</version>
   480                   <scope>runtime</scope>
   481               </dependency>
   482           </dependencies>
   483           <build>
   484               <plugins>
   485                   <plugin>
   486                       <groupId>com.filmon.maven</groupId>
   487                       <artifactId>image-maven-plugin</artifactId>
   488                       <version>1.1</version>
   489                       <executions>
   490                           <execution>
   491                               <goals>
   492                                   <goal>scale</goal>
   493                               </goals>
   494                               <configuration>
   495                                   <outputDirectory>target/images</outputDirectory>
   496                                   <images>
   497                                       <image>
   498                                           <source>src/main/icons/DukeSweeper.png</source>
   499                                           <destination>Icon.png</destination>
   500                                           <width>57</width>
   501                                       </image>
   502                                       <image>
   503                                           <source>src/main/icons/DukeSweeper.png</source>
   504                                           <destination>Icon@2.png</destination>
   505                                           <width>114</width>
   506                                       </image>
   507                                       <image>
   508                                           <source>src/main/icons/DukeSweeper.png</source>
   509                                           <destination>Icon-60.png</destination>
   510                                           <width>60</width>
   511                                       </image>
   512                                       <image>
   513                                           <source>src/main/icons/DukeSweeper.png</source>
   514                                           <destination>Icon-60@2.png</destination>
   515                                           <width>120</width>
   516                                       </image>
   517                                       <image>
   518                                           <source>src/main/icons/DukeSweeper.png</source>
   519                                           <destination>Icon-72.png</destination>
   520                                           <width>72</width>
   521                                       </image>
   522                                       <image>
   523                                           <source>src/main/icons/DukeSweeper.png</source>
   524                                           <destination>Icon-76.png</destination>
   525                                           <width>76</width>
   526                                       </image>
   527                                   </images>
   528                               </configuration>
   529                           </execution>
   530                       </executions>
   531                   </plugin>
   532                   <plugin>
   533                       <groupId>org.robovm</groupId>
   534                       <artifactId>robovm-maven-plugin</artifactId>
   535                       <version>0.0.14.1</version>
   536                       <configuration>
   537                           <config>
   538                               <mainClass>org.apidesign.demo.minesweeper.Main</mainClass>
   539                               <forceLinkClasses>
   540                                   <pattern>java.util.logging.ConsoleHandler</pattern>
   541                                   <pattern>java.util.logging.SimpleFormatter</pattern>
   542                                   <pattern>org.netbeans.html.ko4j.KO4J</pattern>
   543                                   <pattern>org.netbeans.html.sound.impl.BrowserAudioEnv</pattern>
   544                                   <pattern>org.apidesign.brwsr.IBrwsrPrsntr</pattern>
   545                               </forceLinkClasses>
   546                               <executableName>MineSweeper</executableName>
   547                               <resources>
   548                                   <resource>src/main/webapp/pages</resource>
   549                                   <resource>
   550                                       <targetPath>/</targetPath>
   551                                       <directory>src/main/icons/</directory>
   552                                       <includes>
   553                                           <include>Default*.png</include>
   554                                       </includes>
   555                                       <skipPngCrush>true</skipPngCrush>
   556                                   </resource>
   557                                   <resource>
   558                                       <targetPath>/</targetPath>
   559                                       <directory>target/images/</directory>
   560                                       <includes>
   561                                           <include>*.png</include>
   562                                       </includes>
   563                                       <skipPngCrush>true</skipPngCrush>
   564                                   </resource>
   565                               </resources>
   566                                <iosInfoPList>Info.plist.xml</iosInfoPList>
   567                           </config>
   568                           <includeJFX>false</includeJFX>
   569                           <iosSignIdentity>iPhone Distribution</iosSignIdentity>
   570                           <iosProvisioningProfile>9728E91B-1BB7-40D6-8922-3DD3BA5E6ECD</iosProvisioningProfile>                          
   571                       </configuration>
   572                   </plugin>
   573               </plugins>
   574           </build>
   575       </profile>      
   576       <profile>
   577           <id>nbrwsr</id>
   578           <dependencies>
   579               <dependency>
   580                   <groupId>org.netbeans.html</groupId>
   581                   <artifactId>nbrwsr</artifactId>
   582                   <version>${nb.html.version}</version>
   583                   <scope>compile</scope>
   584               </dependency>
   585           </dependencies>
   586           <build>
   587               <plugins>
   588                   <plugin>
   589                       <groupId>org.apache.maven.plugins</groupId>
   590                       <artifactId>maven-resources-plugin</artifactId>
   591                       <version>2.6</version>
   592                       <executions>
   593                           <execution>
   594                               <id>include-webpages</id>
   595                               <goals>
   596                                   <goal>copy-resources</goal>
   597                               </goals>
   598                               <phase>process-resources</phase>
   599                               <configuration>
   600                                   <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper</outputDirectory>
   601                                   <overwrite>true</overwrite>
   602                                   <resources>          
   603                                       <resource>
   604                                           <directory>src/main/webapp/pages</directory>
   605                                       </resource>
   606                                   </resources>              
   607                               </configuration>   
   608                           </execution>
   609                       </executions>
   610                   </plugin>
   611                   <plugin>
   612                       <groupId>org.codehaus.mojo</groupId>
   613                       <artifactId>nbm-maven-plugin</artifactId>
   614                       <version>3.13</version>
   615                       <extensions>true</extensions>
   616                       <executions>
   617                           <execution>
   618                               <id>default-manifest</id>
   619                               <phase>process-classes</phase>
   620                               <goals>
   621                                   <goal>manifest</goal>
   622                               </goals>
   623                               <configuration>
   624                                   <useOSGiDependencies>true</useOSGiDependencies>
   625                                   <brandingToken>html4j4nb</brandingToken>
   626                                   <cluster>extra</cluster>
   627                                   <verifyIntegrity>false</verifyIntegrity>
   628                               </configuration>
   629                           </execution>                       
   630                           <execution>
   631                               <id>default-nbm</id>
   632                               <phase>package</phase>
   633                               <goals>
   634                                   <goal>nbm</goal>
   635                               </goals>
   636                               <configuration>
   637                                   <useOSGiDependencies>true</useOSGiDependencies>
   638                                   <cluster>extra</cluster>
   639                                   <verifyIntegrity>false</verifyIntegrity>
   640                               </configuration>
   641                           </execution>
   642                       </executions>
   643                       <configuration>
   644                           <useOSGiDependencies>true</useOSGiDependencies>
   645                           <brandingToken>html4j4nb</brandingToken>
   646                           <cluster>html4j4nb</cluster>
   647                           <verifyIntegrity>false</verifyIntegrity>
   648                       </configuration>
   649                   </plugin>                      
   650 
   651                   <plugin>
   652                       <groupId>org.apache.maven.plugins</groupId>
   653                       <artifactId>maven-jar-plugin</artifactId>
   654                       <configuration>
   655                           <!-- to have the jar plugin pickup the nbm generated manifest -->
   656                           <useDefaultManifestFile>true</useDefaultManifestFile>
   657                       </configuration>
   658                   </plugin>
   659               </plugins>
   660           </build>
   661       </profile>      
   662   </profiles>  
   663 </project>