1.1 --- a/minesweeper/pom.xml Sun Mar 16 09:26:09 2014 +0100
1.2 +++ b/minesweeper/pom.xml Wed Mar 19 16:01:17 2014 +0100
1.3 @@ -74,6 +74,11 @@
1.4 </dependency>
1.5 <dependency>
1.6 <groupId>org.netbeans.html</groupId>
1.7 + <artifactId>net.java.html</artifactId>
1.8 + <version>${net.java.html.version}</version>
1.9 + </dependency>
1.10 + <dependency>
1.11 + <groupId>org.netbeans.html</groupId>
1.12 <artifactId>net.java.html.sound</artifactId>
1.13 <version>${net.java.html.version}</version>
1.14 </dependency>
1.15 @@ -295,5 +300,60 @@
1.16 </build>
1.17
1.18 </profile>
1.19 + <profile>
1.20 + <id>nbrwsr</id>
1.21 + <build>
1.22 + <plugins>
1.23 + <plugin>
1.24 + <groupId>org.codehaus.mojo</groupId>
1.25 + <artifactId>nbm-maven-plugin</artifactId>
1.26 + <version>3.13</version>
1.27 + <extensions>true</extensions>
1.28 + <executions>
1.29 + <execution>
1.30 + <id>default-manifest</id>
1.31 + <phase>process-classes</phase>
1.32 + <goals>
1.33 + <goal>manifest</goal>
1.34 + </goals>
1.35 + <configuration>
1.36 + <useOSGiDependencies>true</useOSGiDependencies>
1.37 + <brandingToken>html4j4nb</brandingToken>
1.38 + <cluster>html4j4nb</cluster>
1.39 + <verifyIntegrity>false</verifyIntegrity>
1.40 + </configuration>
1.41 + </execution>
1.42 + <execution>
1.43 + <id>default-nbm</id>
1.44 + <phase>package</phase>
1.45 + <goals>
1.46 + <goal>nbm</goal>
1.47 + </goals>
1.48 + <configuration>
1.49 + <useOSGiDependencies>true</useOSGiDependencies>
1.50 + <cluster>html4j4nb</cluster>
1.51 + <verifyIntegrity>false</verifyIntegrity>
1.52 + </configuration>
1.53 + </execution>
1.54 + </executions>
1.55 + <configuration>
1.56 + <useOSGiDependencies>true</useOSGiDependencies>
1.57 + <brandingToken>html4j4nb</brandingToken>
1.58 + <cluster>html4j4nb</cluster>
1.59 + <verifyIntegrity>false</verifyIntegrity>
1.60 + </configuration>
1.61 + </plugin>
1.62 +
1.63 + <plugin>
1.64 + <groupId>org.apache.maven.plugins</groupId>
1.65 + <artifactId>maven-jar-plugin</artifactId>
1.66 + <configuration>
1.67 + <!-- to have the jar plugin pickup the nbm generated manifest -->
1.68 + <useDefaultManifestFile>true</useDefaultManifestFile>
1.69 + </configuration>
1.70 + </plugin>
1.71 + </plugins>
1.72 + </build>
1.73 + </profile>
1.74 </profiles>
1.75 </project>