pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 27 Jun 2012 22:23:50 +0200
changeset 288 61a4abd3f362
parent 283 0ea04469967d
permissions -rw-r--r--
Use dependencyManagement to manage dependencies
     1 <?xml version="1.0" encoding="UTF-8"?>
     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/xsd/maven-4.0.0.xsd">
     3   <modelVersion>4.0.0</modelVersion>
     4   <packaging>pom</packaging>
     5   <groupId>cz.xelfi.quoridor</groupId>
     6   <artifactId>all-quoridor</artifactId>
     7   <version>1.0</version>
     8   <repositories>
     9       <repository>
    10           <id>netbeans</id>
    11           <url>http://bits.netbeans.org/maven2/</url>
    12       </repository>
    13     <repository>
    14         <id>maven2-repository.dev.java.net</id>
    15         <name>Java.net Repository for Maven</name>
    16         <url>http://download.java.net/maven/2/</url>
    17         <layout>default</layout>
    18     </repository>
    19   </repositories>
    20   <pluginRepositories>
    21     <pluginRepository>
    22         <id>mc-release</id>
    23         <name>Local Maven repository of releases</name>
    24         <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    25         <snapshots>
    26             <enabled>false</enabled>
    27         </snapshots>
    28         <releases>
    29             <enabled>true</enabled>
    30         </releases>
    31     </pluginRepository>
    32   </pluginRepositories>
    33   <scm>
    34       <connection>scm:hg:http://source.apidesign.org/hg/quoridor</connection>
    35       <url>http://source.apidesign.org/hg/quoridor</url>
    36   </scm>
    37   <licenses>
    38     <license>
    39         <name>gpl-3.0</name>
    40         <url>http://www.opensource.org/licenses/gpl-3.0.html</url>
    41         <distribution>repo</distribution>
    42     </license>
    43   </licenses>
    44   <organization>
    45       <name>API Design</name>
    46       <url>http://apidesign.org</url>
    47   </organization>
    48   <properties>
    49       <quoridorVersion>1.4</quoridorVersion>
    50       <webidorVersion>1.19</webidorVersion>
    51       <visidorVersion>1.0-SNAPSHOT</visidorVersion>
    52       <freemarkerVersion>1.61</freemarkerVersion>
    53       <emailerVersion>1.1</emailerVersion>
    54       <statisticsVersion>1.9</statisticsVersion>
    55       <wsdorVersion>1.2</wsdorVersion>
    56   </properties>
    57   <modules>
    58     <module>quoridor</module>
    59     <module>visidor</module>
    60     <module>webidor</module>
    61     <module>statistics</module>
    62     <module>freemarkerdor</module>
    63     <module>emailer</module>
    64     <module>wsdor</module>
    65   </modules>
    66     <name>Quoridor related projects</name>
    67     <description>Master project that agregates all quoridor related functionality.
    68     </description>
    69     <build>
    70         <plugins>
    71             <plugin>
    72                 <groupId>com.mycila.maven-license-plugin</groupId>
    73                 <artifactId>maven-license-plugin</artifactId>
    74                 <configuration>
    75                     <header>src/header.txt</header>
    76                 </configuration>
    77             </plugin>
    78         </plugins>
    79     </build>
    80     <dependencyManagement>
    81         <dependencies>
    82             <dependency>
    83                 <groupId>com.sun.jersey</groupId>
    84                 <artifactId>jersey-core</artifactId>
    85                 <version>1.6</version>
    86             </dependency>
    87             <dependency>
    88                 <groupId>com.sun.jersey</groupId>
    89                 <artifactId>jersey-server</artifactId>
    90                 <version>1.6</version>
    91             </dependency>
    92             <dependency>
    93                 <groupId>com.sun.jersey</groupId>
    94                 <artifactId>jersey-json</artifactId>
    95                 <version>1.6</version>
    96                 <type>jar</type>
    97                 <exclusions>
    98                     <exclusion>
    99                         <artifactId>jaxb-api</artifactId>
   100                         <groupId>javax.xml.bind</groupId>
   101                     </exclusion>
   102                     <exclusion>
   103                         <artifactId>stax-api</artifactId>
   104                         <groupId>stax</groupId>
   105                     </exclusion>
   106                 </exclusions>
   107             </dependency>
   108             <dependency>
   109                 <groupId>com.sun.jersey.jersey-test-framework</groupId>
   110                 <artifactId>jersey-test-framework-http</artifactId>
   111                 <version>1.6</version>
   112                 <scope>test</scope>
   113             </dependency>
   114             <dependency>
   115                 <groupId>com.sun.jersey</groupId>
   116                 <artifactId>jersey-grizzly2</artifactId>
   117                 <version>1.6</version>
   118             </dependency>
   119             <dependency>
   120                 <groupId>com.sun.jersey</groupId>
   121                 <artifactId>jersey-client</artifactId>
   122                 <version>1.6</version>
   123             </dependency>
   124         </dependencies>
   125     </dependencyManagement>
   126 </project>