<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.forge</groupId>
    <artifactId>tim-parent</artifactId>
    <version>1.2.0</version>
  </parent>

  <groupId>org.terracotta.modules</groupId>
  <artifactId>tim-ehcache</artifactId>
  <version>1.2.0</version>
  <packaging>pom</packaging>
  <name>tim-ehcache</name>
  <description>
    Terracotta Integration Module for clustering Ehcache.
    This project comes with modules for Ehcache 1.2.4 and Ehcache 1.3
  </description>

  <scm>
    <connection>scm:svn:http://svn.terracotta.org/svn/forge/projects/tim-ehcache/tags/release-1.2.0</connection>
    <developerConnection>scm:svn:https://svn.terracotta.org/repo/forge/projects/tim-ehcache/tags/release-1.2.0</developerConnection>
    <url>http://svn.terracotta.org/svn/forge/projects/tim-ehcache/tags/release-1.2.0</url>
  </scm>

  <properties>
    <forgeTags>Integration Module</forgeTags>
    <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
  </properties>

  <modules>
    <module>tim-ehcache-commons</module>
    <module>tim-ehcache-1.2.4</module>
    <module>tim-ehcache-1.3</module>
    <module>tim-ehcache-commons-system-tests</module>
    <module>tim-ehcache-1.2.4-system-tests</module>
    <module>tim-ehcache-1.3-system-tests</module>
  </modules>

  <dependencies>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>terracotta-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>terracotta</artifactId>
    </dependency>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>tc.test-compile</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>tcconfig</artifactId>
    </dependency>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>tcconfig1</artifactId>
    </dependency>
    <dependency>
      <groupId>org.terracotta</groupId>
      <artifactId>tcconfig2</artifactId>
    </dependency>
    <dependency>
      <groupId>org.terracotta.modules</groupId>
      <artifactId>modules-common</artifactId>
    </dependency>
  </dependencies>

  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
        <filtering>true</filtering>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/src.xml</descriptor>
            <descriptor>src/main/assembly/bin.xml</descriptor>
          </descriptors>
          <outputDirectory>${project.build.directory}/site/downloads</outputDirectory>
        </configuration>
        <executions>
          <execution>
            <phase>site</phase>
            <goals>
              <goal>assembly</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <repositories>
    <repository>
      <id>terracotta-repository</id>
      <url>http://www.terracotta.org/download/reflector/maven2</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
</project>