<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>com.atlassian.base</groupId>
  <artifactId>atlassian-base</artifactId>
  <packaging>pom</packaging>
  <version>1.3</version>

  <name>Atlassian Base Project</name>
  <description>A default project that specifies default property for Atlassian Maven 2 projects</description>
  <url>http://www.atlassian.com</url>

  <organization>
    <name>Atlassian Software Systems.</name>
    <url>http://www.atlassian.com</url>
  </organization>

  <scm>
    <connection>scm:svn:https://svn.atlassian.com/svn/private/atlassian/atlassian-base/tags/atlassian-base-1.3</connection>
    <developerConnection>scm:svn:https://svn.atlassian.com/svn/private/atlassian/atlassian-base/tags/atlassian-base-1.3</developerConnection>
  </scm>




  <!-- Required Project Dependencies. All projects will have these dependencies -->
  <dependencies>

    <!-- ======================================================================================= Common Dependencies -->

    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
    </dependency>

    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
    </dependency>

    <!-- ==================================================================================== Dependencies for Tests -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>

    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock</artifactId>
    </dependency>

  </dependencies>

  <build>
    <plugins>


      <!-- Compile against a JDK version-->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
        </configuration>
      </plugin>

      <!-- Customising Tests to only exclude inner test classes -->
    </plugins>
    <pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                  <excludes>
                    <exclude>**/*$*</exclude>
                  </excludes>
                </configuration>
            </plugin>
        </plugins>
    </pluginManagement>
  </build>

  <!-- Common dependency versions -->
  <dependencyManagement>
    <dependencies>

      <!-- Common Library dependencies -->
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.1</version>
        <scope>test</scope>
      </dependency>

      <dependency>
        <groupId>jmock</groupId>
        <artifactId>jmock</artifactId>
        <version>1.0.1</version>
        <scope>test</scope>
      </dependency>

      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.1</version>
        <scope>compile</scope>
      </dependency>

      <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>2.1</version>
        <scope>compile</scope>
      </dependency>

      <!-- This is evil, but Spring seems to use it -->
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.4</version>
        <scope>compile</scope>
      </dependency>


      
      <dependency>
        <groupId>net.sf.ehcache</groupId>
        <artifactId>ehcache</artifactId>
        <version>1.2</version>
        <scope>compile</scope>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Maven Repository Switchboard</name>
      <url>http://repo1.maven.org/maven2</url>
    </repository>


    <repository>
      <id>atlassian-m2-repository</id>
      <name>Atlassian Maven 2.x Repository</name>
      <url>http://repository.atlassian.com/maven2</url>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
      </snapshots>
    </repository>

    <repository>
      <id>atlassian-m1-repository</id>
      <name>Atlassian Maven 1.x Repository</name>
      <url>http://repository.atlassian.com</url>
      <layout>legacy</layout>
      <snapshots>
        <enabled>true</enabled>
        <checksumPolicy>ignore</checksumPolicy>
        <updatePolicy>always</updatePolicy>
      </snapshots>
      <releases>
        <checksumPolicy>ignore</checksumPolicy>
        <updatePolicy>always</updatePolicy>
      </releases>
    </repository>
  </repositories>

  <distributionManagement>
    <repository>
      <id>atlassian-m2-repository</id>
      <name>Atlassian Maven 2.x Repository</name>
      <url>scp://repository.atlassian.com/var/www/html/repository/maven2</url>
    </repository>
  </distributionManagement>

</project>
