desktop/desktop-sample/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 11 Sep 2010 21:01:31 +0200
branchdesktop
changeset 257 03762a20a808
child 260 8ebffb5aa10e
permissions -rw-r--r--
First version with broken dependency in desktop/desktop-sample
     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         <!-- 
    54         <dependency> 
    55             <groupId>${project.groupId}</groupId> 
    56             <artifactId>quoridor</artifactId> 
    57             <version>${quoridorVersion}</version> 
    58         </dependency>--> 
    59         <dependency> 
    60             <groupId>${project.groupId}</groupId> 
    61             <artifactId>visidor</artifactId> 
    62             <version>${visidorVersion}</version> 
    63         </dependency> 
    64     </dependencies> 
    65     <build> 
    66         <plugins> 
    67             <plugin> 
    68                 <groupId>org.codehaus.mojo</groupId> 
    69                 <artifactId>nbm-maven-plugin</artifactId> 
    70                 <version>3.2</version> 
    71                 <extensions>true</extensions> 
    72                 <configuration> 
    73                     <useOSGiDependencies>true</useOSGiDependencies> 
    74                 </configuration> 
    75             </plugin> 
    76             <plugin> 
    77                 <groupId>org.apache.maven.plugins</groupId> 
    78                 <artifactId>maven-jar-plugin</artifactId> 
    79                 <version>2.2</version> 
    80                 <configuration> 
    81 <!-- to have the jar plugin pickup the nbm generated manifest --> 
    82                     <useDefaultManifestFile>true</useDefaultManifestFile> 
    83                 </configuration> 
    84             </plugin> 
    85         </plugins> 
    86     </build> 
    87 </project>