<?xml version="1.0" encoding="UTF-8"?>
<!--

    All content copyright (c) 2003-2010 Terracotta, Inc., except as may
    otherwise be noted in a separate copyright notice. All rights
    reserved.
  -->
<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>
  <parent>
    <groupId>org.terracotta.modules</groupId>
    <artifactId>tim-ehcache</artifactId>
    <version>1.9.9</version>
  </parent>

  <packaging>jar</packaging>
  <artifactId>tim-ehcache-2.x</artifactId>
  <name>tim-ehcache-2.x</name>
  <description>Ehcache</description>

  <properties>
    <hibernate-core.version>3.3.2.GA</hibernate-core.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>net.sf.ehcache</groupId>
      <artifactId>ehcache-core</artifactId>
      <version>${ehcache-core.version}</version>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-core</artifactId>
      <version>${hibernate-core.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.terracotta.modules</groupId>
      <artifactId>tim-ehcache-2.x-ui</artifactId>
      <version>${project.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.terracotta.toolkit</groupId>
      <artifactId>terracotta-toolkit-1.6</artifactId>
      <scope>compile</scope>
      <version>[1.0.0-SNAPSHOT,6.0.0-SNAPSHOT)</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.6.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>1.6.1</version>
      <scope>test</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.terracotta.api</groupId>
      <artifactId>tim-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-all</artifactId>
      <version>1.8.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <resources>
      <resource>
        <directory>${basedir}/src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.terracotta.maven.plugins</groupId>
        <artifactId>tc-maven-plugin</artifactId>
        <configuration>
          <tunneledMBeanDomains>
            <param>net.sf.ehcache</param>
            <param>net.sf.ehcache.hibernate</param>
          </tunneledMBeanDomains>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
