webidor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 11 Sep 2010 17:04:51 +0200
changeset 256 1758a7727278
parent 231 a849ce530828
child 258 935118a5831a
permissions -rw-r--r--
Splitting classes representing data types on the server into own module
     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>${webidorVersion}</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>${quoridorVersion}</version>
    74       <type>jar</type>
    75     </dependency>
    76     <dependency>
    77       <groupId>${project.groupId}</groupId>
    78       <artifactId>wsdor</artifactId>
    79       <version>1.0</version>
    80     </dependency>
    81   </dependencies>
    82   <build>
    83     <plugins>
    84       <plugin>
    85         <groupId>org.apache.maven.plugins</groupId>
    86         <artifactId>maven-compiler-plugin</artifactId>
    87         <version>2.0.2</version>
    88         <configuration>
    89           <source>1.5</source>
    90           <target>1.5</target>
    91         </configuration>
    92       </plugin>
    93       <plugin>
    94         <groupId>org.codehaus.mojo</groupId>
    95         <artifactId>exec-maven-plugin</artifactId>
    96         <configuration>
    97             <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
    98         </configuration>
    99       </plugin>
   100       <plugin>
   101         <artifactId>maven-assembly-plugin</artifactId>
   102         <version>2.2-beta-2</version>
   103         <executions>
   104           <execution>
   105             <id>create-executable-jar</id>
   106             <phase>package</phase>
   107             <goals>
   108               <goal>single</goal>
   109             </goals>
   110             <configuration>
   111               <descriptors>
   112                 <descriptor>all-zip.xml</descriptor>
   113               </descriptors>
   114               <finalName>webidor-${version}</finalName>
   115             </configuration>
   116           </execution>
   117         </executions>
   118       </plugin>
   119       <plugin>
   120         <groupId>org.apache.maven.plugins</groupId>
   121         <artifactId>maven-jar-plugin</artifactId>
   122         <configuration>
   123             <archive>
   124                 <manifest>
   125                     <addClasspath>true</addClasspath>
   126                     <classpathPrefix>lib/</classpathPrefix>
   127                     <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
   128                 </manifest>
   129             </archive>
   130         </configuration>
   131       </plugin>
   132     </plugins>
   133   </build>
   134     <description>Server with REST API for playing, inspecting and managing Quoridor games.</description>
   135 </project>
   136 
   137 
   138