<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.upm</groupId>
    <artifactId>atlassian-universal-plugin-manager</artifactId>
    <version>2.20.3</version>
    <packaging>pom</packaging>
    <name>Universal Plugin Manager - Parent POM</name>
    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>closedsource-pom</artifactId>
        <version>3.0.91</version>
    </parent>
    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com</url>
    </organization>
    <scm>
        <connection>scm:git:git@bitbucket.org:atlassian-marketplace/atlassian-upm.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:atlassian-marketplace/atlassian-upm.git</developerConnection>
        <url>${bitbucket.url}</url>
    </scm>
    <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>
    <modules>
        <module>atlassian-universal-plugin-manager-test-resources</module>
        <module>upm-api</module>
        <module>upm-common</module>
        <module>upm-spi</module>
        <module>testing</module>
        <module>licensing-parent</module>
        <module>mail-service-parent</module>
        <module>mpac-client</module>
        <module>upm-application-plugin</module>
        <module>upm-core</module>
        <module>upm-core-resources</module>
        <module>plugin-installer-plugin</module>
        <module>atlassian-universal-plugin-manager-selfupdate-plugin</module>
        <module>atlassian-universal-plugin-manager-plugin</module>
        <module>fake-mac-plugin</module>
        <module>fake-pac-plugin</module>
        <module>atlassian-universal-plugin-manager-pageobjects</module>
        <module>wired-tests</module>
        <module>atlassian-universal-plugin-manager-webresource-transformers</module>
    </modules>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-fileupload</groupId>
                <artifactId>commons-fileupload</artifactId>
                <version>1.3.1</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.1.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>1.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>${httpclient.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient-cache</artifactId>
                <version>${httpclient.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpcore</artifactId>
                <version>${httpcore.version}</version>
            </dependency>
            <dependency>
                <groupId>javax.ws.rs</groupId>
                <artifactId>jsr311-api</artifactId>
                <version>1.1.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-core-asl</artifactId>
                <version>${jackson.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-mapper-asl</artifactId>
                <version>${jackson.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-jaxrs</artifactId>
                <version>${jackson.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-xc</artifactId>
                <version>${jackson.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.templaterenderer</groupId>
                <artifactId>atlassian-template-renderer-api</artifactId>
                <version>1.0.5</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-renderer-api</artifactId>
                <version>${soy.templates.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-plugin</artifactId>
                <version>${soy.templates.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>less-transformer-plugin</artifactId>
                <version>${atlassian.less.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-compat</artifactId>
                <version>1.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-common</artifactId>
                <version>${atlassian.rest.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.sun.jersey</groupId>
                <artifactId>jersey-core</artifactId>
                <version>1.0.3-atlassian-1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>2.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.sling</groupId>
                <artifactId>org.apache.sling.commons.osgi</artifactId>
                <version>2.0.4-incubator</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.integrationtesting</groupId>
                <artifactId>atlassian-integrationtesting-lib</artifactId>
                <version>${ait.version}</version>
                <scope>test</scope>
	            <exclusions>
	                <exclusion>
	                    <artifactId>google-collections</artifactId>
	                    <groupId>com.atlassian.bundles</groupId>
	                </exclusion>
	            </exclusions>
            </dependency>
            <dependency>
               <groupId>com.atlassian.plugins</groupId>
               <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
               <version>${amps.osgitestrunner.version}</version>
               <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-connect-plugin</artifactId>
                <version>${atlassian.connect.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-plugin</artifactId>
                <version>${jwt.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-api</artifactId>
                <version>${jwt.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-core</artifactId>
                <version>${jwt.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>json-schema-validator-atlassian-bundle</artifactId>
                <version>${atlassian.json.schema.validator.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit-dep</artifactId>
                <version>4.10</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>1.8.1</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian</groupId>
                <artifactId>atlassian-test-categories</artifactId>
                <version>0.5</version>
                <scope>test</scope>
            </dependency>
            <dependency>
               <groupId>com.google.code.gson</groupId>
               <artifactId>gson</artifactId>
               <version>2.2.2-atlassian-1</version>
               <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>rhino</groupId>
                <artifactId>js</artifactId>
                <version>1.7R1</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.sun.jersey.contribs</groupId>
                <artifactId>jersey-apache-client</artifactId>
                <version>1.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-all</artifactId>
                <version>1.3</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.sun.jersey.contribs</groupId>
                <artifactId>jersey-multipart</artifactId>
                <version>1.0.2</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.analytics</groupId>
                <artifactId>analytics-api</artifactId>
                <version>${analytics.api.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.event</groupId>
                <artifactId>atlassian-event</artifactId>
                <version>2.0.0</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.bundles</groupId>
                        <artifactId>google-collections</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-core</artifactId>
                <version>${atlassian.plugins.version}</version>
                <scope>provided</scope>
	            <exclusions>
	                <exclusion>
                        <groupId>com.google.collections</groupId>
	                    <artifactId>google-collections</artifactId>
	                </exclusion>
	            </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-osgi</artifactId>
                <version>${atlassian.plugins.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webfragment</artifactId>
                <version>${atlassian.plugins.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource</artifactId>
                <version>${atlassian.plugins.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.5.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>1.5.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.velocity</groupId>
                <artifactId>velocity-tools</artifactId>
                <version>1.3</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>struts</groupId>
                        <artifactId>struts</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>velocity</groupId>
                        <artifactId>velocity</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>jsr305</artifactId>
                <version>1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-api</artifactId>
                <version>${sal.api.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.usercompatibility</groupId>
                <artifactId>usercompatibility-sal</artifactId>
                <version>${sal.usercompatibility.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>${joda.time.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>rome</groupId>
                <artifactId>rome</artifactId>
                <version>1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.jdom</groupId>
                <artifactId>com.springsource.org.jdom</artifactId>
                <version>1.0.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>2.5.5</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>2.5.5</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.compendium</artifactId>
                <version>1.4.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.apache.felix.bundlerepository</artifactId>
                <version>1.4.0</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>org.osgi.core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sf.kxml</groupId>
                        <artifactId>kxml2</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.osgi</groupId>
                        <artifactId>org.osgi.core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.easymock</groupId>
                        <artifactId>easymock</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.service.obr</artifactId>
                <version>1.0.2</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.osgi</groupId>
                        <artifactId>org.osgi.core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.annotations</groupId>
                <artifactId>atlassian-annotations</artifactId>
                <version>${atlassian.annotations.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.util.concurrent</groupId>
                <artifactId>atlassian-util-concurrent</artifactId>
                <version>${atlassian.concurrent.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-secure-random</artifactId>
                <version>1.0</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>upm-spi</artifactId>
                <version>${project.version}</version>
            </dependency>
            <!-- test plugins -->
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v2-license-checker-role-based</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v2-installable</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v2-bundled-has-no-update</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v2-bundled-rbp</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v2-installable-has-no-update</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-test-plugin-v1-installable</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-webdriver-core</artifactId>
                <version>${atlassian.selenium.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-library</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.refapp</groupId>
                <artifactId>atlassian-refapp-pageobjects</artifactId>
                <version>${refapp.pageobjects.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>atlassian-jira-pageobjects</artifactId>
                <version>${jira.pageobjects.version}</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.selenium</groupId>
                        <artifactId>atlassian-pageobjects-elements</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.selenium</groupId>
                        <artifactId>atlassian-pageobjects-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.beehive</groupId>
                        <artifactId>beehive-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash</groupId>
                <artifactId>stash-page-objects</artifactId>
                <version>${stash.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-page-objects</artifactId>
                <version>${bitbucket.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-api</artifactId>
                <version>${jira.target.version}</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.google.collections</groupId>
                        <artifactId>google-collections</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.bundles</groupId>
                        <artifactId>google-collections</artifactId>
                    </exclusion>
                    <exclusion> <!-- UPM-4406 -->
                        <groupId>com.atlassian.soy</groupId>
                        <artifactId>soy-template-renderer-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.beehive</groupId>
                        <artifactId>beehive-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence</artifactId>
                <version>${confluence.version}</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.beehive</groupId>
                        <artifactId>beehive-api</artifactId>
                    </exclusion>
                    <exclusion>
	                    <groupId>com.google.collections</groupId>
	                    <artifactId>google-collections</artifactId>
                    </exclusion>
                    <exclusion> <!-- UPM-4406 -->
                        <groupId>com.atlassian.soy</groupId>
                        <artifactId>soy-template-renderer-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jul-to-slf4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jcl-over-slf4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash</groupId>
                <artifactId>stash-api</artifactId>
                <version>${stash.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-api</artifactId>
                <version>${bitbucket.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bamboo</groupId>
                <artifactId>atlassian-bamboo-api</artifactId>
                <version>${bamboo.version}</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.extras</groupId>
                        <artifactId>atlassian-extras-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.extras</groupId>
                        <artifactId>atlassian-extras</artifactId>
                    </exclusion>
                    <exclusion> <!-- UPM-4406 -->
                        <groupId>com.atlassian.soy</groupId>
                        <artifactId>soy-template-renderer-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.fisheye</groupId>
                <artifactId>atlassian-fisheye-api</artifactId>
                <version>${fecru.version}</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion> <!-- UPM-4406 -->
                        <groupId>com.atlassian.soy</groupId>
                        <artifactId>soy-template-renderer-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.fisheye</groupId>
                <artifactId>fisheye-jar</artifactId>
                <version>${fecru.version}</version>
                <scope>provided</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.fisheye</groupId>
                        <artifactId>atlassian-fisheye-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.extras</groupId>
                        <artifactId>atlassian-extras</artifactId>
                    </exclusion>
                    <exclusion> <!-- UPM-4406 -->
                        <groupId>com.atlassian.soy</groupId>
                        <artifactId>soy-template-renderer-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.beehive</groupId>
                <artifactId>beehive-compat</artifactId>
                <version>${beehive.compat.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
              <groupId>com.atlassian.application</groupId>
              <artifactId>atlassian-application-api</artifactId>
              <version>${atlassian.application.api.version}</version>
              <scope>provided</scope>
            </dependency>
            <dependency>
              <groupId>com.atlassian.application</groupId>
              <artifactId>atlassian-application-host</artifactId>
              <version>${atlassian.application.api.version}</version>
              <scope>provided</scope>
              <exclusions>
                  <exclusion>
                      <groupId>com.google.collections</groupId>
                      <artifactId>google-collections</artifactId>
                  </exclusion>
              </exclusions>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>1.6</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-plugin</artifactId>
                    <version>${amps.version}</version>
                    <extensions>true</extensions>
                    <configuration>
                        <extractDependencies>false</extractDependencies> <!-- will enable this on a per-module basis -->
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <skip>${maven.test.unit.skip}</skip>
                        <excludes>
                            <exclude>it/**/*</exclude>
                            <exclude>com/atlassian/upm/test/*</exclude>
                        </excludes>
                        <systemProperties>
                            <property>
                                <name>jsunit.entrypoint</name>
                                <value>${basedir}/src/test/javascript/test.js</value>
                            </property>
                        </systemProperties>
                        <junitArtifactName>junit:junit-dep</junitArtifactName>
                        <argLine>-Xmx768m</argLine>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.1</version>
                    <configuration>
                        <source>${jdkLevel}</source>
                        <target>${jdkLevel}</target>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.2.2</version>
                    <configuration>
                        <arguments>-Prelease -DtestGroups=refapp -DskipTests</arguments>
                    </configuration>
                </plugin>
                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>com.atlassian.maven.plugins</groupId>
                                        <artifactId>maven-amps-plugin</artifactId>
                                        <versionRange>[${amps.version},)</versionRange>
                                        <goals>
                                            <goal>compress-resources</goal>
                                            <goal>copy-bundled-dependencies</goal>
                                            <goal>copy-test-bundled-dependencies</goal>
                                            <goal>filter-plugin-descriptor</goal>
                                            <goal>filter-test-plugin-descriptor</goal>
                                            <goal>generate-manifest</goal>
                                            <goal>generate-rest-docs</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>com.atlassian.maven.plugins</groupId>
                                        <artifactId>maven-refapp-plugin</artifactId>
                                        <versionRange>[${amps.version},)</versionRange>
                                        <goals>
                                            <goal>compress-resources</goal>
                                            <goal>copy-bundled-dependencies</goal>
                                            <goal>filter-plugin-descriptor</goal>
                                            <goal>generate-manifest</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-dependency-plugin</artifactId>
                                        <versionRange>[2.0,)</versionRange>
                                        <goals>
                                            <goal>copy-dependencies</goal>
                                            <goal>unpack</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-antrun-plugin</artifactId>
                                        <versionRange>[1.6,)</versionRange>
                                        <goals>
                                            <goal>run</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                	<pluginExecutionFilter>
                                		<groupId>
                                			org.codehaus.mojo
                                		</groupId>
                                		<artifactId>
                                			build-helper-maven-plugin
                                		</artifactId>
                                		<versionRange>
                                			[1.7,)
                                		</versionRange>
                                		<goals>
                                			<goal>regex-property</goal>
                                			<goal>
                                				timestamp-property
                                			</goal>
                                		</goals>
                                	</pluginExecutionFilter>
                                	<action>
                                		<ignore />
                                	</action>
                                </pluginExecution>
                                <pluginExecution>
                                	<pluginExecutionFilter>
                                		<groupId>
                                			com.github.koraktor
                                		</groupId>
                                		<artifactId>
                                			mavanagaiata
                                		</artifactId>
                                		<versionRange>
                                			[0.5.0,)
                                		</versionRange>
                                		<goals>
                                			<goal>commit</goal>
                                			<goal>branch</goal>
                                		</goals>
                                	</pluginExecutionFilter>
                                	<action>
                                		<ignore />
                                	</action>
                                </pluginExecution>
                                <pluginExecution>
                                	<pluginExecutionFilter>
                                		<groupId>net.sf.alchim</groupId>
                                		<artifactId>
                                			yuicompressor-maven-plugin
                                		</artifactId>
                                		<versionRange>
                                			[0.7.1,)
                                		</versionRange>
                                		<goals>
                                			<goal>compress</goal>
                                		</goals>
                                	</pluginExecutionFilter>
                                	<action>
                                		<ignore />
                                	</action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
                <!-- Used for rainicorn build stamping: -->
                <plugin>
                    <groupId>com.github.koraktor</groupId>
                    <artifactId>mavanagaiata</artifactId>
                    <version>0.7.0</version>
                    <configuration>
                        <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
                        <skipNoGit>true</skipNoGit>
                        <dirtyIgnoreUntracked>true</dirtyIgnoreUntracked>
                        <dirtyFlag>-dirty</dirtyFlag>
                    </configuration>
                    <executions>
                        <execution>
                            <id>load-git-branch-commit</id>
                            <goals>
                                <goal>branch</goal>
                                <goal>commit</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.9</version>
                    <executions>
                        <execution>
                            <phase>validate</phase>
                            <id>parse-version</id>
                            <goals>
                                <goal>parse-version</goal>
                            </goals>
                            <configuration>
                                <propertyPrefix>parsedVersion</propertyPrefix>
                            </configuration>
                        </execution>
                        <execution>
                            <id>build-timestamp</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>timestamp-property</goal>
                            </goals>
                            <configuration>
                                <name>rainicorn.build.date</name>
                                <pattern>yyyy-MM-dd'T'HH:mm:ss.SSS'Z'</pattern>
                                <timeZone>GMT</timeZone>
                            </configuration>
                        </execution>
                        <execution>
                            <id>regex-property-trim</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>regex-property</goal>
                            </goals>
                            <configuration>
                                <name>mvngit.commit.trimmedid</name>
                                <value>${mvngit.commit.id}</value>
                                <regex>^([0-9a-f]+)(-dirty)?$</regex>
                                <replacement>$1</replacement>
                                <failIfNoMatch>false</failIfNoMatch>
                            </configuration>
                        </execution>
                        <execution>
                            <id>regex-property-dirty-step-1</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>regex-property</goal>
                            </goals>
                            <configuration>
                                <name>mvngit.commit.clean</name>
                                <value>${mvngit.commit.id}</value>
                                <regex>^([0-9a-f]+)(-dirty)?$</regex>
                                <replacement>$2X</replacement>
                                <failIfNoMatch>false</failIfNoMatch>
                            </configuration>
                        </execution>
                        <execution>
                            <id>regex-property-dirty-step-2</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>regex-property</goal>
                            </goals>
                            <configuration>
                                <name>mvngit.commit.clean</name>
                                <value>${mvngit.commit.clean}</value>
                                <regex>^-dirtyX$</regex>
                                <replacement>false</replacement>
                                <failIfNoMatch>false</failIfNoMatch>
                            </configuration>
                        </execution>
                        <execution>
                            <id>regex-property-dirty-step-3</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>regex-property</goal>
                            </goals>
                            <configuration>
                                <name>mvngit.commit.clean</name>
                                <value>${mvngit.commit.clean}</value>
                                <regex>^X$</regex>
                                <replacement>true</replacement>
                                <failIfNoMatch>false</failIfNoMatch>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>2.8.1-atlassian-1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-source-routes-plugin</artifactId>
                    <version>1.7</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.5</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>test-jar</goal>
                            </goals>
                            <configuration>
                                <forceCreation>true</forceCreation>
                            </configuration>
                        </execution>
                    </executions>
                    <configuration>
                        <excludes>
                            <exclude>**/*.zip</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <configuration>
                        <useJvmChmod>true</useJvmChmod>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <properties>
        <jdkLevel>1.6</jdkLevel>
        <source.encoding>UTF-8</source.encoding>
        <project.build.sourceEncoding>${source.encoding}</project.build.sourceEncoding>
        <project.reporting.outputEncoding>${source.encoding}</project.reporting.outputEncoding>
        <atlassian.plugins.version>2.9.0</atlassian.plugins.version>
        <atlassian.rest.version>2.2.0</atlassian.rest.version>
        <atlassian.extras.version>3.1.3</atlassian.extras.version>
        <atlassian.extras.legacy.version>2.7</atlassian.extras.legacy.version>
        <atlassian.mail.version>1.16</atlassian.mail.version>
        <amps.version>6.1.0-e937d1f</amps.version>
        <amps.osgitestrunner.version>1.2.2</amps.osgitestrunner.version>
        <refapp.version>2.21.0-m02</refapp.version>
        <refapp.pageobjects.version>2.13.0-beta1</refapp.pageobjects.version>
        <atlassian.qunit.version>1.0.0</atlassian.qunit.version>
        <httpclient.version>4.3.5</httpclient.version>
        <httpcore.version>4.3.3</httpcore.version>
        <atlassian.connect.version>1.1.30</atlassian.connect.version>
        <atlassian.json.schema.validator.version>1.0.4</atlassian.json.schema.validator.version>
        <jwt.version>1.1.0</jwt.version>
        <atlassian.scheduler.version>1.0</atlassian.scheduler.version>
        <jackson.version>1.4.4</jackson.version>
        <soy.templates.version>2.8.0</soy.templates.version>
        <atlassian.less.version>2.1.1</atlassian.less.version>

        <upm.role.based.target.version>2.16</upm.role.based.target.version>

        <!-- all supported product versions to test against; the "target" versions are the oldest compatible version, whose API we will use -->
        <bamboo.target.version>5.4</bamboo.target.version>
        <bamboo54.version>5.4.3</bamboo54.version>
        <bamboo55.version>5.5.1</bamboo55.version>
        <bamboo56.version>5.6.2</bamboo56.version>
        <bamboo57.version>5.7.2</bamboo57.version>
        <bamboo58.version>5.8.1</bamboo58.version>

        <confluence.target.version>5.1</confluence.target.version>
        <confluence51.version>5.1</confluence51.version>
        <confluence52.version>5.2</confluence52.version>
        <confluence53.version>5.3</confluence53.version>
        <confluence54.version>5.4.1</confluence54.version>
        <confluence55.version>5.5.4</confluence55.version>
        <confluence56.version>5.6</confluence56.version>
        <confluence57.version>5.7.4</confluence57.version>
        <confluence58.version>5.8.1-beta2</confluence58.version>

        <fecru.target.version>3.5.2</fecru.target.version>
        <fecru35.version>3.5.2-20140806120101</fecru35.version>

        <jira.target.version>6.1</jira.target.version>
        <jira61.version>6.1.7</jira61.version>
        <jira62.version>6.2.5</jira62.version>
        <jira63.version>6.3.4</jira63.version>
        <jira64.version>6.4</jira64.version>
        <jira70.version>7.0.0-QR20150910225834</jira70.version>
        <jira-software70.version>7.0.0-D20150908T055304</jira-software70.version>

        <crowd.rbp.version>2.8.0-OD-4</crowd.rbp.version>

        <stash.target.version>1.2.0</stash.target.version>
        <stash12.version>1.2.4</stash12.version>
        <stash13.version>1.3.1</stash13.version>
        <stash20.version>2.0.1</stash20.version>
        <stash21.version>2.1.2</stash21.version>
        <stash22.version>2.2.0</stash22.version>
        <stash23.version>2.3.1</stash23.version>
        <stash24.version>2.4.2</stash24.version>
        <stash25.version>2.5.2</stash25.version>
        <stash26.version>2.6.4</stash26.version>
        <stash27.version>2.7.4</stash27.version>
        <stash28.version>2.8.2</stash28.version>
        <stash29.version>2.9.5</stash29.version>
        <stash210.version>2.10.5</stash210.version>
        <stash211.version>2.11.9</stash211.version>
        <stash212.version>2.12.6</stash212.version>
        <stash30.version>3.0.7</stash30.version>
        <stash31.version>3.1.4</stash31.version>
        <stash32.version>3.2.4</stash32.version>
        <stash33.version>3.3.3</stash33.version>
        <stash34.version>3.4.5</stash34.version>
        <stash35.version>3.5.1</stash35.version>
        <stash36.version>3.6.1</stash36.version>
        <stash37.version>3.7.0</stash37.version>

        <bitbucket.target.version>4.0.0</bitbucket.target.version>
        <bitbucket40.version>4.0.0-m25</bitbucket40.version>

        <!-- the default product versions to test against. preferably the latest final release of each product -->
        <jira.version>${jira70.version}</jira.version>
        <jira-software.version>${jira-software70.version}</jira-software.version>
        <confluence.version>${confluence58.version}</confluence.version>
        <stash.version>${stash37.version}</stash.version>
        <bamboo.version>${bamboo58.version}</bamboo.version>
        <fecru.version>${fecru35.version}</fecru.version>
        <bitbucket.version>${bitbucket40.version}</bitbucket.version>

        <jira.pageobjects.version>${jira.version}</jira.pageobjects.version>
        <ait.version>1.0.beta18</ait.version>
        <guava.version>10.0.1</guava.version>
        <joda.time.version>1.6</joda.time.version>
        <sal.api.version>2.7.0</sal.api.version>
        <sal3.api.version>3.0.0</sal3.api.version>
        <sal3.api.target.version>3.0</sal3.api.target.version>
        <atlassian.annotations.version>0.12</atlassian.annotations.version>
        <atlassian.application.api.version>1.0</atlassian.application.api.version>
        <atlassian.application.api.target.version>1.0</atlassian.application.api.target.version>
        <sal.usercompatibility.version>0.5</sal.usercompatibility.version>
        <analytics.api.version>3.35</analytics.api.version>
        <beehive.compat.version>0.1.5</beehive.compat.version>
        <beehive.target.version>0.0.4</beehive.target.version> <!-- Beehive version exported by host applications -->
        <atlassian.id.baseurl>http://localhost:${httpPort}${contextPath}/rest/fakemac/1.0</atlassian.id.baseurl>
        <atlassian.concurrent.version>2.3.0</atlassian.concurrent.version>
        <atlassian.dev.mode>false</atlassian.dev.mode>
        <upm.test.update.version>99</upm.test.update.version>
        <contextPath>/upm</contextPath>
        <httpPort>3990</httpPort>
        <hamlet.baseurl>http://localhost:${httpPort}${contextPath}/rest/fakemac/1.0/hamlet</hamlet.baseurl>
        <mac.baseurl>http://localhost:${httpPort}${contextPath}/plugins/servlet/fakemac</mac.baseurl>
        <mac.billing.url>${contextPath}/rest/fakemac/1.0/billing</mac.billing.url>
        <mpac.baseurl>http://localhost:${httpPort}${contextPath}/rest/fakempac/1.0</mpac.baseurl>
        <mpac.website>${mpac.baseurl}</mpac.website>
        <topology.baseurl>http://marketplace.stg.internal.atlassian.com/topology</topology.baseurl>
        <shopping.cart.url>http://localhost:${httpPort}${contextPath}/plugins/servlet/fakemac</shopping.cart.url>
        <atlassian.upm.server.data.disable>false</atlassian.upm.server.data.disable>
        <analytics.server>product-metrics.dev.internal.atlassian.com:12345</analytics.server>
        <utac.server>dashboard-test.atlassian.com</utac.server>
        <utac.httpPort>80</utac.httpPort>
        <utac.jira.contextPath>/jira</utac.jira.contextPath>
        <utac.confluence.contextPath>/confluence</utac.confluence.contextPath>
        <atlassian.webresource.disable.minification>true</atlassian.webresource.disable.minification>
        <atlassian.upm.debug>true</atlassian.upm.debug>
        <atlassian.upm.on.demand.plugin.installation.allowed>true</atlassian.upm.on.demand.plugin.installation.allowed>
        <atlassian.upm.on.demand.update.check.interval>6</atlassian.upm.on.demand.update.check.interval>
        <atlassian.upm.on.demand>false</atlassian.upm.on.demand>
        <upm.pac.disable>false</upm.pac.disable>
        <!-- UPM-1782 AMPS won't allow me to leave this blank, but I don't want it to have any recognized plugin keys by default -->
        <atlassian.upm.user.installed.override>This will not resolve to any plugin unless overridden</atlassian.upm.user.installed.override>
        <atlassian.upm.on.demand.pva.blacklist>jira-timesheet-plugin,com.balsamiq.jira.plugins.mockups,com.balsamiq.confluence.plugins.mockups,org.swift.confluence.table</atlassian.upm.on.demand.pva.blacklist>
        <atlassian.upm.installer.plugin.scan.directory>${basedir}/src/test/resources/plugin-scan-directory</atlassian.upm.installer.plugin.scan.directory>
        <atlassian.upm.check.license.feature>false</atlassian.upm.check.license.feature>
        <atlassian.selenium.version>2.3-m8</atlassian.selenium.version>
        <xvfb.enable>true</xvfb.enable>
        <webdriver.browser>firefox</webdriver.browser>
        <doclava.theme.dir>${basedir}/target/doclava</doclava.theme.dir>
        <doclava.theme.version>0.12</doclava.theme.version>
        <atlassian.remote.apps.version>0.8.1068</atlassian.remote.apps.version>

        <!-- UPM-2853: suppress spurious AMPS 4.0 prompts -->
        <skipAllPrompts>true</skipAllPrompts>
        <enableSdkTools>true</enableSdkTools>
        <!-- changed to using QuickReload instead of FastDev (maybe until AMPS-1151 is fixed) -->
        <!-- see atlassian-universal-plugin-manager-integration-tests/.quickreload for list of quick reload directories to check -->
        <enableFastdev>false</enableFastdev>
        <quickreload.version>1.13</quickreload.version>

        <mavanagaiata.baseDir>${project.basedir}</mavanagaiata.baseDir>
        <bitbucket.url>https://bitbucket.org/atlassian-marketplace/atlassian-upm</bitbucket.url>

        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps> <!-- Certain dependencies like the pageobjects add-on are rarely released in "final" versions. -->
    </properties>
    <profiles>

        <profile>
            <!-- UPM-3634 provide a way that is enabled by default but allows for running unit tests by themselves
                 (meaning, without any integration, ui, or wired tests) -->
            <id>executeIntegrationAndUiTests</id>
            <modules>
                <module>atlassian-universal-plugin-manager-integration-tests</module>
            </modules>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
        </profile>

        <profile>
            <id>ie</id>
            <properties>
                <webdriver.browser>ie</webdriver.browser>
                <xvfb.enable>false</xvfb.enable>
            </properties>
        </profile>

        <profile>
            <id>win7-firefox</id>
            <properties>
                <webdriver.browser>firefox-3.5</webdriver.browser>
                <xvfb.enable>false</xvfb.enable>
            </properties>
        </profile>

        <profile>
            <id>deploy</id>
            <build>
                <defaultGoal>deploy</defaultGoal>
            </build>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
        </profile>

        <profile>
            <id>upmCI</id>
            <properties>
                <enableSdkTools>false</enableSdkTools>
            </properties>
        </profile>

        <profile>
            <id>release</id>
            <properties>
                <skipITs>true</skipITs>
            </properties>
            <!-- The integration test module normally gets included by default with the executeIntegrationAndUiTests, but the "activated by default"
                 profiles don't get activated when the -P argument is provided (which is commonly done as -Prelease for releases). -->
            <modules>
                <module>atlassian-universal-plugin-manager-integration-tests</module>
            </modules>
            <build>
                <plugins>
                    <plugin>
                        <!-- UPM-4735: By default, publish all source jars to Maven. This can be overridden by private
                                       artifacts which shouldn't have their sources published. -->
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
