<?xml version="1.0"?>
<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>net.sf.ehcache</groupId>
    <artifactId>ehcache-ee-root</artifactId>
    <version>2.7.7</version>
  </parent>

  <groupId>net.sf.ehcache.internal</groupId>
  <artifactId>ehcache-common</artifactId>
  <packaging>jar</packaging>

  <name>ehcache-common</name>
  <description>Common Module for Ehcache Enterprise</description>

  <dependencies>
    <dependency>
      <groupId>net.sf.ehcache.internal</groupId>
      <artifactId>ehcache-core</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.terracotta.license</groupId>
      <artifactId>terracotta-license</artifactId>
    </dependency>

    <!-- Test dependencies -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.transaction</groupId>
      <artifactId>jta</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>  
      <plugin>
        <groupId>org.terracotta</groupId>
        <artifactId>maven-forge-plugin</artifactId>
        <configuration>
          <useFile>false</useFile>
          <forkMode>always</forkMode>
          <argLine>-XX:MaxDirectMemorySize=130m</argLine>
        </configuration>
        <executions>
          <execution>
            <id>default-test</id>
            <phase>test</phase>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
