statistics/pom.xml
branchstatistics-and-elo
changeset 178 4b78d4f028b3
child 183 c5b02e84ea84
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/statistics/pom.xml	Thu Jan 07 22:34:17 2010 +0100
     1.3 @@ -0,0 +1,141 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" 
     1.6 +         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.7 +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     1.8 +  <modelVersion>4.0.0</modelVersion>
     1.9 +  <parent>
    1.10 +        <artifactId>all-quoridor</artifactId>
    1.11 +        <groupId>org.apidesign</groupId>
    1.12 +        <version>1.0</version>
    1.13 +  </parent>
    1.14 +  <groupId>org.apidesign</groupId>
    1.15 +  <artifactId>statistics</artifactId>
    1.16 +  <packaging>jar</packaging>
    1.17 +  <version>1.0</version>
    1.18 +  <name>Game Statistics</name>
    1.19 +  <url>http://maven.apache.org</url>
    1.20 +  <repositories>
    1.21 +    <repository>
    1.22 +        <id>maven2-repository.dev.java.net</id>
    1.23 +        <name>Java.net Repository for Maven</name>
    1.24 +        <url>http://download.java.net/maven/2/</url>
    1.25 +        <layout>default</layout>
    1.26 +    </repository>
    1.27 +    <repository>
    1.28 +        <id>maven-repository.dev.java.net</id>
    1.29 +        <name>Java.net Maven 1 Repository (legacy)</name>
    1.30 +        <url>http://download.java.net/maven/1</url>
    1.31 +        <layout>legacy</layout>
    1.32 +    </repository>
    1.33 +  </repositories>
    1.34 +  <dependencies>
    1.35 +
    1.36 +    <dependency>
    1.37 +      <groupId>junit</groupId>
    1.38 +      <artifactId>junit</artifactId>
    1.39 +      <version>4.5</version>
    1.40 +      <scope>test</scope>
    1.41 +    </dependency>
    1.42 +    <dependency>
    1.43 +      <groupId>com.sun.jersey</groupId>
    1.44 +      <artifactId>jersey-core</artifactId>
    1.45 +      <version>1.1.0-ea</version>
    1.46 +    </dependency>
    1.47 +    <dependency>
    1.48 +      <groupId>com.sun.jersey</groupId>
    1.49 +      <artifactId>jersey-server</artifactId>
    1.50 +      <version>1.1.0-ea</version>
    1.51 +    </dependency>
    1.52 +    <dependency>
    1.53 +      <groupId>com.sun.jersey</groupId>
    1.54 +      <artifactId>jersey-json</artifactId>
    1.55 +      <version>1.1.0-ea</version>
    1.56 +      <type>jar</type>
    1.57 +      <exclusions>
    1.58 +        <exclusion>
    1.59 +          <artifactId>jaxb-api</artifactId>
    1.60 +          <groupId>javax.xml.bind</groupId>
    1.61 +        </exclusion>
    1.62 +        <exclusion>
    1.63 +          <artifactId>stax-api</artifactId>
    1.64 +          <groupId>stax</groupId>
    1.65 +        </exclusion>
    1.66 +      </exclusions>
    1.67 +    </dependency>
    1.68 +    <dependency>
    1.69 +      <groupId>com.sun.jersey.test.framework</groupId>
    1.70 +      <artifactId>jersey-test-framework</artifactId>
    1.71 +      <version>1.1.0-ea</version>
    1.72 +      <scope>test</scope>
    1.73 +    </dependency>
    1.74 +    <dependency>
    1.75 +      <groupId>org.apidesign</groupId>
    1.76 +      <artifactId>quoridor</artifactId>
    1.77 +      <version>1.0</version>
    1.78 +      <type>jar</type>
    1.79 +    </dependency>
    1.80 +    <dependency>
    1.81 +      <groupId>${project.groupId}</groupId>
    1.82 +      <artifactId>webidor</artifactId>
    1.83 +      <version>1.11</version>
    1.84 +    </dependency>
    1.85 +  </dependencies>
    1.86 +  <build>
    1.87 +    <plugins>
    1.88 +      <plugin>
    1.89 +        <groupId>org.apache.maven.plugins</groupId>
    1.90 +        <artifactId>maven-compiler-plugin</artifactId>
    1.91 +        <version>2.0.2</version>
    1.92 +        <configuration>
    1.93 +          <source>1.6</source>
    1.94 +          <target>1.6</target>
    1.95 +        </configuration>
    1.96 +      </plugin>
    1.97 +      <plugin>
    1.98 +        <groupId>org.codehaus.mojo</groupId>
    1.99 +        <artifactId>exec-maven-plugin</artifactId>
   1.100 +        <configuration>
   1.101 +            <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
   1.102 +        </configuration>
   1.103 +      </plugin>
   1.104 +      <plugin>
   1.105 +        <artifactId>maven-assembly-plugin</artifactId>
   1.106 +        <version>2.2-beta-2</version>
   1.107 +        <executions>
   1.108 +          <execution>
   1.109 +            <id>create-executable-jar</id>
   1.110 +            <phase>package</phase>
   1.111 +            <goals>
   1.112 +              <goal>single</goal>
   1.113 +            </goals>
   1.114 +            <configuration>
   1.115 +              <descriptors>
   1.116 +                <descriptor>all-zip.xml</descriptor>
   1.117 +              </descriptors>
   1.118 +              <finalName>statistics-${version}</finalName>
   1.119 +            </configuration>
   1.120 +          </execution>
   1.121 +        </executions>
   1.122 +      </plugin>
   1.123 +      <plugin>
   1.124 +        <groupId>org.apache.maven.plugins</groupId>
   1.125 +        <artifactId>maven-jar-plugin</artifactId>
   1.126 +        <configuration>
   1.127 +            <archive>
   1.128 +                <manifest>
   1.129 +                    <addClasspath>true</addClasspath>
   1.130 +                    <classpathPrefix>lib/</classpathPrefix>
   1.131 +                    <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
   1.132 +                </manifest>
   1.133 +            </archive>
   1.134 +        </configuration>
   1.135 +      </plugin>
   1.136 +    </plugins>
   1.137 +  </build>
   1.138 +    <description>Server with API for games statistics</description>
   1.139 +</project>
   1.140 +
   1.141 +
   1.142 +
   1.143 +
   1.144 +