<?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>net.sf.ehcache</groupId>
  <artifactId>ehcache-parent</artifactId>
  <packaging>pom</packaging>
  <version>2.3</version>

  <name>Ehcache Parent</name>
  <description><![CDATA[Ehcache is a widely used, pure Java, in-process, distributed cache]]>
    </description>
  <url>http://ehcache.org</url>
  <inceptionYear>2003</inceptionYear>
  <organization>
    <name>Terracotta, Inc.</name>
    <url>http://www.terracotta.org</url>
  </organization>

  <properties>
    <terracotta-snapshots-url>http://nexus.terracotta.lan:8080/content/repositories/terracotta-snapshots</terracotta-snapshots-url>
    <terracotta-staging-url>http://nexus.terracotta.lan:8080/content/repositories/terracotta-staging</terracotta-staging-url>
    <terracotta-releases-url>http://nexus.terracotta.lan:8080/content/repositories/terracotta-releases</terracotta-releases-url>
  </properties>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>net.sf.jsr107cache</groupId>
        <artifactId>jsr107cache</artifactId>
        <version>1.0</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.4</version>
        <scope>compile</scope>
      </dependency>
      <dependency>
        <groupId>dom4j</groupId>
        <artifactId>dom4j</artifactId>
        <version>1.6.1</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>3.3.2.GA</version>
        <exclusions>
          <exclusion>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.security</groupId>
            <artifactId>jacc</artifactId>
          </exclusion>
          <exclusion>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache</artifactId>
          </exclusion>
        </exclusions>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-ehcache</artifactId>
        <version>3.3.2.GA</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>net.sf.hibernate</groupId>
        <artifactId>hibernate</artifactId>
        <version>2.1.8</version>
        <exclusions>
          <exclusion>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
          </exclusion>
          <exclusion>
            <groupId>javax.security</groupId>
            <artifactId>jacc</artifactId>
          </exclusion>
          <exclusion>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache</artifactId>
          </exclusion>
        </exclusions>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.4</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>jgroups</groupId>
        <artifactId>jgroups-all</artifactId>
        <version>2.4.1</version>
        <exclusions>
          <exclusion>
            <groupId>bsh</groupId>
            <artifactId>bsh</artifactId>
          </exclusion>
          <exclusion>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </exclusion>
        </exclusions>
        <scope>provided</scope>
      </dependency>

      <!-- Test scope -->
      <dependency>
        <groupId>httpunit</groupId>
        <artifactId>httpunit</artifactId>
        <version>1.6</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.0.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>checkstyle</groupId>
        <artifactId>checkstyle-optional</artifactId>
        <version>4.4</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring</artifactId>
        <version>2.0.2</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aop</artifactId>
        <version>2.0.2</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aspects</artifactId>
        <version>2.0.2</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-mock</artifactId>
        <version>2.0.2</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.acegisecurity</groupId>
        <artifactId>acegi-security</artifactId>
        <version>1.0.3</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.8</version>
          <executions>
            <execution>
              <id>attach-javadocs</id>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.2</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <phase>package</phase>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.9</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.2.1</version>
          <configuration>
            <autoVersionSubmodules>true</autoVersionSubmodules>
            <preparationGoals>clean install</preparationGoals>
            <tagBase>https://ehcache.svn.sourceforge.net/svnroot/ehcache/tags</tagBase>
          </configuration>
        </plugin>
        
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-idea-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <downloadSources>true</downloadSources>
            <downloadJavadocs>false</downloadJavadocs>
          </configuration>
        </plugin>

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>2.5.1</version>
          <executions>
            <execution>
              <goals>
                <goal>clean</goal>
              </goals>
            </execution>
          </executions>
        </plugin>

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>findbugs-maven-plugin</artifactId>
          <version>2.3.2</version>
          <configuration>
            <findbugsXmlOutput>true</findbugsXmlOutput>
            <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
            <xmlOutput>true</xmlOutput>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-pmd-plugin</artifactId>
          <version>2.5</version>
          <configuration>
            <aggregate>true</aggregate>
            <targetJdk>1.5</targetJdk>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <profiles>
    <profile>
      <!-- Profile to sign artifacts with a PGP key (using GPG). -->
      <id>sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
                <configuration>
                  <keyname>Terracotta Release Engineer</keyname>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <!-- No-test profile: equivalent to -Dmaven.test.skip=true -->
      <id>nt</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <!-- use this profile to deploy to sonatype Maven central -->
      <id>deploy-sonatype</id>
      <distributionManagement>
        <repository>
          <id>sourceforge-releases</id>
          <name>Sourceforge Release Repository</name>
          <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
          <id>sourceforge-snapshots</id>
          <name>Sourceforge Snapshot Repository</name>
          <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>

    <!-- use this profile to deploy to terracotta-releases repo -->
    <profile>
      <id>releases</id>
      <distributionManagement>
        <repository>
          <id>terracotta-releases</id>
          <name>Terracotta Releases Repository</name>
          <url>${terracotta-releases-url}</url>
        </repository>
      </distributionManagement>
    </profile>
  </profiles>

  <developers>
    <developer>
      <id>gregluck</id>
      <name>Greg Luck</name>
      <roles>
        <role>Maintainer</role>
        <role>Developer</role>
      </roles>
      <timezone>+10</timezone>
      <properties>
        <skype>gregrluck</skype>
        <yahoo>gregrluck</yahoo>
      </properties>
    </developer>
    <developer>
      <id>ssuravarapu</id>
      <name>Surya Suravarapu</name>
      <url />
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>-5</timezone>
    </developer>
    <developer>
      <id>oneovthafew</id>
      <name>Gavin King</name>
      <roles>
        <role>Developer</role>
      </roles>
      <timezone>+10</timezone>
    </developer>
    <developer>
      <name>Mauro Talevi</name>
      <email />
      <url />
      <organization />
      <organizationUrl />
      <roles>
        <role>Maven Guru</role>
      </roles>
      <timezone />
    </developer>
  </developers>

  <contributors>
    <contributor>
      <name>Adam Murdoch</name>
      <email />
      <url />
      <organization />
      <organizationUrl />
      <roles>
        <role>Former Developer</role>
      </roles>
      <timezone>+10</timezone>
    </contributor>
    <contributor>
      <name>Ben Houston</name>
      <email />
      <url />
      <organization />
      <organizationUrl />
      <roles />
      <timezone />
      <properties />
    </contributor>
    <contributor>
      <name>Claus Ibsen</name>
      <email />
      <url />
      <organization />
      <organizationUrl />
      <roles />
      <timezone />
      <properties>
        <contribution>Patches</contribution>
      </properties>
    </contributor>
    <contributor>
      <name>Jody Brownell</name>
      <email />
      <url />
      <organization />
      <organizationUrl />
      <roles />
      <timezone />
      <properties>
        <contribution>Patches</contribution>
      </properties>
    </contributor>
  </contributors>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.ehcache.org/about/license</url>
      <distribution>repo</distribution>
      <comments>The license is the standard wording from the Apache license.
                Terracotta, Inc. is the copyright owner.
            </comments>
    </license>
  </licenses>

  <issueManagement>
    <system>Terracotta's JIRA</system>
    <url>https://jira.terracotta.org/jira/browse/EHC</url>
  </issueManagement>


  <!-- by default ehcache projects deploy to terracotta-snapshots and terracotta-staging 
    repos -->
  <distributionManagement>
    <repository>
      <id>terracotta-staging</id>
      <name>Terracotta Staging Repository</name>
      <url>${terracotta-staging-url}</url>
    </repository>
    <snapshotRepository>
      <id>terracotta-snapshots</id>
      <name>Terracotta Snapshots Repository</name>
      <url>${terracotta-snapshots-url}</url>
	  <uniqueVersion>false</uniqueVersion>
    </snapshotRepository>


    <!-- The server id here defined must also appear in ~/.m2/settings.xml 
      with username Note: site URL repeated here to ensure correct deployment path -->
    <site>
      <id>ehcache.org</id>
      <name>EHCache Site</name>
      <url>dav:https://echache-stage.terracotta.lan/export1/ehcache.org</url>
    </site>
  </distributionManagement>

  <mailingLists>
    <mailingList>
      <name>Ehcache Mailing List</name>
      <subscribe>http://lists.terracotta.org/mailman/listinfo/ehcache-list</subscribe>
      <unsubscribe>http://lists.terracotta.org/mailman/listinfo/ehcache-list</unsubscribe>
      <post>ehcache-list@lists.terracotta.org</post>
      <archive>http://lists.terracotta.org/pipermail/ehcache-list/</archive>
    </mailingList>
    <mailingList>
      <name>Old SourceForge Mailing List - closed due to spam attacks</name>
      <subscribe>http://lists.sourceforge.net/lists/listinfo/ehcache-list</subscribe>
      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/ehcache-list</unsubscribe>
      <post>ehcache-list@lists.sourceforge.net</post>
      <archive>http://sourceforge.net/mailarchive/forum.php?forum=ehcache-list</archive>
    </mailingList>
  </mailingLists>

  <scm>
    <connection>scm:svn:http://svn.terracotta.org/svn/ehcache</connection>
    <developerConnection>scm:svn:https://svn.terracotta.org/repo/ehcache</developerConnection>
    <tag />
    <url>http://svn.terracotta.org/svn/ehcache</url>
  </scm>

</project>
