statistics/pom.xml
author Martin Rexa <martin.rexa@centrum.cz>
Mon, 18 Jan 2010 10:29:14 +0100
changeset 221 2d54f52b82f0
parent 214 41a5209bc02d
child 223 7416b11ad09f
permissions -rw-r--r--
New version
     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   <groupId>cz.xelfi.quoridor</groupId>
    12   <artifactId>statistics</artifactId>
    13   <packaging>jar</packaging>
    14   <version>1.6</version>
    15   <name>Game Statistics</name>
    16   <url>http://maven.apache.org</url>
    17   <repositories>
    18     <repository>
    19         <id>maven2-repository.dev.java.net</id>
    20         <name>Java.net Repository for Maven</name>
    21         <url>http://download.java.net/maven/2/</url>
    22         <layout>default</layout>
    23     </repository>
    24     <repository>
    25         <id>maven-repository.dev.java.net</id>
    26         <name>Java.net Maven 1 Repository (legacy)</name>
    27         <url>http://download.java.net/maven/1</url>
    28         <layout>legacy</layout>
    29     </repository>
    30   </repositories>
    31   <dependencies>
    32 
    33     <dependency>
    34       <groupId>junit</groupId>
    35       <artifactId>junit</artifactId>
    36       <version>4.5</version>
    37       <scope>test</scope>
    38     </dependency>
    39     <dependency>
    40       <groupId>com.sun.jersey</groupId>
    41       <artifactId>jersey-core</artifactId>
    42       <version>1.1.0-ea</version>
    43     </dependency>
    44     <dependency>
    45       <groupId>com.sun.jersey</groupId>
    46       <artifactId>jersey-server</artifactId>
    47       <version>1.1.0-ea</version>
    48     </dependency>
    49     <dependency>
    50       <groupId>com.sun.jersey</groupId>
    51       <artifactId>jersey-json</artifactId>
    52       <version>1.1.0-ea</version>
    53       <type>jar</type>
    54       <exclusions>
    55         <exclusion>
    56           <artifactId>jaxb-api</artifactId>
    57           <groupId>javax.xml.bind</groupId>
    58         </exclusion>
    59         <exclusion>
    60           <artifactId>stax-api</artifactId>
    61           <groupId>stax</groupId>
    62         </exclusion>
    63       </exclusions>
    64     </dependency>
    65     <dependency>
    66       <groupId>com.sun.jersey.test.framework</groupId>
    67       <artifactId>jersey-test-framework</artifactId>
    68       <version>1.1.0-ea</version>
    69       <scope>test</scope>
    70     </dependency>
    71     <dependency>
    72       <groupId>cz.xelfi.quoridor</groupId>
    73       <artifactId>quoridor</artifactId>
    74       <version>1.0</version>
    75       <type>jar</type>
    76     </dependency>
    77     <dependency>
    78       <groupId>${project.groupId}</groupId>
    79       <artifactId>webidor</artifactId>
    80       <version>1.12</version>
    81     </dependency>
    82   </dependencies>
    83   <build>
    84     <plugins>
    85       <plugin>
    86         <groupId>org.apache.maven.plugins</groupId>
    87         <artifactId>maven-compiler-plugin</artifactId>
    88         <version>2.0.2</version>
    89         <configuration>
    90           <source>1.6</source>
    91           <target>1.6</target>
    92         </configuration>
    93       </plugin>
    94       <plugin>
    95         <groupId>org.codehaus.mojo</groupId>
    96         <artifactId>exec-maven-plugin</artifactId>
    97         <configuration>
    98             <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
    99         </configuration>
   100       </plugin>
   101       <plugin>
   102         <artifactId>maven-assembly-plugin</artifactId>
   103         <version>2.2-beta-2</version>
   104         <executions>
   105           <execution>
   106             <id>create-executable-jar</id>
   107             <phase>package</phase>
   108             <goals>
   109               <goal>single</goal>
   110             </goals>
   111             <configuration>
   112               <descriptors>
   113                 <descriptor>all-zip.xml</descriptor>
   114               </descriptors>
   115               <finalName>statistics-${version}</finalName>
   116             </configuration>
   117           </execution>
   118         </executions>
   119       </plugin>
   120       <plugin>
   121         <groupId>org.apache.maven.plugins</groupId>
   122         <artifactId>maven-jar-plugin</artifactId>
   123         <configuration>
   124             <archive>
   125                 <manifest>
   126                     <addClasspath>true</addClasspath>
   127                     <classpathPrefix>lib/</classpathPrefix>
   128                     <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
   129                 </manifest>
   130             </archive>
   131         </configuration>
   132       </plugin>
   133     </plugins>
   134   </build>
   135     <description>Server with API for games statistics</description>
   136 </project>
   137 
   138 
   139 
   140 
   141