<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>au.org.ala</groupId>
    <artifactId>ala-header-and-tails</artifactId>
    <!--  NC 20130813 - incremented version to support a properties file in addition to the XML. -->
    <version>2.1</version>
    <name>ALA Header and Tails</name>
    <description>ALA Header and Tails</description>
    <!-- AN SCM entry that points to the SVN directory that contains the pom file for the project  -->
    <scm>
        <developerConnection>scm:git:https://github.com/AtlasOfLivingAustralia/ala-header-and-tails.git</developerConnection>
      <tag>ala-header-and-tails-2.1</tag>
  </scm>
    <dependencies>
        <!-- Sun's JSP API-->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-client-core</artifactId>
            <version>3.1.10</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
        	<groupId>au.org.ala</groupId>
        	<artifactId>ala-cas-client</artifactId>
        	<version>2.0</version>
        	<type>jar</type>
        	<scope>compile</scope>
        </dependency>
        <dependency>
			<groupId>jdom</groupId>
			<artifactId>jdom</artifactId>
			<version>1.1</version>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.htmlunit</groupId>
			<artifactId>htmlunit</artifactId>
			<version>2.5</version>
		</dependency>
    </dependencies>

    <repositories>
      <repository>
	<id>ala-repo</id>
	<name>ala-repository</name>
	<url>http://nexus.ala.org.au/content/repositories/releases/</url>
      </repository>
    </repositories>

    <distributionManagement>
      <repository>
        <id>ala-repo</id>
        <name>Internal Releases</name>
        <url>http://nexus.ala.org.au/content/repositories/releases/</url>
      </repository>
      <snapshotRepository>
        <id>ala-repo</id>
        <name>Internal Releases</name>
        <url>http://nexus.ala.org.au/content/repositories/snapshots/</url>
      </snapshotRepository>
    </distributionManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </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>verify</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
            	<groupId>org.apache.maven.plugins</groupId>
	        <artifactId>maven-release-plugin</artifactId>
                <version>2.5</version>
            </plugin>
        </plugins>
    </build>
</project>
