desktop/application/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 28 Sep 2010 22:07:05 +0200
branchdesktop
changeset 270 45b57eaafbb7
parent 260 8ebffb5aa10e
permissions -rw-r--r--
nbm-maven-plugin 3.3 has been released. Let's use it.
     1 
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     4     <parent>
     5         <groupId>cz.xelfi.quoridor</groupId>
     6         <artifactId>desktop</artifactId>
     7         <version>1.0-SNAPSHOT</version>
     8     </parent>
     9     <modelVersion>4.0.0</modelVersion>
    10     <packaging>nbm-application</packaging>
    11     <version>1.0-SNAPSHOT</version>
    12     <name>Quoridor Desktop</name>
    13     <dependencies>
    14         <dependency>
    15             <groupId>org.netbeans.cluster</groupId>
    16             <artifactId>platform</artifactId>
    17             <version>${netbeans.version}</version>
    18             <type>pom</type>
    19         </dependency>
    20       
    21         <dependency>
    22             <groupId>cz.xelfi.quoridor</groupId>
    23             <artifactId>desktop.branding</artifactId>
    24             <version>1.0-SNAPSHOT</version>
    25         </dependency>
    26         <dependency>
    27             <groupId>cz.xelfi.quoridor</groupId>
    28             <artifactId>desktop-sample</artifactId>
    29             <version>1.0-SNAPSHOT</version>
    30         </dependency>
    31         <dependency>
    32             <groupId>${project.groupId}</groupId>
    33             <artifactId>visidor</artifactId>
    34             <version>${visidorVersion}</version>
    35         </dependency>
    36     </dependencies>
    37     <build>
    38         <plugins>
    39             <plugin>
    40                 <groupId>org.codehaus.mojo</groupId>
    41                 <artifactId>nbm-maven-plugin</artifactId>
    42                 <version>3.3</version>
    43             </plugin>
    44         </plugins>
    45     </build>
    46 
    47     <profiles>
    48         <profile>
    49             <id>deployment</id>
    50             <build>
    51                 <plugins>
    52                     <plugin>
    53                         <groupId>org.codehaus.mojo</groupId>
    54                         <artifactId>nbm-maven-plugin</artifactId>
    55                         <executions>
    56                             <execution>
    57                                 <id>updatesite</id>
    58                                 <phase>package</phase>
    59                                 <goals>
    60                                     <goal>autoupdate</goal>
    61                                 </goals>
    62                                 <configuration>
    63                             <!--distBase>central::default::http://repo1.maven.org/maven2</distBase-->
    64                                 </configuration>
    65                             </execution>
    66                             <execution>
    67                                 <id>webstart</id>
    68                                 <phase>package</phase>
    69                                 <goals>
    70                                     <goal>webstart-app</goal>
    71                                 </goals>
    72                                 <configuration>
    73                                     <codebase>${project.build.directory}/webstart/${brandingToken}</codebase>
    74                                 </configuration>
    75                             </execution>
    76                         </executions>
    77                     </plugin>
    78                 </plugins>
    79             </build>
    80         </profile>
    81     </profiles>
    82     <artifactId>qdor</artifactId>
    83 </project>