webidor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 11 Oct 2009 19:32:48 +0200
changeset 123 4529cb22ff7d
parent 122 e0ecef0c421b
child 125 4e21f47580b4
permissions -rw-r--r--
Support for --kill mode in the webidor.jar
jtulach@27
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@27
     2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
jtulach@27
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@27
     4
  <parent>
jtulach@27
     5
        <artifactId>all-quoridor</artifactId>
jtulach@27
     6
        <groupId>org.apidesign</groupId>
jtulach@27
     7
        <version>1.0</version>
jaroslav@121
     8
  </parent>
jtulach@27
     9
  <groupId>org.apidesign</groupId>
jtulach@27
    10
  <artifactId>webidor</artifactId>
jtulach@35
    11
  <packaging>jar</packaging>
jaroslav@123
    12
  <version>1.6</version>
jtulach@35
    13
  <name>webidor server</name>
jtulach@27
    14
  <url>http://maven.apache.org</url>
jtulach@35
    15
  <repositories>
jtulach@35
    16
    <repository>
jtulach@35
    17
        <id>maven2-repository.dev.java.net</id>
jtulach@35
    18
        <name>Java.net Repository for Maven</name>
jtulach@35
    19
        <url>http://download.java.net/maven/2/</url>
jtulach@35
    20
        <layout>default</layout>
jtulach@35
    21
    </repository>
jtulach@35
    22
    <repository>
jtulach@35
    23
        <id>maven-repository.dev.java.net</id>
jtulach@35
    24
        <name>Java.net Maven 1 Repository (legacy)</name>
jtulach@35
    25
        <url>http://download.java.net/maven/1</url>
jtulach@35
    26
        <layout>legacy</layout>
jtulach@35
    27
    </repository>
jtulach@35
    28
  </repositories>
jtulach@27
    29
  <dependencies>
jtulach@27
    30
jtulach@27
    31
    <dependency>
jtulach@27
    32
      <groupId>junit</groupId>
jtulach@27
    33
      <artifactId>junit</artifactId>
jtulach@35
    34
      <version>4.5</version>
jtulach@27
    35
      <scope>test</scope>
jtulach@27
    36
    </dependency>
jtulach@27
    37
    <dependency>
jtulach@35
    38
      <groupId>com.sun.jersey</groupId>
jtulach@35
    39
      <artifactId>jersey-core</artifactId>
jtulach@35
    40
      <version>1.1.0-ea</version>
jtulach@27
    41
    </dependency>
jtulach@27
    42
    <dependency>
jtulach@35
    43
      <groupId>com.sun.jersey</groupId>
jtulach@35
    44
      <artifactId>jersey-server</artifactId>
jtulach@35
    45
      <version>1.1.0-ea</version>
jtulach@27
    46
    </dependency>
jtulach@27
    47
    <dependency>
jtulach@35
    48
      <groupId>com.sun.jersey</groupId>
jtulach@35
    49
      <artifactId>jersey-json</artifactId>
jtulach@35
    50
      <version>1.1.0-ea</version>
jtulach@35
    51
      <type>jar</type>
jaroslav@64
    52
      <exclusions>
jaroslav@64
    53
        <exclusion>
jaroslav@64
    54
          <artifactId>jaxb-api</artifactId>
jaroslav@64
    55
          <groupId>javax.xml.bind</groupId>
jaroslav@64
    56
        </exclusion>
jaroslav@64
    57
        <exclusion>
jaroslav@64
    58
          <artifactId>stax-api</artifactId>
jaroslav@64
    59
          <groupId>stax</groupId>
jaroslav@64
    60
        </exclusion>
jaroslav@64
    61
      </exclusions>
jtulach@35
    62
    </dependency>
jtulach@35
    63
    <dependency>
jtulach@35
    64
      <groupId>com.sun.jersey.test.framework</groupId>
jtulach@35
    65
      <artifactId>jersey-test-framework</artifactId>
jtulach@35
    66
      <version>1.1.0-ea</version>
jtulach@35
    67
      <scope>test</scope>
jtulach@35
    68
    </dependency>
jtulach@35
    69
    <dependency>
jtulach@35
    70
      <groupId>org.apidesign</groupId>
jtulach@35
    71
      <artifactId>quoridor</artifactId>
jtulach@35
    72
      <version>1.0</version>
jtulach@35
    73
      <type>jar</type>
jtulach@27
    74
    </dependency>
jtulach@27
    75
  </dependencies>
jtulach@27
    76
  <build>
jtulach@27
    77
    <plugins>
jtulach@27
    78
      <plugin>
jtulach@27
    79
        <groupId>org.apache.maven.plugins</groupId>
jtulach@27
    80
        <artifactId>maven-compiler-plugin</artifactId>
jtulach@27
    81
        <version>2.0.2</version>
jtulach@27
    82
        <configuration>
jtulach@27
    83
          <source>1.5</source>
jtulach@27
    84
          <target>1.5</target>
jtulach@27
    85
        </configuration>
jtulach@27
    86
      </plugin>
jtulach@35
    87
      <plugin>
jtulach@35
    88
        <groupId>org.codehaus.mojo</groupId>
jtulach@35
    89
        <artifactId>exec-maven-plugin</artifactId>
jtulach@35
    90
        <configuration>
jaroslav@121
    91
            <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
jaroslav@121
    92
        </configuration>
jaroslav@121
    93
      </plugin>
jaroslav@121
    94
      <plugin>
jaroslav@121
    95
        <artifactId>maven-assembly-plugin</artifactId>
jaroslav@121
    96
        <version>2.2-beta-2</version>
jaroslav@121
    97
        <executions>
jaroslav@121
    98
          <execution>
jaroslav@121
    99
            <id>create-executable-jar</id>
jaroslav@121
   100
            <phase>package</phase>
jaroslav@121
   101
            <goals>
jaroslav@121
   102
              <goal>single</goal>
jaroslav@121
   103
            </goals>
jaroslav@121
   104
            <configuration>
jaroslav@121
   105
              <descriptors>
jaroslav@121
   106
                <descriptor>all-zip.xml</descriptor>
jaroslav@121
   107
              </descriptors>
jaroslav@121
   108
              <finalName>webidor-${version}</finalName>
jaroslav@121
   109
            </configuration>
jaroslav@121
   110
          </execution>
jaroslav@121
   111
        </executions>
jaroslav@121
   112
      </plugin>
jaroslav@121
   113
      <plugin>
jaroslav@121
   114
        <groupId>org.apache.maven.plugins</groupId>
jaroslav@121
   115
        <artifactId>maven-jar-plugin</artifactId>
jaroslav@121
   116
        <configuration>
jaroslav@121
   117
            <archive>
jaroslav@121
   118
                <manifest>
jaroslav@121
   119
                    <addClasspath>true</addClasspath>
jaroslav@121
   120
                    <classpathPrefix>lib/</classpathPrefix>
jaroslav@121
   121
                    <mainClass>cz.xelfi.quoridor.webidor.resources.Quoridor</mainClass>
jaroslav@121
   122
                </manifest>
jaroslav@121
   123
            </archive>
jtulach@35
   124
        </configuration>
jtulach@35
   125
      </plugin>
jtulach@27
   126
    </plugins>
jtulach@27
   127
    <finalName>webidor</finalName>
jtulach@27
   128
  </build>
jtulach@27
   129
</project>
jaroslav@64
   130
jaroslav@64
   131