webidor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 15 Apr 2011 21:18:29 +0200
changeset 282 40fc213a7f43
parent 273 4748246035de
child 284 90be53f96e0c
child 288 61a4abd3f362
permissions -rw-r--r--
Using Grizzly
     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   <dependencies>
    17     <dependency>
    18       <groupId>junit</groupId>
    19       <artifactId>junit</artifactId>
    20       <version>4.5</version>
    21       <scope>test</scope>
    22     </dependency>
    23     <dependency>
    24       <groupId>com.sun.jersey</groupId>
    25       <artifactId>jersey-core</artifactId>
    26       <version>${jerseyVersion}</version>
    27     </dependency>
    28     <dependency>
    29       <groupId>com.sun.jersey</groupId>
    30       <artifactId>jersey-grizzly2</artifactId>
    31       <version>${jerseyVersion}</version>
    32     </dependency>
    33     <dependency>
    34       <groupId>com.sun.jersey</groupId>
    35       <artifactId>jersey-json</artifactId>
    36       <version>${jerseyVersion}</version>
    37       <type>jar</type>
    38       <exclusions>
    39         <exclusion>
    40           <artifactId>jaxb-api</artifactId>
    41           <groupId>javax.xml.bind</groupId>
    42         </exclusion>
    43         <exclusion>
    44           <artifactId>stax-api</artifactId>
    45           <groupId>stax</groupId>
    46         </exclusion>
    47       </exclusions>
    48     </dependency>
    49     <dependency>
    50       <groupId>com.sun.jersey.jersey-test-framework</groupId>
    51       <artifactId>jersey-test-framework-http</artifactId>
    52       <version>${jerseyVersion}</version>
    53       <scope>test</scope>
    54     </dependency>
    55     <dependency>
    56       <groupId>cz.xelfi.quoridor</groupId>
    57       <artifactId>quoridor</artifactId>
    58       <version>${quoridorVersion}</version>
    59       <type>jar</type>
    60     </dependency>
    61     <dependency>
    62       <groupId>${project.groupId}</groupId>
    63       <artifactId>wsdor</artifactId>
    64       <version>${wsdorVersion}</version>
    65     </dependency>
    66   </dependencies>
    67   <build>
    68     <plugins>
    69       <plugin>
    70         <groupId>org.apache.maven.plugins</groupId>
    71         <artifactId>maven-compiler-plugin</artifactId>
    72         <version>2.0.2</version>
    73         <configuration>
    74           <source>1.5</source>
    75           <target>1.5</target>
    76         </configuration>
    77       </plugin>
    78       <plugin>
    79         <groupId>org.codehaus.mojo</groupId>
    80         <artifactId>exec-maven-plugin</artifactId>
    81         <configuration>
    82             <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
    83         </configuration>
    84       </plugin>
    85       <plugin>
    86         <artifactId>maven-assembly-plugin</artifactId>
    87         <version>2.2-beta-2</version>
    88         <executions>
    89           <execution>
    90             <id>create-executable-jar</id>
    91             <phase>package</phase>
    92             <goals>
    93               <goal>single</goal>
    94             </goals>
    95             <configuration>
    96               <descriptors>
    97                 <descriptor>all-zip.xml</descriptor>
    98               </descriptors>
    99               <finalName>webidor-${version}</finalName>
   100             </configuration>
   101           </execution>
   102         </executions>
   103       </plugin>
   104       <plugin>
   105         <groupId>org.apache.maven.plugins</groupId>
   106         <artifactId>maven-jar-plugin</artifactId>
   107         <configuration>
   108             <archive>
   109                 <manifest>
   110                     <addClasspath>true</addClasspath>
   111                     <classpathPrefix>lib/</classpathPrefix>
   112                     <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
   113                 </manifest>
   114             </archive>
   115         </configuration>
   116       </plugin>
   117     </plugins>
   118   </build>
   119     <description>Server with REST API for playing, inspecting and managing Quoridor games.</description>
   120 </project>
   121 
   122 
   123