<?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>

    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>closedsource-pom</artifactId>
        <version>3.0.21</version>
    </parent>

    <groupId>com.atlassian.crowd</groupId>
    <artifactId>crowd-user-management</artifactId>
    <packaging>pom</packaging>
    <name>Atlassian User Management</name>
    <version>3.0.16-D20140630T075441</version>

    <prerequisites>
        <maven>3.0.5</maven>
    </prerequisites>

    <licenses>
        <license>
            <name>Atlassian 3.0 End User License Agreement</name>
            <url>http://www.atlassian.com/end-user-agreement/</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/un/user-management.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/un/user-management.git</developerConnection>
        <url>https://stash.atlassian.com/projects/UN/repos/user-management</url>
        <tag>HEAD</tag>
    </scm>

    <modules>
        <module>crowd-user-management-common</module>
        <module>crowd-user-management-plugin</module>
        <module>crowd-user-management-test</module>
        <module>user-provisioning-plugin</module>
        <module>user-provisioning-acceptance-tests</module>
        <module>horde-user-management-web-app</module>
        <module>horde-user-management-acceptance-tests</module>
        <module>horde-user-management-test-runner</module>
        <module>user-management-soy</module>
        <module>unified-admin-chrome</module>
        <module>global-admin-billing</module>
        <module>global-admin-billing-acceptance-tests</module>
        <module>global-admin-billing-test-runner</module>
        <module>unified-admin-chrome-acceptance-tests</module>
        <module>unified-admin-chrome-test-runner</module>
        <module>soke-tests</module>
    </modules>

    <properties>
        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>

        <!-- Versioning info for products -->
        <crowd.version>2.8.0-OD-24</crowd.version>
        <jira.version>6.3-OD-02-026</jira.version>
        <confluence.version>5.5-OD-22-001</confluence.version>
        <bamboo.version>5.5-OD-02-0005</bamboo.version>

        <!-- Versioning info for project test data -->
        <crowd.data.version>${crowd.version}</crowd.data.version>
        <jira.data.version>${jira.version}</jira.data.version>
        <confluence.data.version>${confluence.version}</confluence.data.version>
        <bamboo.data.version>3.2.2</bamboo.data.version>

        <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>

        <!-- Versioning info for common infrastructure -->
        <sal.version>2.10.5</sal.version>
        <atlassian.plugins.webresource.version>3.0.0</atlassian.plugins.webresource.version>
        <atlassian.rest.version>2.9.7</atlassian.rest.version>
        <atlassian.extras.version>3.1.1</atlassian.extras.version>
        <atlassian.bucket.version>1.3</atlassian.bucket.version>
        <atlassian.user.version>3.0</atlassian.user.version><!-- confluence needs 3.x, however, bamboo is still on 1.x, so be careful not to use anything not present in 1.x in bamboo -->
        <atlassian.secure.random.version>3.2.1</atlassian.secure.random.version>
        <slf4j.version>1.7.5</slf4j.version>
        <servlet.api.version>2.5</servlet.api.version>
        <guava.version>10.0.1</guava.version>
        <fugue.version>1.2.0</fugue.version>
        <commons.lang.version>3.1</commons.lang.version>
        <atlassian.soy.template.version>2.3.1</atlassian.soy.template.version>
        <junit.version>4.11</junit.version>
        <hamcrest.version>1.3</hamcrest.version>
        <restassured.version>2.3.2</restassured.version>
        <mockito.version>1.9.5</mockito.version>
        <qunit.version>0.47</qunit.version> <!-- 0.48+ requires WRM, 0.50+ requires WebResourceAssembler -->
        <amps.version>5.0.3</amps.version>
        <atlassian.applinks.version>4.0.11</atlassian.applinks.version>
        <scala.version>2.10.4</scala.version>
        <scala.maven.plugin.version>3.1.6</scala.maven.plugin.version>
        <tomcat.version>7.0.42</tomcat.version>
        <aui.version>5.6.10</aui.version>
        <jquery.version>1.8.3</jquery.version>
        <atlassian.analytics.version>3.12</atlassian.analytics.version>
        <atlassian.selenium.version>2.3-m4</atlassian.selenium.version>
        <atlassian.less.version>1.5.1</atlassian.less.version>

        <soy2html.plugin.version>1.8</soy2html.plugin.version>

        <cargo.timeout>120000</cargo.timeout>
        <cargo.containerid>tomcat7x</cargo.containerid>

        <xvfb.enable>true</xvfb.enable>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-user-management-common</artifactId>
                <version>${project.version}</version>
            </dependency>

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

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

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>horde-user-management-web-app</artifactId>
                <type>war</type>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>unified-admin-chrome</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>global-admin-billing</artifactId>
                <version>${project.version}</version>
                <type>war</type>
            </dependency>

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

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>hsqldb-web-app</artifactId>
                <type>war</type>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-persistence</artifactId>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-server-common</artifactId>
                <version>${crowd.version}</version>
            </dependency>

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

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-rest-common</artifactId>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-web-app</artifactId>
                <type>war</type>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>horde-web-app</artifactId>
                <type>war</type>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-acceptance-test</artifactId>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>horde-acceptance-test</artifactId>
                <version>${crowd.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.crowd</groupId>
                        <artifactId>crowd-rest-plugin</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.crowd</groupId>
                        <artifactId>crowd-rest-application-management</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-user-management-test-rest</artifactId>
                <version>${project.version}</version>
                <type>test-jar</type>
            </dependency>

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

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

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

            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras</artifactId>
                <version>${atlassian.extras.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.google.collections</groupId>
                        <artifactId>google-collections</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-renderer-api</artifactId>
                <version>${atlassian.soy.template.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-plugin</artifactId>
                <version>${atlassian.soy.template.version}</version>
            </dependency>

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

            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource</artifactId>
                <version>${atlassian.plugins.webresource.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-secure-random</artifactId>
                <version>${atlassian.secure.random.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence</artifactId>
                <version>${confluence.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.confluence</groupId>
                        <artifactId>confluence-bucket</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.gzipfilter</groupId>
                        <artifactId>atlassian-gzipfilter</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-core</artifactId>
                <version>${jira.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-api</artifactId>
                <version>${jira.version}</version>
            </dependency>
            <dependency>
                <groupId>opensymphony</groupId>
                <artifactId>webwork</artifactId>
                <version>1.4-atlassian-30</version>
            </dependency>

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

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

            <dependency>
                <groupId>com.atlassian.bamboo</groupId>
                <artifactId>atlassian-user-crowd-provider</artifactId>
                <version>${bamboo.version}</version>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>${slf4j.version}</version>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${slf4j.version}</version>
            </dependency>

            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>${servlet.api.version}</version>
            </dependency>

            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${commons.lang.version}</version>
            </dependency>

            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.8</version>
            </dependency>

            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.fugue</groupId>
                <artifactId>fugue</artifactId>
                <version>${fugue.version}</version>
            </dependency>

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

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

            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-module</artifactId>
                <version>${atlassian.rest.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-common</artifactId>
                <version>${atlassian.rest.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-user-management-page-objects</artifactId>
                <version>${project.version}</version>
            </dependency>

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

            <dependency>
                <groupId>com.atlassian.aui</groupId>
                <artifactId>auiplugin</artifactId>
                <version>${aui.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>soy-to-html-core</artifactId>
                <version>${soy2html.plugin.version}</version>
            </dependency>

            <dependency>
                <groupId>hsqldb</groupId>
                <artifactId>hsqldb</artifactId>
                <version>1.8.0.10</version>
            </dependency>

            <dependency>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <version>1.4.01</version>
            </dependency>

            <dependency>
                <groupId>javax.transaction</groupId>
                <artifactId>jta</artifactId>
                <version>1.1</version>
            </dependency>

            <dependency>
                <groupId>javax.mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.4.7</version>
            </dependency>

            <!--
            <dependency>
                <groupId>com.github.axet</groupId>
                <artifactId>kaptcha</artifactId>
                <version>0.0.9</version>
            </dependency>
            -->

            <dependency>
                <groupId>com.google.code.maven-play-plugin.net.tanesha.recaptcha4j</groupId>
                <artifactId>recaptcha4j</artifactId>
                <version>0.0.8</version>
            </dependency>

            <!-- Test Dependencies -->
            <dependency>
                <groupId>com.github.tomakehurst</groupId>
                <artifactId>wiremock</artifactId>
                <version>1.33</version>

                <!-- Include this if you have dependency conflicts for Guava, Jetty, Jackson or Apache HTTP Client -->
                <classifier>standalone</classifier>
            </dependency>

            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-test-resources</artifactId>
                <version>${sal.version}</version>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
            </dependency>

            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
            </dependency>

            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-core</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>

            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>

            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-all</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>

            <dependency>
                <groupId>com.jayway.restassured</groupId>
                <artifactId>rest-assured</artifactId>
                <version>${restassured.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.qunit</groupId>
                <artifactId>atlassian-qunit-plugin-util</artifactId>
                <version>${qunit.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-pageobjects</artifactId>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-test-utils</artifactId>
                <version>${crowd.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-pageobjects-elements</artifactId>
                <version>${atlassian.selenium.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-webdriver-core</artifactId>
                <version>${atlassian.selenium.version}</version>
            </dependency>

            <!-- atlassian-pageobjects requires at least 2.5 -->
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.5</version>
            </dependency>

            <dependency>
                <groupId>org.scala-lang</groupId>
                <artifactId>scala-library</artifactId>
                <version>${scala.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.jira.tests</groupId>
                <artifactId>jira-testkit-client</artifactId>
                <version>${jira.testkit.version}</version>
            </dependency>

            <dependency>
                <!-- confluence-test-support provides most of the shared acceptance testing API
                     and includes many dependencies. -->
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence-test-support</artifactId>
                <version>${confluence.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian</groupId>
                <artifactId>atlassian-test-categories</artifactId>
                <version>0.5</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>0.23</version>
                    <configuration>
                        <licensesDirectory>${user.dir}/third-party-licensing/licenses</licensesDirectory>
                        <bomFile>${user.dir}/third-party-licensing/bom.csv</bomFile>
                        <nonMavenDependenciesFile>${user.dir}/third-party-licensing/missing-non-maven-dependencies.properties</nonMavenDependenciesFile>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>soy-to-js-maven-plugin</artifactId>
                    <version>${soy2html.plugin.version}</version>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-plugin</artifactId>
                    <version>${amps.version}</version>
                    <configuration>
                        <allowGoogleTracking>false</allowGoogleTracking>
                        <forceUpdateCheck>false</forceUpdateCheck>
                        <skipAmpsPomCheck>true</skipAmpsPomCheck>
                        <excludeAllTestDependencies>true</excludeAllTestDependencies>
                        <!--<enableFastdev>false</enableFastdev>-->
                        <!--<enableDevToolbox>false</enableDevToolbox>-->
                        <!--<enablePde>false</enablePde>-->
                        <skipAllPrompts>true</skipAllPrompts>
                        <systemPropertyVariables>
                            <upm.pac.disable>true</upm.pac.disable>
                            <atlassian.upm.server.data.disable>true</atlassian.upm.server.data.disable>
                        </systemPropertyVariables>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-crowd-plugin</artifactId>
                    <version>${amps.version}</version>
                    <configuration>
                        <allowGoogleTracking>false</allowGoogleTracking>
                        <forceUpdateCheck>false</forceUpdateCheck>
                        <skipAmpsPomCheck>true</skipAmpsPomCheck>
                        <excludeAllTestDependencies>true</excludeAllTestDependencies>
                        <!--<enableFastdev>false</enableFastdev>-->
                        <!--<enableDevToolbox>false</enableDevToolbox>-->
                        <!--<enablePde>false</enablePde>-->
                        <skipAllPrompts>true</skipAllPrompts>
                        <systemPropertyVariables>
                            <upm.pac.disable>true</upm.pac.disable>
                            <atlassian.upm.server.data.disable>true</atlassian.upm.server.data.disable>
                            <adminchrome.servlet.path>/plugins/servlet/um</adminchrome.servlet.path>
                            <adminchrome.context.path>/crowd</adminchrome.context.path>
                        </systemPropertyVariables>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.codehaus.cargo</groupId>
                    <artifactId>cargo-maven2-plugin</artifactId>
                    <version>1.4.8</version>
                    <configuration>
                        <container>
                            <containerId>${cargo.containerid}</containerId>
                            <artifactInstaller>
                                <groupId>org.apache.tomcat</groupId>
                                <artifactId>apache-tomcat</artifactId>
                                <type>zip</type>
                                <version>${tomcat.version}</version>
                                <extractDir>${basedir}/target/cargo-installs</extractDir>
                            </artifactInstaller>
                            <timeout>${cargo.timeout}</timeout>
                        </container>
                        <properties>
                            <cargo.logging>medium</cargo.logging>
                        </properties>
                        <skip>${skipTests}</skip>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>net.alchim31.maven</groupId>
                    <artifactId>scala-maven-plugin</artifactId>
                    <version>${scala.maven.plugin.version}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>testCompile</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <scalaVersion>${scala.version}</scalaVersion>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>2.17</version>
                </plugin>

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

                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>1.3.1</version>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.lesscss</groupId>
                    <artifactId>lesscss-maven-plugin</artifactId>
                    <version>${atlassian.less.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>
