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