desktop/application/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 
     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             </plugin>
    43         </plugins>
    44     </build>
    45 
    46     <profiles>
    47         <profile>
    48             <id>deployment</id>
    49             <build>
    50                 <plugins>
    51                     <plugin>
    52                         <groupId>org.codehaus.mojo</groupId>
    53                         <artifactId>nbm-maven-plugin</artifactId>
    54                         <executions>
    55                             <execution>
    56                                 <id>updatesite</id>
    57                                 <phase>package</phase>
    58                                 <goals>
    59                                     <goal>autoupdate</goal>
    60                                 </goals>
    61                                 <configuration>
    62                             <!--distBase>central::default::http://repo1.maven.org/maven2</distBase-->
    63                                 </configuration>
    64                             </execution>
    65                             <execution>
    66                                 <id>webstart</id>
    67                                 <phase>package</phase>
    68                                 <goals>
    69                                     <goal>webstart-app</goal>
    70                                 </goals>
    71                                 <configuration>
    72                                     <codebase>${project.build.directory}/webstart/${brandingToken}</codebase>
    73                                 </configuration>
    74                             </execution>
    75                         </executions>
    76                     </plugin>
    77                 </plugins>
    78             </build>
    79         </profile>
    80     </profiles>
    81     <artifactId>qdor</artifactId>
    82 </project>