<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>
    <packaging>pom</packaging>

    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>public-pom</artifactId>
        <version>2.0.5</version>
    </parent>

    <groupId>com.atlassian.user</groupId>
    <artifactId>atlassian-user</artifactId>
    <version>4.0-m3</version>

    <modules>
        <module>atlassian-user-api</module>
        <module>atlassian-user-hibernate2</module>
        <module>atlassian-user-hibernate3</module>
        <module>atlassian-user-ldap</module>
        <module>atlassian-user-core</module>
        <module>atlassian-user-osuser</module>
        <module>atlassian-user-test-common</module>
        <module>atlassian-user-test</module>
    </modules>

    <name>Atlassian User</name>
    <inceptionYear>2005</inceptionYear>
    <description>Atlassian-user is an internal project, modelling users and groups for all Atlassian applications.</description>
    <url>https://docs.atlassian.com/${project.artifactId}/${project.version}</url>

    <scm>
        <connection>scm:svn:https://svn.atlassian.com/svn/private/atlassian/atlassian-user/tags/atlassian-user-4.0-m3</connection>
        <developerConnection>scm:svn:https://svn.atlassian.com/svn/private/atlassian/atlassian-user/tags/atlassian-user-4.0-m3</developerConnection>
        <url>https://svn.atlassian.com/svn/private/atlassian/atlassian-user/tags/atlassian-user-4.0-m3</url>
    </scm>
    <issueManagement>
        <system>Jira</system>
        <url>http://jira.atlassian.com/secure/BrowseProject.jspa?id=10670</url>
    </issueManagement>

    <dependencyManagement>
        <dependencies>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-api</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-core</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-ldap</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-osuser</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-hibernate2</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.user</groupId>
                <artifactId>atlassian-user-test-common</artifactId>
                <version>${project.version}</version>
            </dependency>

            <!-- core dependencies -->
            <dependency>
              <groupId>com.atlassian.security</groupId>
              <artifactId>atlassian-password-encoder</artifactId>
              <version>3.0</version>
            </dependency>
            <dependency>
              <groupId>org.bouncycastle</groupId>
              <artifactId>bcprov-jdk16</artifactId>
              <version>1.46</version>
              <optional>true</optional><!-- applications may use a different version, don't want to require an exclusion -->
            </dependency>
            <dependency>
                <groupId>com.atlassian.profiling</groupId>
                <artifactId>atlassian-profiling</artifactId>
                <version>1.3</version>
            </dependency>
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.16</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.6.4</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.6</version>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>dom4j</groupId>
                <artifactId>dom4j</artifactId>
                <version>1.4</version>
            </dependency>
            <dependency>
                <groupId>javax.transaction</groupId>
                <artifactId>jta</artifactId>
                <version>1.0.1B</version>
                <scope>runtime</scope>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.6</version>
            </dependency>

            <!-- caching -->
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-api</artifactId>
                <version>1.0</version>
            </dependency>

            <!-- OSUser dependencies -->
            <dependency>
                <groupId>opensymphony</groupId>
                <artifactId>oscore</artifactId>
                <version>2.2.7</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.osuser</groupId>
                <artifactId>osuser-api</artifactId>
                <version>${osuser.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.osuser</groupId>
                <artifactId>osuser-provider-hibernate2</artifactId>
                <version>${osuser.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.osuser</groupId>
                <artifactId>osuser-provider-hibernate3</artifactId>
                <version>${osuser.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.osuser</groupId>
                <artifactId>osuser-provider-memory</artifactId>
                <scope>test</scope>
                <version>${osuser.version}</version>
            </dependency>

            <dependency>
                <groupId>com.opensymphony.propertyset</groupId>
                <artifactId>api</artifactId>
                <version>${propertyset.version}</version>
            </dependency>
            <dependency>
                <groupId>com.opensymphony.propertyset</groupId>
                <artifactId>core</artifactId>
                <version>${propertyset.version}</version>
            </dependency>
            <dependency>
                <groupId>com.opensymphony.propertyset.providers</groupId>
                <artifactId>hibernate2</artifactId>
                <version>${propertyset.version}</version>
            </dependency>
            <dependency>
                <groupId>com.opensymphony.propertyset.providers</groupId>
                <artifactId>hibernate3</artifactId>
                <version>${propertyset.version}</version>
            </dependency>

            <!-- Spring integration dependencies -->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jdbc</artifactId>
                <version>${spring.version}</version>
            </dependency>

            <!-- LDAP dependencies -->
            <dependency>
                <groupId>net.sf.ldaptemplate</groupId>
                <artifactId>ldaptemplate</artifactId>
                <version>1.0.1</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-beans</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-dao</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!-- hibernate dependencies -->
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate</artifactId>
                <version>3.2.7.ga</version>
                <optional>true</optional>
                <exclusions>
                    <exclusion>
                        <artifactId>ant</artifactId>
                        <groupId>ant</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>avalon-framework</artifactId>
                        <groupId>avalon-framework</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>concurrent</artifactId>
                        <groupId>concurrent</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>ehcache</artifactId>
                        <groupId>echcache</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jacc</artifactId>
                        <groupId>javax.security</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jboss-cache</artifactId>
                        <groupId>jboss</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jboss-common</artifactId>
                        <groupId>jboss</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jboss-j2se</artifactId>
                        <groupId>jboss</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jboss-minimal</artifactId>
                        <groupId>jboss</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>jboss-system</artifactId>
                        <groupId>jboss</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>logkit</artifactId>
                        <groupId>logkit</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>odmg</artifactId>
                        <groupId>odmg</groupId>
                    </exclusion>
                    <exclusion>
                        <artifactId>proxool</artifactId>
                        <groupId>proxool</groupId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>cglib</groupId>
                <artifactId>cglib</artifactId>
                <scope>runtime</scope>
                <version>2.1_3</version>
            </dependency>

            <dependency>
                <groupId>net.sf.ehcache</groupId>
                <artifactId>ehcache</artifactId>
                <scope>runtime</scope>
                <version>1.2.3</version>
            </dependency>

            <dependency>
                <groupId>hibernate</groupId>
                <artifactId>hibernate</artifactId>
                <version>2.1.8</version>
                <optional>true</optional>
            </dependency>

            <!-- test dependencies -->
            <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
              <version>10.0.1</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>org.hamcrest</groupId>
              <artifactId>hamcrest-core</artifactId>
              <version>1.1</version>
              <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.10</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>mockobjects</groupId>
                <artifactId>mockobjects-core</artifactId>
                <version>0.09</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>hsqldb</groupId>
                <artifactId>hsqldb</artifactId>
                <version>1.8.0.7</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>mockobjects</groupId>
                <artifactId>alt-j1.3-j2ee1.3</artifactId>
                <version>0.07</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-memory</artifactId>
                <version>1.0</version>
                <scope>test</scope>
            </dependency>

            <!-- servlet API required for testing OSUser authenticator -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>2.3</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.ldap</groupId>
                <artifactId>atlassian-ldap-test-server</artifactId>
                <version>5</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.directory.shared</groupId>
                        <artifactId>shared-asn1-codec</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>1.6.4</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <!-- to parse XML spring context, using jdk14 -->
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <version>1.3.03</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <!-- to parse XML spring context, using jdk14 -->
                <groupId>xerces</groupId>
                <artifactId>xercesImpl</artifactId>
                <version>2.8.1</version>
                <scope>test</scope>
            </dependency>
            <!--<dependency>-->
            <!--<groupId>org.springframework</groupId>-->
            <!--<artifactId>spring-web</artifactId>-->
            <!--<version>${spring.version}</version>-->
            <!--<scope>test</scope>-->
            <!--</dependency>-->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${spring.version}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${jdkLevel}</source>
                    <target>${jdkLevel}</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

<!--
    <distributionManagement>
        <site>
            <id>atlassian-documentation</id>
            <url>dav:https://docs.atlassian.com/${project.artifactId}/${project.version}</url>
        </site>
    </distributionManagement>
-->

    <properties>
        <spring.version>2.5.6.SEC02</spring.version>
        <osuser.version>1.2.0</osuser.version>
        <propertyset.version>1.6.0-m1</propertyset.version>
        <jdkLevel>1.6</jdkLevel>
    </properties>
</project>
