<?xml version="1.0" encoding="UTF-8"?>
<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">

  <modelVersion>4.0.0</modelVersion>

  <groupId>org.terracotta</groupId>
  <artifactId>parent</artifactId>
  <version>3.4.0</version>
  <name>terracotta base</name>
  <packaging>pom</packaging>

  <licenses>
    <license>
      <name>Terracotta Public License</name>
      <url>http://www.terracotta.org/legal/terracotta-public-license</url>
      <distribution>repo</distribution>
      <comments>
        The Terracotta Public License (we'll call it the "TPL") is based on the
        Mozilla Public License, version 1.1 (we'll call it the "MPL"), with a
        few modifications to make it specific to Terracotta, including an
        attribution clause. The TPL gives you the freedom to use Terracotta,
        modify its source code, and distribute it for free.

        If you distribute Terracotta, or software that you built with Terracotta,
        the attribution clause requires you to display the words "Powered by Terracotta"
        in your user interfaces. To "distribute" means to give or sell software
        that includes Terracotta code to someone outside of your company or
        organization. Keep in mind that the attribution clause doesn't apply to
        most end users of Terracotta. If you're using Terracotta, but not
        distributing it, then you don't need to display the attribution.
      </comments>
    </license>
  </licenses>

  <properties>
    <tcVersion>3.4.0</tcVersion>
    <tim-api.version>1.3.0</tim-api.version>
    <sigar.version>1.6.4</sigar.version>
    <jetty.version>6.1.8</jetty.version>
  </properties>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.terracotta</groupId>
        <artifactId>linked-child-process</artifactId>
        <version>1.0.5</version>
      </dependency>    
      <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.9</version>
      </dependency>
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.3</version>
      </dependency>
      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.2.1</version>
      </dependency>
      <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>2.0</version>
      </dependency>
      <dependency>
        <groupId>commons-cli</groupId>
        <artifactId>commons-cli</artifactId>
        <version>1.1</version>
      </dependency>
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.2</version>
      </dependency>
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
      </dependency>
      <dependency>
        <groupId>javax.management</groupId>
        <artifactId>jmxremote</artifactId>
        <version>1.0.1_04</version>
      </dependency>
      <dependency>
        <groupId>javax.management</groupId>
        <artifactId>jmxremote_optional</artifactId>
        <version>1.0.1_04</version>
      </dependency>
      <dependency>
        <groupId>org.beanshell</groupId>
        <artifactId>bsh</artifactId>
        <version>2.0b4</version>
      </dependency>
      <dependency>
        <groupId>org.apache.xmlbeans</groupId>
        <artifactId>xmlbeans</artifactId>
        <version>2.4.0</version>
      </dependency> 
      <dependency>
        <groupId>org.apache.xmlbeans</groupId>
        <artifactId>xmlbeans-jsr173-api</artifactId>
        <version>1.0</version>
      </dependency>
      <dependency>
        <groupId>knopflerfish-tc</groupId>
        <artifactId>knopflerfish-tc</artifactId>
        <version>2.0.1-20100819</version>
      </dependency>
      <dependency>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>servlet-api-2.5</artifactId>
        <version>${jetty.version}</version>
      </dependency> 
      <dependency>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty-util</artifactId>
        <version>${jetty.version}</version>
      </dependency>
      <dependency>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty</artifactId>
        <version>${jetty.version}</version>
      </dependency>
      <dependency>
        <groupId>concurrent</groupId>
        <artifactId>concurrent</artifactId>
        <version>1.3.4</version>
      </dependency>
      <dependency>
        <groupId>trove</groupId>
        <artifactId>trove</artifactId>
        <version>1.1-beta-5</version>
      </dependency>
      <dependency>
        <groupId>berkeleydb</groupId>
        <artifactId>je</artifactId>
        <version>4.0.103</version>
      </dependency>
      <dependency>
        <groupId>jline</groupId>
        <artifactId>jline</artifactId>
        <version>0.9.94</version>
      </dependency>
      <dependency>
        <groupId>jfree</groupId>
        <artifactId>jfreechart</artifactId>
        <version>1.0.13</version>
       <exclusions>
         <exclusion>
           <groupId>gnujaxp</groupId>
           <artifactId>gnujaxp</artifactId>
         </exclusion>
       </exclusions>
      </dependency>
      <dependency>
        <groupId>treemap</groupId>
        <artifactId>treemap</artifactId>
        <version>2.5.1</version>
      </dependency>
      <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>1.0.67</version>
      </dependency>
      <dependency>
         <groupId>net.sourceforge</groupId>
         <artifactId>yamlbeans</artifactId>
         <version>0.9.2</version>
      </dependency>
      <dependency>
        <groupId>com.google.code.guice</groupId>
        <artifactId>guice</artifactId>
        <version>1.0</version>
      </dependency>
      <dependency>
        <groupId>com.google.collections</groupId>
        <artifactId>google-collections</artifactId>
        <version>1.0</version>
      </dependency>
      <dependency>
        <groupId>com.terracottatech</groupId>
        <artifactId>offheap-store</artifactId>
        <version>1.0.0</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta.license</groupId>
        <artifactId>terracotta-license</artifactId>
        <version>1.0.0</version>
      </dependency>      
      

      <!-- dependencies for tests -->
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
      </dependency>
      <dependency>
        <groupId>org.apache.ant</groupId>
        <artifactId>ant</artifactId>
        <version>1.7.1</version>
      </dependency>
      <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>1.2</version>
      </dependency>    
      <dependency>
        <!-- common -->
        <groupId>hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>1.7.2.2</version>
      </dependency>
      <dependency>
        <groupId>httpunit</groupId>
        <artifactId>httpunit</artifactId>
        <version>1.6</version>
      </dependency>

      <!-- Dependencies for core Terracotta artifacts -->
      <dependency>
        <groupId>org.terracotta.modules</groupId>
        <artifactId>excludes-config</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta.modules</groupId>
        <artifactId>guimodels-config</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta.modules</groupId>
        <artifactId>jdk15-preinst-config</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta.modules</groupId>
        <artifactId>standard-config</artifactId>
        <version>${tcVersion}</version>
      </dependency>         
      <dependency>
        <groupId>org.terracotta</groupId>
        <artifactId>tcconfig</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta</groupId>
        <artifactId>tc-l1-reconnect-properties</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta</groupId>
        <artifactId>tcstats</artifactId>
        <version>${tcVersion}</version>
      </dependency>
      <dependency>
        <groupId>org.terracotta.api</groupId>
        <artifactId>tim-api</artifactId>
        <version>${tim-api.version}</version>
      </dependency>

      <!-- SIGAR dependencies -->
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>sigar</artifactId>
        <version>${sigar.version}</version>
        <type>jar</type>
      </dependency>
      <!-- linux -->
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-amd64-linux</artifactId>
        <version>${sigar.version}</version>
        <type>so</type>
      </dependency>
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-x86-linux</artifactId>
        <version>${sigar.version}</version>
        <type>so</type>
      </dependency>

      <!-- solaris -->
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-amd64-solaris</artifactId>
        <version>${sigar.version}</version>
        <type>so</type>
      </dependency>      
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-sparc-solaris</artifactId>
        <version>${sigar.version}</version>
        <type>so</type>
      </dependency>
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-x86-solaris</artifactId>
        <version>${sigar.version}</version>
        <type>so</type>
      </dependency>      
      
      <!-- windows -->
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>sigar-amd64-winnt</artifactId>
        <version>${sigar.version}</version>
        <type>dll</type>
      </dependency>      
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>sigar-x86-winnt</artifactId>
        <version>${sigar.version}</version>
        <type>dll</type>
      </dependency>
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>sigar-x86-winnt</artifactId>
        <version>${sigar.version}</version>
        <type>lib</type>
      </dependency>

      <!-- mac osx -->
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-universal-macosx</artifactId>
        <version>${sigar.version}</version>
        <type>dylib</type>
      </dependency>
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-universal64-macosx</artifactId>
        <version>${sigar.version}</version>
        <type>dylib</type>
      </dependency>      
      <dependency>
        <groupId>org.hyperic</groupId>
        <artifactId>libsigar-universal64-macosx</artifactId>
        <version>${sigar.version}</version>
        <type>dylib</type>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <scm>
    <connection>scm:svn:http://svn.terracotta.org/svn/tc/dso/trunk</connection>
    <developerConnection>scm:svn:https://svn.terracotta.org/repo/tc/dso/trunk</developerConnection>
    <url>scm:svn:http://svn.terracotta.org/svn/tc/dso/trunk</url>
  </scm>

  <issueManagement>
    <url>https://jira.terracotta.org/jira/secure/BrowseProject.jspa</url>
  </issueManagement>

  <repositories>
    <repository>
      <id>terracotta-snapshots</id>
      <url>http://www.terracotta.org/download/reflector/snapshots</url>
      <releases><enabled>false</enabled></releases>
      <snapshots><enabled>true</enabled></snapshots>
    </repository>
    <repository>
      <id>terracotta-releases</id>
      <url>http://www.terracotta.org/download/reflector/releases</url>
      <releases><enabled>true</enabled></releases>
      <snapshots><enabled>false</enabled></snapshots>
    </repository>
    <repository>
      <id>jboss</id>
      <url>http://repository.jboss.com/maven2</url>
      <releases><enabled>true</enabled></releases>
      <snapshots><enabled>false</enabled></snapshots>
    </repository>    
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>terracotta-snapshots</id>
      <url>http://www.terracotta.org/download/reflector/snapshots</url>
      <releases><enabled>false</enabled></releases>
      <snapshots><enabled>true</enabled></snapshots>
    </pluginRepository>
    <pluginRepository>
      <id>terracotta-releases</id>
      <url>http://www.terracotta.org/download/reflector/releases</url>
      <releases><enabled>true</enabled></releases>  
      <snapshots><enabled>false</enabled></snapshots>
    </pluginRepository>
  </pluginRepositories>

  <!--
      The distributionManagement section is required in order to use the mvn deploy
      command, even if the -DaltDeploymentRepository option is passed on the command line.
  -->
  <distributionManagement>
    <repository>
      <id>null</id>
      <name>null</name>
      <url>null</url>
    </repository>
  </distributionManagement>

</project>
