nbm-maven-plugin 3.3 has been released. Let's use it.
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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>desktop</artifactId>
6 <groupId>cz.xelfi.quoridor</groupId>
7 <version>1.0-SNAPSHOT</version>
9 <artifactId>desktop-sample</artifactId>
10 <packaging>nbm</packaging>
11 <version>1.0-SNAPSHOT</version>
12 <name>desktop-sample NetBeans Module</name>
15 <!-- this is a remote repository hosting the netbeans api artifacts.
16 the versions of the artifacts are netbeans IDE release based, eg. RELEASE65.
17 You might want to use your own repository. To create one, use the nbm:populate-repository goal.
20 <url>http://download.java.net/maven/2/</url>
22 <layout>default</layout>
23 <name>Repository for library Library[restapi]</name>
29 <groupId>org.netbeans.api</groupId>
30 <artifactId>org-openide-util</artifactId>
31 <version>RELEASE691</version>
34 <groupId>org.netbeans.api</groupId>
35 <artifactId>org-openide-awt</artifactId>
36 <version>RELEASE691</version>
39 <groupId>org.netbeans.api</groupId>
40 <artifactId>org-openide-windows</artifactId>
41 <version>RELEASE691</version>
44 <groupId>org.netbeans.api</groupId>
45 <artifactId>org-openide-util-lookup</artifactId>
46 <version>RELEASE691</version>
49 <groupId>org.netbeans.api</groupId>
50 <artifactId>org-netbeans-modules-settings</artifactId>
51 <version>RELEASE691</version>
54 <groupId>${project.groupId}</groupId>
55 <artifactId>quoridor</artifactId>
56 <version>${quoridorVersion}</version>
59 <groupId>${project.groupId}</groupId>
60 <artifactId>visidor</artifactId>
61 <version>${visidorVersion}</version>
64 <groupId>cz.xelfi.quoridor</groupId>
65 <artifactId>wsdor</artifactId>
66 <version>${wsdorVersion}</version>
70 <groupId>com.sun.jersey</groupId>
71 <artifactId>jersey-client</artifactId>
72 <version>${jerseyVersion}</version>
75 <groupId>com.sun.jersey</groupId>
76 <artifactId>jersey-core</artifactId>
77 <version>${jerseyVersion}</version>
80 <groupId>com.sun.jersey</groupId>
81 <artifactId>jersey-json</artifactId>
82 <version>${jerseyVersion}</version>
85 <groupId>javax.ws.rs</groupId>
86 <artifactId>jsr311-api</artifactId>
88 <version>1.1.1</version>
91 <groupId>com.sun.xml.bind</groupId>
92 <artifactId>jaxb-impl</artifactId>
93 <version>2.2.1.1</version>
96 <groupId>org.codehaus.jettison</groupId>
97 <artifactId>jettison</artifactId>
98 <version>1.2</version>
101 <groupId>org.netbeans.api</groupId>
102 <artifactId>org-openide-dialogs</artifactId>
103 <version>RELEASE691</version>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>nbm-maven-plugin</artifactId>
111 <version>3.3</version>
112 <extensions>true</extensions>
114 <useOSGiDependencies>true</useOSGiDependencies>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-jar-plugin</artifactId>
120 <version>2.2</version>
122 <!-- to have the jar plugin pickup the nbm generated manifest -->
123 <useDefaultManifestFile>true</useDefaultManifestFile>