desktop/desktop-sample/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 28 Sep 2010 22:07:05 +0200
branchdesktop
changeset 270 45b57eaafbb7
parent 263 ac802aa234fc
permissions -rw-r--r--
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> 
     4     <parent> 
     5         <artifactId>desktop</artifactId> 
     6         <groupId>cz.xelfi.quoridor</groupId> 
     7         <version>1.0-SNAPSHOT</version> 
     8     </parent> 
     9     <artifactId>desktop-sample</artifactId> 
    10     <packaging>nbm</packaging> 
    11     <version>1.0-SNAPSHOT</version> 
    12     <name>desktop-sample NetBeans Module</name> 
    13  
    14     <repositories> 
    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. 
    18 --> 
    19         <repository> 
    20             <url>http://download.java.net/maven/2/</url> 
    21             <id>restapi</id> 
    22             <layout>default</layout> 
    23             <name>Repository for library Library[restapi]</name> 
    24         </repository> 
    25     </repositories> 
    26  
    27     <dependencies> 
    28         <dependency> 
    29             <groupId>org.netbeans.api</groupId> 
    30             <artifactId>org-openide-util</artifactId> 
    31             <version>RELEASE691</version> 
    32         </dependency> 
    33         <dependency> 
    34             <groupId>org.netbeans.api</groupId> 
    35             <artifactId>org-openide-awt</artifactId> 
    36             <version>RELEASE691</version> 
    37         </dependency> 
    38         <dependency> 
    39             <groupId>org.netbeans.api</groupId> 
    40             <artifactId>org-openide-windows</artifactId> 
    41             <version>RELEASE691</version> 
    42         </dependency> 
    43         <dependency> 
    44             <groupId>org.netbeans.api</groupId> 
    45             <artifactId>org-openide-util-lookup</artifactId> 
    46             <version>RELEASE691</version> 
    47         </dependency> 
    48         <dependency> 
    49             <groupId>org.netbeans.api</groupId> 
    50             <artifactId>org-netbeans-modules-settings</artifactId> 
    51             <version>RELEASE691</version> 
    52         </dependency> 
    53         <dependency> 
    54             <groupId>${project.groupId}</groupId> 
    55             <artifactId>quoridor</artifactId>
    56             <version>${quoridorVersion}</version>
    57         </dependency>
    58         <dependency>
    59             <groupId>${project.groupId}</groupId>
    60             <artifactId>visidor</artifactId> 
    61             <version>${visidorVersion}</version> 
    62         </dependency> 
    63         <dependency>
    64             <groupId>cz.xelfi.quoridor</groupId>
    65             <artifactId>wsdor</artifactId>
    66             <version>${wsdorVersion}</version>
    67         </dependency>
    68         <!-- jersey -->
    69         <dependency>
    70           <groupId>com.sun.jersey</groupId>
    71           <artifactId>jersey-client</artifactId>
    72           <version>${jerseyVersion}</version>
    73         </dependency>
    74         <dependency>
    75           <groupId>com.sun.jersey</groupId>
    76           <artifactId>jersey-core</artifactId>
    77           <version>${jerseyVersion}</version>
    78         </dependency>
    79         <dependency>
    80           <groupId>com.sun.jersey</groupId>
    81           <artifactId>jersey-json</artifactId>
    82           <version>${jerseyVersion}</version>
    83         </dependency>
    84         <dependency>
    85             <groupId>javax.ws.rs</groupId>
    86             <artifactId>jsr311-api</artifactId>
    87             <type>jar</type>
    88             <version>1.1.1</version>
    89         </dependency>
    90         <dependency>
    91           <groupId>com.sun.xml.bind</groupId>
    92           <artifactId>jaxb-impl</artifactId>
    93           <version>2.2.1.1</version>
    94         </dependency>
    95         <dependency>
    96           <groupId>org.codehaus.jettison</groupId>
    97           <artifactId>jettison</artifactId>
    98           <version>1.2</version>
    99         </dependency>
   100         <dependency>
   101             <groupId>org.netbeans.api</groupId>
   102             <artifactId>org-openide-dialogs</artifactId>
   103             <version>RELEASE691</version>
   104         </dependency>
   105     </dependencies>
   106     <build> 
   107         <plugins> 
   108             <plugin> 
   109                 <groupId>org.codehaus.mojo</groupId> 
   110                 <artifactId>nbm-maven-plugin</artifactId> 
   111                 <version>3.3</version>
   112                 <extensions>true</extensions> 
   113                 <configuration> 
   114                     <useOSGiDependencies>true</useOSGiDependencies> 
   115                 </configuration> 
   116             </plugin> 
   117             <plugin> 
   118                 <groupId>org.apache.maven.plugins</groupId> 
   119                 <artifactId>maven-jar-plugin</artifactId> 
   120                 <version>2.2</version> 
   121                 <configuration> 
   122 <!-- to have the jar plugin pickup the nbm generated manifest --> 
   123                     <useDefaultManifestFile>true</useDefaultManifestFile> 
   124                 </configuration> 
   125             </plugin> 
   126         </plugins> 
   127     </build> 
   128 </project>