webidor/pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 18 Feb 2010 06:53:35 +0100
changeset 230 a80ccd2a4517
parent 189 6245e1b634aa
child 231 a849ce530828
permissions -rw-r--r--
Let's inherit groupId
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" 
     3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     5   <modelVersion>4.0.0</modelVersion>
     6   <parent>
     7         <artifactId>all-quoridor</artifactId>
     8         <groupId>cz.xelfi.quoridor</groupId>
     9         <version>1.0</version>
    10   </parent>
    11   <artifactId>webidor</artifactId>
    12   <packaging>jar</packaging>
    13   <version>1.13</version>
    14   <name>webidor server</name>
    15   <url>http://maven.apache.org</url>
    16   <repositories>
    17     <repository>
    18         <id>maven2-repository.dev.java.net</id>
    19         <name>Java.net Repository for Maven</name>
    20         <url>http://download.java.net/maven/2/</url>
    21         <layout>default</layout>
    22     </repository>
    23     <repository>
    24         <id>maven-repository.dev.java.net</id>
    25         <name>Java.net Maven 1 Repository (legacy)</name>
    26         <url>http://download.java.net/maven/1</url>
    27         <layout>legacy</layout>
    28     </repository>
    29   </repositories>
    30   <dependencies>
    31 
    32     <dependency>
    33       <groupId>junit</groupId>
    34       <artifactId>junit</artifactId>
    35       <version>4.5</version>
    36       <scope>test</scope>
    37     </dependency>
    38     <dependency>
    39       <groupId>com.sun.jersey</groupId>
    40       <artifactId>jersey-core</artifactId>
    41       <version>1.1.0-ea</version>
    42     </dependency>
    43     <dependency>
    44       <groupId>com.sun.jersey</groupId>
    45       <artifactId>jersey-server</artifactId>
    46       <version>1.1.0-ea</version>
    47     </dependency>
    48     <dependency>
    49       <groupId>com.sun.jersey</groupId>
    50       <artifactId>jersey-json</artifactId>
    51       <version>1.1.0-ea</version>
    52       <type>jar</type>
    53       <exclusions>
    54         <exclusion>
    55           <artifactId>jaxb-api</artifactId>
    56           <groupId>javax.xml.bind</groupId>
    57         </exclusion>
    58         <exclusion>
    59           <artifactId>stax-api</artifactId>
    60           <groupId>stax</groupId>
    61         </exclusion>
    62       </exclusions>
    63     </dependency>
    64     <dependency>
    65       <groupId>com.sun.jersey.test.framework</groupId>
    66       <artifactId>jersey-test-framework</artifactId>
    67       <version>1.1.0-ea</version>
    68       <scope>test</scope>
    69     </dependency>
    70     <dependency>
    71       <groupId>cz.xelfi.quoridor</groupId>
    72       <artifactId>quoridor</artifactId>
    73       <version>1.0</version>
    74       <type>jar</type>
    75     </dependency>
    76   </dependencies>
    77   <build>
    78     <plugins>
    79       <plugin>
    80         <groupId>org.apache.maven.plugins</groupId>
    81         <artifactId>maven-compiler-plugin</artifactId>
    82         <version>2.0.2</version>
    83         <configuration>
    84           <source>1.5</source>
    85           <target>1.5</target>
    86         </configuration>
    87       </plugin>
    88       <plugin>
    89         <groupId>org.codehaus.mojo</groupId>
    90         <artifactId>exec-maven-plugin</artifactId>
    91         <configuration>
    92             <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
    93         </configuration>
    94       </plugin>
    95       <plugin>
    96         <artifactId>maven-assembly-plugin</artifactId>
    97         <version>2.2-beta-2</version>
    98         <executions>
    99           <execution>
   100             <id>create-executable-jar</id>
   101             <phase>package</phase>
   102             <goals>
   103               <goal>single</goal>
   104             </goals>
   105             <configuration>
   106               <descriptors>
   107                 <descriptor>all-zip.xml</descriptor>
   108               </descriptors>
   109               <finalName>webidor-${version}</finalName>
   110             </configuration>
   111           </execution>
   112         </executions>
   113       </plugin>
   114       <plugin>
   115         <groupId>org.apache.maven.plugins</groupId>
   116         <artifactId>maven-jar-plugin</artifactId>
   117         <configuration>
   118             <archive>
   119                 <manifest>
   120                     <addClasspath>true</addClasspath>
   121                     <classpathPrefix>lib/</classpathPrefix>
   122                     <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
   123                 </manifest>
   124             </archive>
   125         </configuration>
   126       </plugin>
   127     </plugins>
   128   </build>
   129     <description>Server with REST API for playing, inspecting and managing Quoridor games.</description>
   130 </project>
   131 
   132 
   133