desktop/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 28 Sep 2010 22:07:05 +0200
branchdesktop
changeset 270 45b57eaafbb7
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>all-quoridor</artifactId>
     6         <groupId>cz.xelfi.quoridor</groupId>
     7         <version>1.0</version>
     8     </parent>
     9     <groupId>cz.xelfi.quoridor</groupId>
    10     <artifactId>desktop</artifactId>
    11     <packaging>pom</packaging>
    12     <version>1.0-SNAPSHOT</version>
    13     <name>Quoridor Desktop Master</name>
    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             <id>netbeans</id>
    21             <name>repository hosting netbeans.org api artifacts</name>
    22             <url>http://bits.netbeans.org/maven2</url>
    23         </repository>
    24         <repository>
    25             <id>netbeans.snapshot</id>
    26             <name>repository hosting netbeans.org api snapshot artifacts</name>
    27             <url>http://bits.netbeans.org/netbeans/trunk/maven-snapshot</url>
    28             <releases>
    29                 <enabled>false</enabled>
    30             </releases>
    31         </repository>
    32     </repositories>
    33 
    34     <dependencies>
    35         <dependency>
    36             <groupId>junit</groupId>
    37             <artifactId>junit</artifactId>
    38             <version>4.7</version>
    39             <scope>test</scope>
    40         </dependency>
    41     </dependencies>
    42     <build>
    43         <pluginManagement>
    44             <plugins>
    45                 <plugin>
    46                     <groupId>org.codehaus.mojo</groupId>
    47                     <artifactId>nbm-maven-plugin</artifactId>
    48                     <version>3.2</version>
    49                     <extensions>true</extensions>
    50                     <configuration>
    51                         <brandingToken>${brandingToken}</brandingToken>
    52                         <cluster>foobar</cluster>
    53                         <useOSGiDependencies>true</useOSGiDependencies>
    54                     </configuration>
    55                 </plugin>
    56                 
    57                 <plugin>
    58                     <!-- netbeans modules in 6.9+ are 1.6 compatible -->
    59                     <groupId>org.apache.maven.plugins</groupId>
    60                     <artifactId>maven-compiler-plugin</artifactId>
    61                     <version>2.2</version>
    62                     <configuration>
    63                         <source>1.6</source>
    64                         <target>1.6</target>
    65                     </configuration>
    66                 </plugin>
    67             </plugins>
    68         </pluginManagement>
    69     </build>
    70     <modules>
    71         <module>branding</module>
    72         <module>application</module>
    73     <module>desktop-sample</module>
    74   </modules>
    75     <properties>
    76         <netbeans.version>RELEASE691</netbeans.version>
    77         <brandingToken>qdor</brandingToken>
    78     </properties>
    79 </project>