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