<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

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

    <groupId>com.atlassian.bitbucket.server</groupId>
    <artifactId>bitbucket-parent</artifactId>
    <version>7.6.3</version>
    <packaging>pom</packaging>

    <name>Bitbucket Server - Parent</name>
    <organization>
        <name>Atlassian</name>
        <url>https://www.atlassian.com</url>
    </organization>

    <scm>
        <connection>scm:git:ssh://git@stash.dev.internal.atlassian.com:7999/STASH/stash.git</connection>
        <developerConnection>scm:git:ssh://git@stash.dev.internal.atlassian.com:7999/STASH/stash.git</developerConnection>
        <url>scm:git:http://stash.dev.internal.atlassian.com/git/STASH/stash.git</url>
        <tag>bitbucket-parent-7.6.3</tag>
    </scm>

    <properties>
        <jdkLevel>1.8</jdkLevel>
        <skip.unit.tests>false</skip.unit.tests>
        <skipTests>${skip.unit.tests}</skipTests>
        <maven.build.timestamp.format>yyyyMMdd'T'HHmmss,SSSZ</maven.build.timestamp.format>
        <maven.compiler.source>${jdkLevel}</maven.compiler.source>
        <maven.compiler.target>${jdkLevel}</maven.compiler.target>
        <!-- JDK 1.8.0-91 and below have a bug that cause compile failure with MergeCheckToHooksV2UpgradeTask.java -->
        <requireJavaVersion>${jdkLevel}.0-92</requireJavaVersion>
        <servlet.api.version>3.1.0</servlet.api.version>
        <source.encoding>UTF-8</source.encoding>
        <tomcat.containerId>tomcat9x</tomcat.containerId>
        <project.build.sourceEncoding>${source.encoding}</project.build.sourceEncoding>
        <project.reporting.outputEncoding>${source.encoding}</project.reporting.outputEncoding>
        <maven.findbugs.plugin.version>3.0.5</maven.findbugs.plugin.version>
        <maven.javadoc.plugin.version>3.0.1</maven.javadoc.plugin.version>
        <maven.pmd.plugin.version>3.10.0</maven.pmd.plugin.version>
        <!-- Upgrading this to 3.0.1 breaks the plugin-util bundle, which starts setting a minimum version on the
             javax.annotation package because 3.0.1 adds OSGi bundle headers to its manifest. -->
        <findbugs.version>3.0.0</findbugs.version>

        <!-- Defines whether the UI tests should pop up Firefox (true = hide Firefox) -->
        <xvfb.enable>true</xvfb.enable>
        <!-- defines which browser func test bucket to run. Should only be used in CI:
             a func test will be run if testClass.name().hashcode() % buckets == bucket
             otherwise tests are run as normal - same port, same home etc -->
        <stash.test.func.buckets>1</stash.test.func.buckets>
        <stash.test.func.bucket>0</stash.test.func.bucket>

        <!-- defines the number of times a failing test will be retried, in order to diagnostic
             whether the test is flaky or not. This is currently only applied to the browser tests -->
        <stash.test.func.retries>3</stash.test.func.retries>

        <stash.startup.timeout>300000</stash.startup.timeout>

        <!-- Default to running integration tests. Any of the following may be used to skip integration tests:
             * -DskipIntegrationTests=true
             * -DskipITs=true
             * -PskipIntegrationTests

             Note: skipTests only controls skipping _unit tests_. Passing -DskipTests=true will _not_ skip integration
             tests in AMPS/Failsafe. -->
        <skipIntegrationTests>false</skipIntegrationTests>
        <skipITs>${skipIntegrationTests}</skipITs>

        <clover.report.path>${project.basedir}/etc/clover/clover-report.xml</clover.report.path>
        <findbugs.excludefilterfile.path>etc/findbugs/findbugs-excludes.xml</findbugs.excludefilterfile.path>
        <findbugs.includefilterfile.path>etc/findbugs/findbugs-includes.xml</findbugs.includefilterfile.path>
        <findbugs.only.analyze>com.atlassian.stash.-,com.atlassian.bitbucket.-</findbugs.only.analyze>

        <!-- Defines common Surefire arguments. commonArgLine is intended to be reusable. argLine is replaceable. For
             nested modules which need additional Surefire configuration, they can override the argLine property, and
             use the commonArgLine property to retain the initial configuration.-->
        <surefire.commonArgLine>-Dfile.encoding=UTF-8 -Djava.awt.headless=true</surefire.commonArgLine>
        <surefire.argLine>${surefire.commonArgLine}</surefire.argLine>

        <!-- skips the generation of the bundled-plugins zip -->
        <skip.plugins.bundled.zip>false</skip.plugins.bundled.zip>

        <!-- skips the generation of the plugins' REST and javadoc documentation -->
        <skip.plugins.rest.docs>true</skip.plugins.rest.docs>

        <!-- if true, skip running NPM install during webapp build (intended to be overridden via the command line) -->
        <skipNpmInstall>false</skipNpmInstall>

        <!-- Atlassian module versions -->
        <activeobjects.version>3.2.7</activeobjects.version>
        <atl.beehive.version>2.0.0</atl.beehive.version>
        <atl.botocss.version>6.6</atl.botocss.version>
        <atl.cache.version>5.3.3</atl.cache.version>
        <atl.chaperone.version>4.1.6</atl.chaperone.version>
        <atl.connect.version>2.0.0-m2</atl.connect.version>
        <atl.config.version>0.30</atl.config.version>
        <atl.dev.status.api.version>2.5.9</atl.dev.status.api.version>
        <!-- Note: Upgrade this with caution, and talk to @behumphreys first. This dependency does not follow semver
             so what might look like a bugfix upgrade will actually bring in API, platform changes and more. -->
        <atl.diagnostics.version>1.1.2</atl.diagnostics.version>
        <atl.extras.version>3.4.1</atl.extras.version>
        <atl.functest.version>0.7.3</atl.functest.version>
        <atl.fusion.schema.version>2.0.0</atl.fusion.schema.version>
        <atl.hazelcast.extras.version>3.0.1</atl.hazelcast.extras.version>
        <atl.hibernate.extras.version>6.2.2</atl.hibernate.extras.version>
        <atl.html.encoder.version>1.5</atl.html.encoder.version>
        <atl.http.version>2.0.7</atl.http.version>
        <atl.httpclient.version>2.1.0</atl.httpclient.version>
        <atl.json.version>0.11</atl.json.version>
        <!-- Note: 1.0.5 doesn't publish the source for some reason. If bumping this, make sure you run a branch
             plan of the Master Source build before merging. -->
        <atl.json.validator.version>1.0.4</atl.json.validator.version>
        <atl.jwt.version>3.2.0</atl.jwt.version>
        <atl.less.version>4.0.0</atl.less.version>
        <atl.mail.version>5.0.2</atl.mail.version>
        <atl.prettyurls.version>3.0.3</atl.prettyurls.version>
        <atl.keystore.version>1.8</atl.keystore.version>
        <atl.profiling.version>3.4.3</atl.profiling.version>
        <atl.remote.event.version>6.2.2</atl.remote.event.version>
        <atl.scheduler.version>3.1.0</atl.scheduler.version>
        <atl.security.version>3.2.14</atl.security.version>
        <atl.selenium.version>3.0.0</atl.selenium.version>
        <atl.stash.remote.event>0.9.2</atl.stash.remote.event>
        <atl.swagger.doclet.version>0.8</atl.swagger.doclet.version>
        <atl.tenancy.version>3.0.1</atl.tenancy.version>
        <atl.visual.comparison.version>${atl.selenium.version}</atl.visual.comparison.version>
        <atl.soy.version>5.0.0</atl.soy.version>
        <atl.uri.version>1.0</atl.uri.version>
        <!-- 3.0.0 is 2.6.0 relabeled for Jira 6.3 - if upgrading check the version ordering in bitbucket -->
        <!-- and update the entry in application-provided-plugins.txt -->
        <atl.com.utl.concurrent.version>3.0.0</atl.com.utl.concurrent.version>
        <!-- If you update this, you should also update the entry in application-provided-plugins.txt -->
        <atl.io.utl.concurrent.version>4.0.1</atl.io.utl.concurrent.version>
        <atl.utl.contentcache.version>4.3.0</atl.utl.contentcache.version>
        <atl.utl.process.version>1.8.3</atl.utl.process.version>
        <atl.webfragments.version>5.1.0</atl.webfragments.version>
        <atl.clientside.extensions.version>1.2.0</atl.clientside.extensions.version>
        <atl.webhooks.version>6.1.2</atl.webhooks.version>
        <!-- DO NOT UPGRADE WEBRESOURCE - https://bulldog.internal.atlassian.com/browse/BBSDEV-20987 -->
        <!-- ...but if you need to here is the guide on how to release a new forked version of the plugin -->
        <!-- https://hello.atlassian.net/wiki/spaces/BSERV/pages/833900556/Releasing+a+forked+version+of+the+web-resource+plugin -->
        <atl.webresource.version>4.2.2-bitbucket1</atl.webresource.version>
        <atl.velocity.htmlsafe.version>3.0.0</atl.velocity.htmlsafe.version>
        <atr.version>4.0.0</atr.version>
        <atlassian.spring.scanner.version>2.2.0</atlassian.spring.scanner.version>
        <!-- When updating the AUI version please update the version that NPM is using. -->
        <!-- npm install @atlassian/aui@<newversion> -->
        <aui.version>8.1.3</aui.version>
        <acr.version>2.0.3</acr.version>
        <aks.version>1.3.2</aks.version>

        <!-- Ensure that ACPLUG-58 is fixed before upgrading this. Consider backporting to 6.10 for ACPLUG-43 -->
        <analytics.version>5.8.7</analytics.version>
        <analytics.whitelist.version>3.77</analytics.whitelist.version>
        <atlassian.qunit.version>2.0.1</atlassian.qunit.version>
        <browser.metrics.version>8.0.2</browser.metrics.version>
        <caesium.version>3.0.2</caesium.version>
        <!-- This is actually crowd embedded admin plugin version -->
        <crowd.embedded.version>4.0.1</crowd.embedded.version>
        <crowd.version>4.0.1</crowd.version>
        <!-- Note: Don't upgrade this until https://bulldog.internal.atlassian.com/browse/BSP-1291 is fixed -->
        <event.version>4.0.1</event.version>
        <failurecache.version>2.0.0</failurecache.version>
        <fugue.version>2.7.0</fugue.version>
        <!-- Before upgrading to any version 5.2.1 and beyond please read the special upgrade instructions in the release
             notes for 5.2.1. An OSGi exported com.atlassian.healthcheck.spi must be available for the plugin -->
        <healthcheck.version>5.1.1</healthcheck.version>
        <navlinks.version>5.2.0</navlinks.version>
        <jira.integration.version>7.0.0-m8</jira.integration.version>
        <issue.status.plugin.version>2.1.1</issue.status.plugin.version>
        <johnson.version>4.0.0</johnson.version>
        <!-- This is the patched version of jquery from atlassian-plugins-jquery not npm.
            We still consume jquery from npm for tests.
            We need to use the equivalent patched version for the version consumed from npm.
            e.g. npm version = 2.2.4, atlassian-plugins-jquery version = 2.2.4.10
            This should be removed after we upgrade to jQuery 3.x
            (and only the npm version should be used)

            Version 2.2.4.11-c72c117 includes the following patch for Bitbucket Server:
            https://bitbucket.org/atlassian/atlassian-plugins-jquery/pull-requests/31/bserv-12580-patch-for-jquery-fix-causing
        -->
        <jquery.version>2.2.4.11-c72c117</jquery.version>
        <markup.renderer.version>0.12.0</markup.renderer.version>
        <oauth.version>4.1.0</oauth.version>
        <pact.version>3.5.24</pact.version>
        <platform.ctk.version>3.0.3</platform.ctk.version>
        <plug.version>5.4.0-01c481fbd</plug.version>
        <remote.link.aggregator.version>3.0.0</remote.link.aggregator.version>
        <static.assets.url.version>1.1.1</static.assets.url.version>
        <atl.audit.version>1.12.1</atl.audit.version>
        <!-- Atlassian REST would need to update to Jackson 2.x: https://jira.atlassian.com/browse/BSERVDEV-13520 -->
        <atl.rest.version>6.0.7</atl.rest.version>
        <atl.sal.version>4.4.0</atl.sal.version>
        <!-- STP has been replaced with ATST, however the exported STP SPI has been kept for compatibility. It can be
             removed in Bitbucket Server 6.0. See BSERVDEV-15875 -->
        <stp.version>3.10.5</stp.version>
        <atst.version>1.27.0</atst.version>
        <atlauth.version>4.1.4</atlauth.version>
        <trust.version>5.0.1</trust.version>
        <ual.version>7.2.0</ual.version>
        <upm.version>4.2.5</upm.version>
        <!-- libraries need to have a .libversion suffix -->
        <amps.libversion>8.0.4</amps.libversion>
        <aspectj.libversion>1.9.2</aspectj.libversion>
        <buckler.version>2.1.3</buckler.version>
        <buckler.classifier.version>7.5.2</buckler.classifier.version>
        <bouncycastle.libversion>1.60</bouncycastle.libversion>
        <bytebuddy.libversion>1.10.7</bytebuddy.libversion>
        <clover.libversion>4.1.2</clover.libversion>
        <commonmark.libversion>0.15.2</commonmark.libversion>
        <commons.codec.libversion>1.14</commons.codec.libversion>
        <commons.beanutils.libversion>1.9.3</commons.beanutils.libversion>
        <commons.collections.libversion>3.2.2</commons.collections.libversion>
        <commons.daemon.libversion>1.0.15</commons.daemon.libversion>
        <commons.fileupload.libversion>1.3.3</commons.fileupload.libversion>
        <commons.lang.libversion>2.6</commons.lang.libversion>
        <commons.lang3.libversion>3.8.1</commons.lang3.libversion>
        <commons.io.libversion>2.6</commons.io.libversion>
        <commons.validator.libversion>1.4.1</commons.validator.libversion>
        <com.h3xstream.findsecbugs.libversion>1.4.4</com.h3xstream.findsecbugs.libversion>
        <dark.features.plugin.version>0.9.7</dark.features.plugin.version>
        <embedded.elasticsearch.plugin.version>6.2.7</embedded.elasticsearch.plugin.version>
        <google.guava.libversion>26.0-jre</google.guava.libversion>
        <gson.libversion>2.8.0</gson.libversion>
        <hamcrest.libversion>1.3</hamcrest.libversion>
        <hamcrest.date.version>2.0.5</hamcrest.date.version>
        <!-- Note: Additional manual testing (such as testing split brain recovery and testing node discovery in AWS
             and Azure) is generally required when upgrading Hazelcast. Upgrade with caution -->
        <hazelcast.libversion>3.12.6</hazelcast.libversion>
        <hazelcast-aws.libversion>2.4</hazelcast-aws.libversion>
        <hazelcast-azure.libversion>2.0.0-atlassian-4</hazelcast-azure.libversion>
        <hazelcast-hibernate5.libversion>1.3.2</hazelcast-hibernate5.libversion>
        <hazelcast-wm.libversion>3.8.3</hazelcast-wm.libversion>
        <hdrhistogram.libversion>2.1.11</hdrhistogram.libversion>
        <hibernate.libversion>5.4.11.Final</hibernate.libversion>
        <hikaricp.libversion>3.4.5</hikaricp.libversion>
        <httpcomponents.core.libversion>4.4.12</httpcomponents.core.libversion>
        <httpcomponents.client.libversion>4.5.10</httpcomponents.client.libversion>
        <httpcomponents.asyncclient.libversion>4.1</httpcomponents.asyncclient.libversion>
        <!-- Upgrading to a newer version needs the i4j runtime artifact to be uploaded to maven.atlassian.com
        Follow https://hello.atlassian.net/wiki/spaces/BSERV/pages/647635952/HOWTO+-+Update+Install4J+Version for instructions-->
        <install4j.version>7.0.12-atlassian-hosted</install4j.version>
        <!-- We can un-fork if there's ever a 1.9.14 released (see discussion here: https://github.com/FasterXML/jackson-1/pull/1#issuecomment-230065380)
            or when we can move to Jackson 2.x (but Atlassian REST would need to update to 2.x too): https://jira.atlassian.com/browse/BSERVDEV-13520 -->
        <jackson.libversion>1.9.13-atlassian-2</jackson.libversion>
        <fasterxml.jackson.version>2.10.2</fasterxml.jackson.version>
        <javax.activation.libversion>1.2.0</javax.activation.libversion>
        <javax.annotation.libversion>1.3.2</javax.annotation.libversion>
        <jaxb.libversion>2.3.1</jaxb.libversion>
        <jaxrs.libversion>1.1.1</jaxrs.libversion>
        <jaxws.libversion>2.3.0</jaxws.libversion>
        <log4j.libversion>1.2.17</log4j.libversion>
        <logback.libversion>1.2.3</logback.libversion>
        <junit.libversion>4.12</junit.libversion>
        <mockito.libversion>2.21.0</mockito.libversion>
        <mssql-jdbc.version>7.0.0</mssql-jdbc.version>
        <mssql-jdbc.libversion>${mssql-jdbc.version}.jre8</mssql-jdbc.libversion>
        <mssql-jdbc.auth.libversion>${mssql-jdbc.version}-atlassian-hosted</mssql-jdbc.auth.libversion>
        <owasp-java-html-sanitizer.libversion>20191001.1</owasp-java-html-sanitizer.libversion>
        <rome.libversion>1.0</rome.libversion>
        <slf4j.libversion>1.7.25</slf4j.libversion>
        <spring.libversion>5.2.6.RELEASE</spring.libversion>
        <spring.boot.libversion>2.2.6.RELEASE</spring.boot.libversion>
        <spring.security.libversion>5.3.1.RELEASE</spring.security.libversion>
        <postgresjdbc.libversion>42.2.13</postgresjdbc.libversion>
        <!-- Be careful upgrading to a 6.x version. It includes changes which break Liquibase and DbUnit.
             One example: http://bugs.mysql.com/bug.php?id=81105 -->
        <mysqljdbc.libversion>5.1.44</mysqljdbc.libversion>
        <oraclejdbc.libversion>12.2.0.1-atlassian-hosted</oraclejdbc.libversion>
        <truezip.libversion>7.7.9</truezip.libversion>
        <tomcat.libversion>9.0.37</tomcat.libversion>
        <validation.libversion>2.0.1.Final</validation.libversion>
        <!-- Warning - Velocity 1.7.0 introduces a performance degradation. Upgrade with care. -->
        <velocity.libversion>1.6.4-atlassian-9</velocity.libversion>
        <wiremock.libversion>2.10.1</wiremock.libversion>
        <webdriver.browser>firefox</webdriver.browser>
        <webdriver.browser.headless>false</webdriver.browser.headless>
        <webdriver.docker.browser>firefox</webdriver.docker.browser>
        <webdriver.docker.image.version>3.141.59-titanium</webdriver.docker.image.version>
        <webdriver.docker.image>selenium/standalone-${webdriver.docker.browser}:${webdriver.docker.image.version}</webdriver.docker.image>
        <webdriver.docker.debug.image>selenium/standalone-${webdriver.docker.browser}-debug:${webdriver.docker.image.version}</webdriver.docker.debug.image>
        <xerces.libversion>2.12.0</xerces.libversion>
        <!-- xml-api version 2.0 and 2.0.2 are actually older than 1.4.01 - don't upgrade to them -->
        <xmlapis.libversion>1.4.01</xmlapis.libversion>

        <!-- The versions of translated bundled -->
        <bitbucket.translations.de_DE>7.6.0.rc5-202009100308</bitbucket.translations.de_DE>
        <bitbucket.translations.fr_FR>7.6.0.rc5-202009100308</bitbucket.translations.fr_FR>
        <bitbucket.translations.ja_JP>7.6.0.rc5-202009100308</bitbucket.translations.ja_JP>

        <!-- Used by api-compat to compare API changes -->
        <api.compatibility.check.version>7.6.0</api.compatibility.check.version>

        <!-- Typesafe Config version required by SOKE to work in Cthulhu harness -->
        <typesafe-config.libversion>1.2.1</typesafe-config.libversion>

        <!-- Plugin framework -->
        <gemini.blueprint.libversion>3.0.0.M01</gemini.blueprint.libversion>
        <servicemix.aopalliance.libversion>1.0_6</servicemix.aopalliance.libversion>
        <plugins.spring.version>5.2.3</plugins.spring.version>
        <servicemix.spring.libversion>${plugins.spring.version}.RELEASE_1</servicemix.spring.libversion>
        <servicemix.cg.libversion>3.2.6_1</servicemix.cg.libversion>
        <servicemix.velocity.libversion>1.7_6</servicemix.velocity.libversion>

        <!-- Package versions for BNDLib hints -->
        <spring.osgi.import.version>[5.0,6.0)</spring.osgi.import.version>
        <servlet-api.osgi.import.version>[2.5,5.0)</servlet-api.osgi.import.version>

        <!-- frontend build version -->
        <fe.plugin.version>1.6</fe.plugin.version>
        <!-- Do not prefix with 'v', update .nvmrc if you change this
             To update, first change the values here, then run 'etc/misc/deploy-new-node-npm.sh' without arguments
             to publish new versions to packages.atlassian.com -->
        <fe.node.version>10.16.0</fe.node.version>
        <fe.node.atlassian.hosted.version>${fe.node.version}-atlassian-hosted</fe.node.atlassian.hosted.version>
        <fe.npm.version>6.9.0</fe.npm.version>
        <fe.npm.atlassian.hosted.version>${fe.npm.version}-atlassian-hosted</fe.npm.atlassian.hosted.version>
        <fe.node.installdir>.node</fe.node.installdir>
        <minify.plugin.version>1.3.0</minify.plugin.version>
        <!-- Don't update existing lock file when we are only installing project dependencies -->
        <fe.npm.install.cmd>install --prefer-offline --no-audit --no-save</fe.npm.install.cmd>

        <!-- Search plugin dependencies -->
        <antlr4.version>4.6</antlr4.version>
        <atlassian-elasticsearch-client.version>5.6.2</atlassian-elasticsearch-client.version>
        <!--
            Follow these steps when bumping the Elasticsearch version:
              - Update the property here
              - Update 'distribution/default/src/main/elasticsearch/bin/service.bat'
              - Run './etc/misc/deploy-new-elasticsearch.sh' without arguments to publish new versions to packages.atlassian.com
         -->
        <elasticsearch.version>7.5.2</elasticsearch.version>
        <elasticsearch.atlassian.hosted.version>${elasticsearch.version}-atlassian-hosted</elasticsearch.atlassian.hosted.version>
        <io-fugue.version>4.7.1</io-fugue.version>
        <rxjava.version>1.3.8</rxjava.version>
        <metrics.version>4.0.3</metrics.version>
        <metrics-spring.version>3.1.2</metrics-spring.version>
        <pholser.version>0.7</pholser.version>
        <apache-log4j.version>2.11.1</apache-log4j.version>
        <!-- Make sure that https://issues.apache.org/jira/browse/SSHD-1028 in version 2.5.x is fixed before bumping SSHD -->
        <sshd.version>2.4.0</sshd.version>
        <!-- Properties for the Code Insights Junit parser -->
        <insightsProjectKey>STASH</insightsProjectKey>
        <insightsRepository>stash</insightsRepository>
        <insightsServerBaseUrl>https://stash.dev.internal.atlassian.com</insightsServerBaseUrl>
        <insightsPost>false</insightsPost>
        <insightsWriteInsigthstoFile>false</insightsWriteInsigthstoFile>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- List Bitbucket modules first. These entries will be used for intermodule dependencies -->
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-access-tokens</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-analytics-whitelist</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ao-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-audit</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-branch-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-branch</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-build-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-build</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-build-bamboo</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-build-jenkins</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-build-feature</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-bundled-hooks</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-bundled-plugins</artifactId>
                <version>7.6.3</version>
                <type>txt</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-cluster-info</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-code-insights-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-code-insights-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-code-insights</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-comment-likes-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-comment-likes</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-connect-support</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-contributing-guidelines</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-crowd-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-crowd-sso</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-dao-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-dao-impl</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-default-reviewers</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-distribution</artifactId>
                <version>7.6.3</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-distribution-launcher</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-distribution-licenses</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-dmz-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-dmz-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-emoticons-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-emoticons-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-emoticons</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-frontend</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-frontend-support</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git-binary</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git-lfs</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-git-rest</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-gpg</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-gpg-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-importer</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-dcm-test-plugin</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-dcm-test-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-hosting</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-hosting-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-javascript</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-licensed-plugin</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-mirror-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-test-support-plugin</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-resources</artifactId>
                <version>7.6.3</version>
            </dependency>
            <!-- Zip containing an uninitiated Bitbucket home set up to enter mirror mode. -->
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-resources</artifactId>
                <version>7.6.3</version>
                <type>zip</type>
                <classifier>mirror</classifier>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-jira-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-jira-development-integration</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-jira</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-labels</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-model</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-mirroring-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-mirroring-mirror</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-mirroring-upstream</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-nav-links</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-notification</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-page-objects</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-platform</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-plugin-extender</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-plugin-information-provider</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-policies</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-process-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-process</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-pull-request-cleanup</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rate-limit</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ref-restriction-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ref-restriction-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ref-restriction</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-repository-ref-sync-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-repository-ref-sync</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-repository-shortcuts</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rest</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rest-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rest-ui</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rest-model</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-rest-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-sal</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-scm-cache</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-scm-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-scm-test-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-search</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-service-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-service-impl</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-sourcetree</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-spi</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ssh-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-ssh</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-suggestions</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-tag</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-test-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-upm-accessor</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-util</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-velocity-helper</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-web-common</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-webapp</artifactId>
                <version>7.6.3</version>
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-webhooks</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-webhooks-api</artifactId>
                <version>7.6.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-xcode</artifactId>
                <version>7.6.3</version>
            </dependency>

            <!-- Zipped git repositories used for testing -->
            <dependency>
                <groupId>com.atlassian.bitbucket.server.git</groupId>
                <artifactId>gpg-hosting</artifactId>
                <version>1.1</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server.git</groupId>
                <artifactId>gpg-sanity</artifactId>
                <version>1.0</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bitbucket.server.git</groupId>
                <artifactId>ref-sanity</artifactId>
                <version>1.6</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>binary-files-repository</artifactId>
                <version>1.0</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>comment-drift</artifactId>
                <version>0.8</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>default-repository</artifactId>
                <version>1.1</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>diff-tree</artifactId>
                <version>1.1</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>garbage</artifactId>
                <version>1.1</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>jira-integration</artifactId>
                <version>1.1</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>mailmap</artifactId>
                <version>1.0</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>merge</artifactId>
                <version>2.9</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>merge-commits</artifactId>
                <version>1.0</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>pull-requests</artifactId>
                <version>1.6</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>qa-resources</artifactId>
                <version>1.10</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>subrepositories</artifactId>
                <version>1.0</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.git</groupId>
                <artifactId>suggestion-drift</artifactId>
                <version>1.2</version>
                <type>zip</type>
            </dependency>

            <!-- Atlassian Platform Dependencies -->

            <!-- Analytics -->
            <dependency>
                <groupId>com.atlassian.analytics</groupId>
                <artifactId>analytics-api</artifactId>
                <version>${analytics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.analytics</groupId>
                <artifactId>analytics-client</artifactId>
                <version>${analytics.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.analytics</groupId>
                <artifactId>analytics-whitelist</artifactId>
                <version>${analytics.whitelist.version}</version>
            </dependency>

            <!-- Embedded Elasticsearch version -->
            <!-- AMPS needs this so it can discover which version of the plugin to run with a given version of BbS -->
            <!-- See https://bitbucket.org/atlassian/amps/src/8.0-stable/amps-maven-plugin/src/main/java/com/atlassian/maven/plugins/amps/product/BitbucketProductHandler.java -->
            <dependency>
                <groupId>com.atlassian.bitbucket.search</groupId>
                <artifactId>embedded-elasticsearch-plugin</artifactId>
                <version>${embedded.elasticsearch.plugin.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.diagnostics</groupId>
                <artifactId>atlassian-diagnostics-api</artifactId>
                <version>${atl.diagnostics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.diagnostics</groupId>
                <artifactId>atlassian-diagnostics-core</artifactId>
                <version>${atl.diagnostics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.diagnostics</groupId>
                <artifactId>atlassian-diagnostics-core-test</artifactId>
                <version>${atl.diagnostics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.diagnostics</groupId>
                <artifactId>atlassian-diagnostics-platform</artifactId>
                <version>${atl.diagnostics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.diagnostics</groupId>
                <artifactId>atlassian-diagnostics-plugin</artifactId>
                <version>${atl.diagnostics.version}</version>
            </dependency>

            <!-- Atlassian Connect Dependencies -->
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-connect-server-api</artifactId>
                <version>${atl.connect.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-connect-server-plugin</artifactId>
                <version>${atl.connect.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.sun</groupId>
                        <artifactId>tools</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.osgi</groupId>
                        <artifactId>org.osgi</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-api</artifactId>
                <version>${atl.jwt.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-core</artifactId>
                <version>${atl.jwt.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-spi</artifactId>
                <version>${atl.jwt.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jwt</groupId>
                <artifactId>jwt-plugin</artifactId>
                <version>${atl.jwt.version}</version>
            </dependency>

            <!-- Audit -->
            <dependency>
                <groupId>com.atlassian.audit</groupId>
                <artifactId>atlassian-audit-api</artifactId>
                <version>${atl.audit.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.audit</groupId>
                <artifactId>atlassian-audit-core</artifactId>
                <version>${atl.audit.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.audit</groupId>
                <artifactId>atlassian-audit-plugin</artifactId>
                <version>${atl.audit.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.audit</groupId>
                <artifactId>atlassian-audit-spi</artifactId>
                <version>${atl.audit.version}</version>
            </dependency>

            <!-- SAL -->
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-api</artifactId>
                <version>${atl.sal.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-core</artifactId>
                <version>${atl.sal.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.seraph</groupId>
                        <artifactId>atlassian-seraph</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-spi</artifactId>
                <version>${atl.sal.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-test-resources</artifactId>
                <version>${atl.sal.version}</version>
            </dependency>

            <!-- REST -->
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-module</artifactId>
                <version>${atl.rest.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-common</artifactId>
                <version>${atl.rest.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-doclet</artifactId>
                <version>${atl.rest.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>com.atlassian.jersey-library</artifactId>
                <version>${atl.rest.version}</version>
                <type>pom</type>
            </dependency>
            <!-- Needed by maven-wadl-plugin -->
            <dependency>
                <groupId>com.atlassian.annotations</groupId>
                <artifactId>atlassian-annotations</artifactId>
                <version>2.2.1</version>
            </dependency>
            <dependency>
                <groupId>com.sun.jersey</groupId>
                <artifactId>jersey-server</artifactId>
                <version>1.19</version>
            </dependency>

            <!-- SSH -->
            <!-- When upgrading make sure logging is kept the same, see STASHDEV-8528. -->
            <dependency>
                <groupId>org.apache.sshd</groupId>
                <artifactId>sshd-core</artifactId>
                <version>${sshd.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <!-- For ed25519 support -->
            <dependency>
                <groupId>net.i2p.crypto</groupId>
                <artifactId>eddsa</artifactId>
                <version>0.2.0</version>
            </dependency>

            <!-- TRUST -->
            <dependency>
                <groupId>com.atlassian.ip</groupId>
                <artifactId>atlassian-ip</artifactId>
                <version>3.1</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security.auth.trustedapps</groupId>
                <artifactId>atlassian-trusted-apps-core</artifactId>
                <version>${trust.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!-- UPM -->
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>atlassian-universal-plugin-manager-plugin</artifactId>
                <version>${upm.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>licensing-api</artifactId>
                <version>${upm.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>upm-api</artifactId>
                <version>${upm.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.upm</groupId>
                <artifactId>upm-spi</artifactId>
                <version>${upm.version}</version>
            </dependency>

            <!-- Webhooks -->
            <dependency>
                <groupId>com.atlassian.webhooks</groupId>
                <artifactId>atlassian-webhooks-api</artifactId>
                <version>${atl.webhooks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.webhooks</groupId>
                <artifactId>atlassian-webhooks-plugin</artifactId>
                <version>${atl.webhooks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.webhooks</groupId>
                <artifactId>atlassian-webhooks-rest</artifactId>
                <version>${atl.webhooks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.webhooks</groupId>
                <artifactId>atlassian-webhooks-spi</artifactId>
                <version>${atl.webhooks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.httpclient</groupId>
                <artifactId>atlassian-httpclient-api</artifactId>
                <version>${atl.httpclient.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.httpclient</groupId>
                <artifactId>atlassian-httpclient-plugin</artifactId>
                <version>${atl.httpclient.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.prettyurls</groupId>
                <artifactId>atlassian-pretty-urls-plugin</artifactId>
                <version>${atl.prettyurls.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.activeobjects</groupId>
                <artifactId>activeobjects-plugin</artifactId>
                <version>${activeobjects.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-webmvc</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.activeobjects</groupId>
                <artifactId>activeobjects-spi</artifactId>
                <version>${activeobjects.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.activeobjects</groupId>
                <artifactId>activeobjects-test</artifactId>
                <version>${activeobjects.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-api</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-basicauth-plugin</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-cors-plugin</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-host</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-oauth-plugin</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-trustedapps-plugin</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-spi</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.applinks</groupId>
                <artifactId>applinks-plugin</artifactId>
                <version>${ual.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.aui</groupId>
                <artifactId>auiplugin</artifactId>
                <version>${aui.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.beehive</groupId>
                <artifactId>beehive-api</artifactId>
                <version>${atl.beehive.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.beehive</groupId>
                <artifactId>beehive-hazelcast</artifactId>
                <version>${atl.beehive.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-api</artifactId>
                <version>${atl.cache.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.bundles</groupId>
                        <artifactId>jsr305</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-hazelcast</artifactId>
                <version>${atl.cache.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.bundles</groupId>
                        <artifactId>jsr305</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sf.ehcache</groupId>
                        <artifactId>ehcache</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.cache</groupId>
                <artifactId>atlassian-cache-memory</artifactId>
                <version>${atl.cache.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.fusion</groupId>
                <artifactId>fusion-schema</artifactId>
                <version>${atl.fusion.schema.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.hazelcast</groupId>
                <artifactId>atlassian-hazelcast-extras-osgi</artifactId>
                <version>${atl.hazelcast.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.hazelcast</groupId>
                <artifactId>hazelcast-spring-test-util</artifactId>
                <version>${atl.hazelcast.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-client-resource</artifactId>
                <version>${acr.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-dev-status-api</artifactId>
                <version>${atl.dev.status.api.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>jquery</artifactId>
                <version>${jquery.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>remote-link-aggregator-api</artifactId>
                <version>${remote.link.aggregator.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>remote-link-aggregator-plugin</artifactId>
                <version>${remote.link.aggregator.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>static-assets-url</artifactId>
                <version>${static.assets.url.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.browser.metrics</groupId>
                <artifactId>browser-metrics-plugin</artifactId>
                <version>${browser.metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.shortcuts</groupId>
                <artifactId>atlassian-shortcuts-plugin</artifactId>
                <version>${aks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.shortcuts</groupId>
                <artifactId>atlassian-shortcuts-module-api</artifactId>
                <version>${aks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>json</artifactId>
                <version>20070829-1</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>json-schema-validator-atlassian-bundle</artifactId>
                <version>${atl.json.validator.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.mail</groupId>
                        <artifactId>mailapi</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
                <version>${gson.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.config</groupId>
                <artifactId>atlassian-config</artifactId>
                <version>${atl.config.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.atlassian.johnson</groupId>
                        <artifactId>atlassian-johnson</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.spring</groupId>
                        <artifactId>atlassian-spring</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-lang</groupId>
                        <artifactId>commons-lang</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.jcip</groupId>
                        <artifactId>jcip-annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-api</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-events</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-ldap</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-password-encoders</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>crowd-persistence-hibernate5</artifactId>
                <version>${crowd.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>net.sf.ehcache</groupId>
                        <artifactId>ehcache</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sf.ehcache.internal</groupId>
                        <artifactId>ehcache</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-c3p0</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>embedded-crowd-admin-plugin</artifactId>
                <version>${crowd.embedded.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-lang</groupId>
                        <artifactId>commons-lang</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-webmvc</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>embedded-crowd-api</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>embedded-crowd-core</artifactId>
                <version>${crowd.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.sun.jersey</groupId>
                        <artifactId>jersey-client</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.sun.jersey</groupId>
                        <artifactId>jersey-json</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-lang</groupId>
                        <artifactId>commons-lang</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>javax.servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.minidev</groupId>
                        <artifactId>json-smart</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sf.ehcache</groupId>
                        <artifactId>ehcache</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sf.ehcache.internal</groupId>
                        <artifactId>ehcache</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>opensymphony</groupId>
                        <artifactId>propertyset</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.commons</groupId>
                        <artifactId>commons-collections4</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.crowd</groupId>
                <artifactId>embedded-crowd-spi</artifactId>
                <version>${crowd.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.fugue</groupId>
                <artifactId>fugue</artifactId>
                <version>${fugue.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.healthcheck</groupId>
                <artifactId>atlassian-healthcheck</artifactId>
                <version>${healthcheck.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.hibernate</groupId>
                <artifactId>atlassian-hibernate5.2-extras</artifactId>
                <version>${atl.hibernate.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.json</groupId>
                <artifactId>atlassian-json-api</artifactId>
                <version>${atl.json.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.keystore</groupId>
                <artifactId>atlassian-keystore</artifactId>
                <version>${atl.keystore.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-chaperone</artifactId>
                <version>${atl.chaperone.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-remote-event-api</artifactId>
                <version>${atl.remote.event.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-remote-event-common-plugin</artifactId>
                <version>${atl.remote.event.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-remote-event-consumer-plugin</artifactId>
                <version>${atl.remote.event.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-remote-event-producer-plugin</artifactId>
                <version>${atl.remote.event.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.stash.plugins</groupId>
                <artifactId>stash-remote-event-bitbucket-server-spi</artifactId>
                <version>${atl.stash.remote.event}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-nav-links-plugin</artifactId>
                <version>${navlinks.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-nav-links-api</artifactId>
                <version>${navlinks.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-nav-links-spi</artifactId>
                <version>${navlinks.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian</groupId>
                <artifactId>atlassian-failure-cache</artifactId>
                <version>${failurecache.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian</groupId>
                <artifactId>atlassian-failure-cache-plugin</artifactId>
                <version>${failurecache.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.event</groupId>
                <artifactId>atlassian-event</artifactId>
                <version>${event.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-api</artifactId>
                <version>${atl.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-common</artifactId>
                <version>${atl.extras.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-core</artifactId>
                <version>${atl.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-decoder-api</artifactId>
                <version>${atl.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-decoder-v2</artifactId>
                <version>${atl.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.extras</groupId>
                <artifactId>atlassian-extras-legacy</artifactId>
                <version>${atl.extras.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.html</groupId>
                <artifactId>atlassian-html-encoder</artifactId>
                <version>${atl.html.encoder.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.integration.jira</groupId>
                <artifactId>jira-integration-page-objects</artifactId>
                <version>${jira.integration.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.johnson</groupId>
                <artifactId>atlassian-johnson-core</artifactId>
                <version>${johnson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.johnson</groupId>
                <artifactId>atlassian-johnson-plugins</artifactId>
                <version>${johnson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.johnson</groupId>
                <artifactId>atlassian-johnson-spring</artifactId>
                <version>${johnson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-api</artifactId>
                <version>${plug.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-core</artifactId>
                <version>${plug.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-main</artifactId>
                <version>${plug.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-osgi</artifactId>
                <version>${plug.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-servlet</artifactId>
                <version>${plug.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource-api</artifactId>
                <version>${atl.webresource.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.velocity.htmlsafe</groupId>
                <artifactId>velocity-htmlsafe</artifactId>
                <version>${atl.velocity.htmlsafe.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource-common</artifactId>
                <!-- _Not_ a mistake. It is actually versioned with atlassian-plugins not webresources  -->
                <version>${plug.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-spring</artifactId>
                <version>${plug.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-aop</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-beans</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource</artifactId>
                <version>${atl.webresource.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource-plugin</artifactId>
                <version>${atl.webresource.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webresource-rest</artifactId>
                <version>${atl.webresource.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webfragment</artifactId>
                <version>${atl.webfragments.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-webfragment-api</artifactId>
                <version>${atl.webfragments.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-clientside-extensions-runtime</artifactId>
                <version>${atl.clientside.extensions.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.scheduler</groupId>
                <artifactId>atlassian-scheduler-api</artifactId>
                <version>${atl.scheduler.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.scheduler</groupId>
                <artifactId>atlassian-scheduler-core</artifactId>
                <version>${atl.scheduler.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.scheduler.caesium</groupId>
                <artifactId>atlassian-scheduler-caesium</artifactId>
                <version>${caesium.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-password-encoder</artifactId>
                <version>${atl.security.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-secure-random</artifactId>
                <version>${atl.security.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-secure-utils</artifactId>
                <version>${atl.security.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.security</groupId>
                <artifactId>atlassian-secure-xml</artifactId>
                <version>${atl.security.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-pageobjects-api</artifactId>
                <version>${atl.selenium.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-pageobjects-elements</artifactId>
                <version>${atl.selenium.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>junit</groupId>
                        <artifactId>junit-dep</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-webdriver-core</artifactId>
                <version>${atl.selenium.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>less-transformer-plugin</artifactId>
                <version>${atl.less.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-plugin</artifactId>
                <version>${atl.soy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>atlassian-soy-spring-mvc-support</artifactId>
                <version>${atl.soy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-renderer-api</artifactId>
                <version>${atl.soy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.soy</groupId>
                <artifactId>soy-template-renderer-plugin-api</artifactId>
                <version>${atl.soy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.troubleshooting</groupId>
                <artifactId>plugin-bitbucket</artifactId>
                <version>${atst.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>opensymphony</groupId>
                        <artifactId>propertyset</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.sanselan</groupId>
                        <artifactId>sanselan</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>osuser</groupId>
                        <artifactId>osuser</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.authentication</groupId>
                <artifactId>atlassian-authentication-plugin</artifactId>
                <version>${atlauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.support</groupId>
                <artifactId>stp-spi</artifactId>
                <version>${stp.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.templaterenderer</groupId>
                <artifactId>atlassian-template-renderer-api</artifactId>
                <version>${atr.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.templaterenderer</groupId>
                <artifactId>atlassian-template-renderer-velocity16-plugin</artifactId>
                <version>${atr.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.tenancy</groupId>
                <artifactId>atlassian-tenancy-api</artifactId>
                <version>${atl.tenancy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.tenancy</groupId>
                <artifactId>atlassian-tenancy-compatibility-plugin</artifactId>
                <version>${atl.tenancy.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.profiling</groupId>
                <artifactId>atlassian-profiling</artifactId>
                <version>${atl.profiling.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.profiling</groupId>
                <artifactId>atlassian-profiling-dropwizard-metrics</artifactId>
                <version>${atl.profiling.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.botocss</groupId>
                <artifactId>botocss-core</artifactId>
                <version>${atl.botocss.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.uri</groupId>
                <artifactId>atlassian-uri</artifactId>
                <version>${atl.uri.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.util.concurrent</groupId>
                <artifactId>atlassian-util-concurrent</artifactId>
                <version>${atl.com.utl.concurrent.version}</version>
            </dependency>
            <dependency>
                <groupId>io.atlassian.util.concurrent</groupId>
                <artifactId>atlassian-util-concurrent</artifactId>
                <version>${atl.io.utl.concurrent.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.util</groupId>
                <artifactId>content-cache</artifactId>
                <version>${atl.utl.contentcache.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.utils</groupId>
                <artifactId>atlassian-processutils</artifactId>
                <version>${atl.utl.process.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.atlassian.bundles</groupId>
                        <artifactId>jsr305</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!-- Installer Dependencies -->
            <dependency>
                <groupId>com.install4j</groupId>
                <artifactId>install4j-runtime</artifactId>
                <version>${install4j.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.clover</groupId>
                <artifactId>clover</artifactId>
                <version>${clover.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.bouncycastle</groupId>
                <artifactId>bcprov-jdk15on</artifactId>
                <version>${bouncycastle.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.bouncycastle</groupId>
                <artifactId>bcpkix-jdk15on</artifactId>
                <version>${bouncycastle.libversion}</version>
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
                <version>${logback.libversion}</version>
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-core</artifactId>
                <version>${logback.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.github.tomakehurst</groupId>
                <artifactId>wiremock</artifactId>
                <version>${wiremock.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.googlecode.juniversalchardet</groupId>
                <artifactId>juniversalchardet</artifactId>
                <version>1.0.3</version>
            </dependency>
            <!-- 3.0.1 differs from 3.0.0 only by an OSGI entries in the manifest. This seems to
                 prevent export of javax.annotations from the system bundle. So we're sticking with 3.0.0
                 for the moment.
              -->
            <dependency>
                <groupId>com.google.code.findbugs</groupId>
                <artifactId>jsr305</artifactId>
                <version>${findbugs.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.code.findbugs</groupId>
                <artifactId>annotations</artifactId>
                <version>${findbugs.version}</version>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast</artifactId>
                <version>${hazelcast.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast</artifactId>
                <version>${hazelcast.libversion}</version>
                <classifier>tests</classifier>
                <exclusions>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-aws</artifactId>
                <version>${hazelcast-aws.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.hazelcast</groupId>
                        <artifactId>hazelcast-client</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-azure</artifactId>
                <version>${hazelcast-azure.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.hazelcast</groupId>
                        <artifactId>hazelcast-client</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-simple</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-hibernate53</artifactId>
                <version>${hazelcast-hibernate5.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-spring</artifactId>
                <version>${hazelcast.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.hazelcast</groupId>
                <artifactId>hazelcast-wm</artifactId>
                <version>${hazelcast-wm.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>net.sourceforge.findbugs</groupId>
                        <artifactId>annotations</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${google.guava.libversion}</version>
            </dependency>
            <dependency>
                <groupId>javax.annotation</groupId>
                <artifactId>javax.annotation-api</artifactId>
                <version>${javax.annotation.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.sun.activation</groupId>
                <artifactId>javax.activation</artifactId>
                <version>${javax.activation.libversion}</version>
            </dependency>
            <dependency>
                <groupId>javax.xml.bind</groupId>
                <artifactId>jaxb-api</artifactId>
                <version>${jaxb.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish.jaxb</groupId>
                <artifactId>jaxb-runtime</artifactId>
                <version>${jaxb.libversion}</version>
            </dependency>
            <dependency>
                <groupId>javax.xml.ws</groupId>
                <artifactId>jaxws-api</artifactId>
                <version>${jaxws.libversion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>javax.ws.rs</groupId>
                <artifactId>jsr311-api</artifactId>
                <version>${jaxrs.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.zaxxer</groupId>
                <artifactId>HikariCP</artifactId>
                <version>${hikaricp.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.zaxxer</groupId>
                <artifactId>nuprocess</artifactId>
                <version>2.0.1-atlassian-1</version>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>${commons.beanutils.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>${commons.codec.libversion}</version>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>${commons.collections.libversion}</version>
            </dependency>
            <dependency>
                <groupId>commons-fileupload</groupId>
                <artifactId>commons-fileupload</artifactId>
                <version>${commons.fileupload.libversion}</version>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>${commons.io.libversion}</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>${commons.lang.libversion}</version>
            </dependency>
            <dependency>
                <groupId>commons-validator</groupId>
                <artifactId>commons-validator</artifactId>
                <version>${commons.validator.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-configuration2</artifactId>
                <version>2.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${commons.lang3.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-compress</artifactId>
                <version>1.19</version>
            </dependency>

            <dependency>
                <groupId>dom4j</groupId>
                <artifactId>dom4j</artifactId>
                <version>1.6.1-atlassian-2</version>
            </dependency>
            <dependency>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <version>${xmlapis.libversion}</version>
            </dependency>
            <dependency>
                <groupId>javax.activation</groupId>
                <artifactId>activation</artifactId>
                <version>1.1.1</version>
            </dependency>
            <!-- EL is required by Validation 1.1 -->
            <dependency>
                <groupId>javax.el</groupId>
                <artifactId>javax.el-api</artifactId>
                <version>2.2.5</version>
            </dependency>
            <dependency>
                <groupId>javax.persistence</groupId>
                <artifactId>javax.persistence-api</artifactId>
                <version>2.2</version>
            </dependency>
            <!-- This version is available in core -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>${servlet.api.version}</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet.jsp</groupId>
                <artifactId>jsp-api</artifactId>
                <version>2.2</version>
            </dependency>
            <dependency>
                <groupId>jaxen</groupId>
                <artifactId>jaxen</artifactId>
                <version>1.2.0-atlassian-2</version>
            </dependency>
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>2.10.1</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish</groupId>
                <artifactId>javax.el</artifactId>
                <version>3.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate.validator</groupId>
                <artifactId>hibernate-validator</artifactId>
                <version>6.0.14.Final</version>
            </dependency>
            <dependency>
                <groupId>org.jboss.logging</groupId>
                <artifactId>jboss-logging</artifactId>
                <version>3.3.2.Final</version>
            </dependency>
            <dependency>
                <groupId>javax.validation</groupId>
                <artifactId>validation-api</artifactId>
                <version>${validation.libversion}</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-core</artifactId>
                <version>${hamcrest.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>${hamcrest.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-integration</artifactId>
                <version>${hamcrest.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.exparity</groupId>
                <artifactId>hamcrest-date</artifactId>
                <version>${hamcrest.date.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hdrhistogram</groupId>
                <artifactId>HdrHistogram</artifactId>
                <version>${hdrhistogram.libversion}</version>
            </dependency>
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>${log4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.tuckey</groupId>
                <artifactId>urlrewritefilter</artifactId>
                <version>4.0.4</version>
            </dependency>
            <dependency>
                <groupId>net.bytebuddy</groupId>
                <artifactId>byte-buddy</artifactId>
                <version>${bytebuddy.libversion}</version>
            </dependency>
            <dependency>
                <groupId>net.bytebuddy</groupId>
                <artifactId>byte-buddy-agent</artifactId>
                <version>${bytebuddy.libversion}</version>
            </dependency>
            <dependency>
                <groupId>net.jcip</groupId>
                <artifactId>com.springsource.net.jcip.annotations</artifactId>
                <version>1.0.0</version>
            </dependency>
            <dependency>
                <groupId>net.minidev</groupId>
                <artifactId>json-smart</artifactId>
                <version>2.3</version>
            </dependency>
            <dependency>
                <groupId>net.sf.json-lib</groupId>
                <artifactId>json-lib</artifactId>
                <version>2.4</version>
                <classifier>jdk15</classifier>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.nekohtml</groupId>
                <artifactId>nekohtml</artifactId>
                <version>1.9.22</version>
            </dependency>
            <dependency>
                <groupId>opensymphony</groupId>
                <artifactId>oscore</artifactId>
                <version>2.2.7</version>
            </dependency>
            <dependency>
                <groupId>opensymphony</groupId>
                <artifactId>sitemesh</artifactId>
                <version>2.5-atlassian-11</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.apache.felix.framework</artifactId>
                <version>5.6.12</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpcore</artifactId>
                <version>${httpcomponents.core.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>${httpcomponents.client.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpmime</artifactId>
                <version>${httpcomponents.client.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.tomcat.embed</groupId>
                <artifactId>tomcat-embed-core</artifactId>
                <version>${tomcat.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.tomcat.embed</groupId>
                <artifactId>tomcat-embed-el</artifactId>
                <version>${tomcat.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.tomcat.embed</groupId>
                <artifactId>tomcat-embed-websocket</artifactId>
                <version>${tomcat.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.tomcat.embed</groupId>
                <artifactId>tomcat-embed-jasper</artifactId>
                <version>${tomcat.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.velocity</groupId>
                <artifactId>velocity</artifactId>
                <version>${velocity.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.aspectj</groupId>
                <artifactId>aspectjrt</artifactId>
                <version>${aspectj.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.aspectj</groupId>
                <artifactId>aspectjweaver</artifactId>
                <version>${aspectj.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>${fasterxml.jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
                <version>${fasterxml.jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>${fasterxml.jackson.version}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-core-asl</artifactId>
                <version>${jackson.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-mapper-asl</artifactId>
                <version>${jackson.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.janino</groupId>
                <artifactId>janino</artifactId>
                <version>2.7.8</version>
            </dependency>
            <dependency>
                <groupId>org.dbunit</groupId>
                <artifactId>dbunit</artifactId>
                <version>2.6.0</version>
                <exclusions>
                    <exclusion>
                        <groupId>postgresql</groupId>
                        <artifactId>postgresql</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.ehcache</groupId>
                <artifactId>ehcache</artifactId>
                <version>3.7.1</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-core</artifactId>
                <version>${hibernate.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.javassist</groupId>
                        <artifactId>javassist</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.dom4j</groupId>
                        <artifactId>dom4j</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-jcache</artifactId>
                <version>${hibernate.libversion}</version>
            </dependency>
            <!-- not used internally but is a bundled plugin so we can't really touch this since it's
                     (effectively) API -->
            <dependency>
                <groupId>org.jdom</groupId>
                <artifactId>com.springsource.org.jdom</artifactId>
                <version>1.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.jgit</groupId>
                <artifactId>org.eclipse.jgit</artifactId>
                <version>4.2.0.201601211800-r</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${slf4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>jcl-over-slf4j</artifactId>
                <version>${slf4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>jul-to-slf4j</artifactId>
                <version>${slf4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>log4j-over-slf4j</artifactId>
                <version>${slf4j.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-jcl</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-expression</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jdbc</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.gemini.blueprint</groupId>
                <artifactId>gemini-blueprint-mock</artifactId>
                <version>${gemini.blueprint.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot</artifactId>
                <version>${spring.boot.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-autoconfigure</artifactId>
                <version>${spring.boot.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-loader</artifactId>
                <version>${spring.boot.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-tomcat</artifactId>
                <version>${spring.boot.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-web</artifactId>
                <version>${spring.boot.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-core</artifactId>
                <version>${spring.security.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-config</artifactId>
                <version>${spring.security.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.security</groupId>
                <artifactId>spring-security-web</artifactId>
                <version>${spring.security.libversion}</version>
            </dependency>
            <dependency>
                <groupId>rome</groupId>
                <artifactId>rome</artifactId>
                <version>${rome.libversion}</version>
            </dependency>
            <dependency>
                <groupId>xerces</groupId>
                <artifactId>xercesImpl</artifactId>
                <version>${xerces.libversion}</version>
            </dependency>
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>xalan</artifactId>
                <version>2.7.2</version>
            </dependency>
            <dependency>
                <groupId>xmlunit</groupId>
                <artifactId>xmlunit</artifactId>
                <version>1.6</version>
            </dependency>

            <dependency>
                <groupId>org.liquibase</groupId>
                <artifactId>liquibase-core</artifactId>
                <version>3.6.1</version>
            </dependency>

            <!-- Database drivers -->
            <dependency>
                <groupId>com.h2database</groupId>
                <artifactId>h2</artifactId>
                <version>1.3.176</version>
            </dependency>
            <!-- deprecated, to be removed in a future release subject to discussions around removal approach -->
            <dependency>
                <groupId>org.hsqldb</groupId>
                <artifactId>hsqldb</artifactId>
                <version>2.2.4</version>
            </dependency>
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>${mysqljdbc.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.postgresql</groupId>
                <artifactId>postgresql</artifactId>
                <version>${postgresjdbc.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.oracle.jdbc</groupId>
                <artifactId>ojdbc8</artifactId>
                <version>${oraclejdbc.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.microsoft.sqlserver</groupId>
                <artifactId>mssql-jdbc</artifactId>
                <version>${mssql-jdbc.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.microsoft.sqlserver</groupId>
                <artifactId>mssql-jdbc_auth</artifactId>
                <version>${mssql-jdbc.auth.libversion}</version>
                <type>dll</type>
                <classifier>x64</classifier>
            </dependency>
            <dependency>
                <groupId>com.microsoft.sqlserver</groupId>
                <artifactId>mssql-jdbc_auth</artifactId>
                <version>${mssql-jdbc.auth.libversion}</version>
                <type>dll</type>
                <classifier>x86</classifier>
            </dependency>

            <dependency>
                <groupId>com.atlassian.elasticsearch</groupId>
                <artifactId>buckler-plugin</artifactId>
                <version>${buckler.version}</version>
                <classifier>${buckler.classifier.version}</classifier>
            </dependency>

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

            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-api</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-consumer-spi</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-service-provider-spi</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-consumer-sal-plugin</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-consumer-plugin</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-service-provider-plugin</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-service-provider-sal-plugin</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.oauth</groupId>
                <artifactId>atlassian-oauth-admin-plugin</artifactId>
                <version>${oauth.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.http</groupId>
                <artifactId>atlassian-http</artifactId>
                <version>${atl.http.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-log4j12</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

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

            <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy-all</artifactId>
                <version>2.4.7</version>
                <classifier>indy</classifier>
            </dependency>
            <dependency>
                <groupId>com.confluex</groupId>
                <artifactId>confluex-mock-http</artifactId>
                <version>0.4.3</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.mortbay.jetty</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy-all</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-log4j12</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>io.rest-assured</groupId>
                <artifactId>rest-assured</artifactId>
                <version>3.2.0</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.jayway.jsonpath</groupId>
                <artifactId>json-path-assert</artifactId>
                <version>2.4.0</version>
            </dependency>
            <dependency>
                <groupId>de.schlichtherle.truezip</groupId>
                <artifactId>truezip-file</artifactId>
                <version>${truezip.libversion}</version>
            </dependency>
            <dependency>
                <groupId>de.schlichtherle.truezip</groupId>
                <artifactId>truezip-driver-zip</artifactId>
                <version>${truezip.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.bouncycastle</groupId>
                        <artifactId>bcprov-jdk16</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>de.schlichtherle.truezip</groupId>
                <artifactId>truezip-driver-tar</artifactId>
                <version>${truezip.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.bouncycastle</groupId>
                        <artifactId>bcprov-jdk16</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.integration.jira</groupId>
                <artifactId>jira-integration-api</artifactId>
                <version>${jira.integration.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.integration.jira</groupId>
                <artifactId>jira-integration-plugin</artifactId>
                <version>${jira.integration.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.integration.jira</groupId>
                <artifactId>jira-integration-spi</artifactId>
                <version>${jira.integration.version}</version>
            </dependency>
            <!-- Required by jira-integration plugin -->
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>issue-status-plugin</artifactId>
                <version>${issue.status.plugin.version}</version>
            </dependency>

            <dependency>
                <groupId>com.atlassian.mail</groupId>
                <artifactId>atlassian-mail</artifactId>
                <version>${atl.mail.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-digester</groupId>
                        <artifactId>commons-digester</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>javax.activation</groupId>
                        <artifactId>activation</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!-- Markdown rendering -->
            <dependency>
                <groupId>com.atlassian.markup</groupId>
                <artifactId>atlassian-markup-api</artifactId>
                <version>${markup.renderer.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.markup</groupId>
                <artifactId>atlassian-markup-renderer-api</artifactId>
                <version>${markup.renderer.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark-ext-autolink</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark-ext-gfm-strikethrough</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark-ext-gfm-tables</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark-ext-heading-anchor</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.commonmark</groupId>
                <artifactId>commonmark-ext-image-attributes</artifactId>
                <version>${commonmark.libversion}</version>
            </dependency>
            <dependency>
                <groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
                <artifactId>owasp-java-html-sanitizer</artifactId>
                <version>${owasp-java-html-sanitizer.libversion}</version>
            </dependency>

            <dependency>
                <groupId>au.com.dius</groupId>
                <artifactId>pact-jvm-consumer-junit_2.11</artifactId>
                <version>${pact.version}</version>
            </dependency>
            <dependency>
                <groupId>au.com.dius</groupId>
                <artifactId>pact-jvm-provider-junit_2.11</artifactId>
                <version>${pact.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy-all</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.icegreen</groupId>
                <artifactId>greenmail</artifactId>
                <version>1.5.3</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-text-patterns</artifactId>
                <version>0.0.1</version>
            </dependency>

            <dependency>
                <groupId>com.octo.captcha</groupId>
                <artifactId>jcaptcha-api</artifactId>
                <version>2.0-alpha-1</version>
            </dependency>
            <dependency>
                <groupId>com.octo.captcha</groupId>
                <artifactId>jcaptcha</artifactId>
                <version>2.0-alpha-1</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.jhlabs</groupId>
                <artifactId>filters</artifactId>
                <version>2.0.235-1</version>
            </dependency>
            <dependency>
                <groupId>javax.mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.4.7</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-visual-comparison</artifactId>
                <version>${atl.visual.comparison.version}</version>
            </dependency>

            <!-- Plugin framework dependencies -->

            <!-- The Gemini Blueprint artifacts -->
            <dependency>
                <groupId>org.eclipse.gemini.blueprint</groupId>
                <artifactId>gemini-blueprint-core</artifactId>
                <version>${gemini.blueprint.libversion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.apache.servicemix.bundles</groupId>
                        <artifactId>org.apache.servicemix.bundles.spring-aop</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.servicemix.bundles</groupId>
                        <artifactId>org.apache.servicemix.bundles.spring-beans</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.servicemix.bundles</groupId>
                        <artifactId>org.apache.servicemix.bundles.spring-context</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.servicemix.bundles</groupId>
                        <artifactId>org.apache.servicemix.bundles.spring-core</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.servicemix.bundles</groupId>
                        <artifactId>org.apache.servicemix.bundles.spring-expression</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.eclipse.gemini.blueprint</groupId>
                <artifactId>gemini-blueprint-extender</artifactId>
                <version>${gemini.blueprint.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.gemini.blueprint</groupId>
                <artifactId>gemini-blueprint-io</artifactId>
                <version>${gemini.blueprint.libversion}</version>
            </dependency>

            <!-- The Spring framework -->
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-core</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-expression</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-beans</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-aop</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-context</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-context-support</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-web</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.spring-webmvc</artifactId>
                <version>${servicemix.spring.libversion}</version>
            </dependency>

            <!-- Spring Dependencies -->
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId>
                <version>${servicemix.aopalliance.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
                <version>${servicemix.cg.libversion}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
                <version>1_2</version>
            </dependency>
            <dependency>
                <groupId>org.apache.servicemix.bundles</groupId>
                <artifactId>org.apache.servicemix.bundles.velocity</artifactId>
                <version>${servicemix.velocity.libversion}</version>
            </dependency>

            <!-- Plugin Framework -->
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-osgi-spring-extender</artifactId>
                <version>${plug.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-osgi-bridge</artifactId>
                <version>${plug.version}</version>
            </dependency>

            <!-- OSGi Compendium implementation -->
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.compendium</artifactId>
                <version>1.4.0</version>
            </dependency>

            <!-- 3rd party libs -->
            <dependency>
                <groupId>commons-pool</groupId>
                <artifactId>commons-pool</artifactId>
                <version>1.6</version>
            </dependency>

            <!-- Search plugin dependencies -->
            <dependency>
                <groupId>com.atlassian.elasticsearch.client</groupId>
                <artifactId>elasticsearch-client</artifactId>
                <version>${atlassian-elasticsearch-client.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.elasticsearch.client</groupId>
                <artifactId>elasticsearch-client-apache-httpclient</artifactId>
                <version>${atlassian-elasticsearch-client.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.elasticsearch.client</groupId>
                <artifactId>elasticsearch-client-gson</artifactId>
                <version>${atlassian-elasticsearch-client.version}</version>
            </dependency>
            <dependency>
                <groupId>io.atlassian.fugue</groupId>
                <artifactId>fugue</artifactId>
                <version>${io-fugue.version}</version>
            </dependency>
            <dependency>
                <groupId>io.atlassian.fugue</groupId>
                <artifactId>fugue-retry</artifactId>
                <version>${io-fugue.version}</version>
            </dependency>
            <dependency>
                <groupId>io.dropwizard.metrics</groupId>
                <artifactId>metrics-annotation</artifactId>
                <version>${metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>io.dropwizard.metrics</groupId>
                <artifactId>metrics-core</artifactId>
                <version>${metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>io.dropwizard.metrics</groupId>
                <artifactId>metrics-httpasyncclient</artifactId>
                <version>${metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>io.dropwizard.metrics</groupId>
                <artifactId>metrics-jvm</artifactId>
                <version>${metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>io.dropwizard.metrics</groupId>
                <artifactId>metrics-jmx</artifactId>
                <version>${metrics.version}</version>
            </dependency>
            <dependency>
                <groupId>io.reactivex</groupId>
                <artifactId>rxjava</artifactId>
                <version>${rxjava.version}</version>
            </dependency>
            <dependency>
                <groupId>vc.inreach.aws</groupId>
                <artifactId>aws-signing-request-interceptor</artifactId>
                <version>0.0.15</version>
            </dependency>
            <dependency>
                <groupId>com.ryantenney.metrics</groupId>
                <artifactId>metrics-spring</artifactId>
                <version>${metrics-spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr4-runtime</artifactId>
                <version>${antlr4.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.elasticsearch.client</groupId>
                <artifactId>elasticsearch-client-test-util</artifactId>
                <version>${atlassian-elasticsearch-client.version}</version>
            </dependency>
            <dependency>
                <groupId>com.pholser</groupId>
                <artifactId>junit-quickcheck-core</artifactId>
                <version>${pholser.version}</version>
            </dependency>
            <dependency>
                <groupId>com.pholser</groupId>
                <artifactId>junit-quickcheck-generators</artifactId>
                <version>${pholser.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-api</artifactId>
                <version>${apache-log4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-core</artifactId>
                <version>${apache-log4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch</groupId>
                <artifactId>elasticsearch</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.plugin</groupId>
                <artifactId>transport-netty4-client</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>

            <!-- Elasticsearch distribution -->
            <dependency>
                <groupId>org.elasticsearch.distribution.zip</groupId>
                <artifactId>elasticsearch-oss</artifactId>
                <version>${elasticsearch.atlassian.hosted.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-client</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.elasticsearch</groupId>
                <artifactId>buckler-plugin</artifactId>
                <version>${buckler.version}</version>
                <type>zip</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.lesscss</groupId>
                    <artifactId>lesscss-maven-plugin</artifactId>
                    <version>${atl.less.version}</version>
                    <configuration>
                        <plugins>
                            <plugin>
                                <groupId>com.atlassian.aui</groupId>
                                <artifactId>auiplugin</artifactId>
                                <version>${aui.version}</version>
                            </plugin>
                        </plugins>
                    </configuration>
                    <executions>
                        <execution>
                            <id>compile-less</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>compile</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>api-compat-maven-plugin</artifactId>
                    <version>0.8</version>
                    <configuration>
                        <includes>
                            <include>com.atlassian.bitbucket.**</include>
                        </includes>
                        <excludes>
                            <exclude>com.atlassian.bitbucket.internal.**</exclude>
                            <exclude>com.atlassian.bitbucket.**.internal.**</exclude>
                        </excludes>
                        <suppressionsFile>${basedir}/src/test/etc/api-compat-suppressions.txt</suppressionsFile>
                        <traverse>true</traverse>
                        <oldVersion>
                            <dependency>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>${project.artifactId}</artifactId>
                                <version>${api.compatibility.check.version}</version>
                            </dependency>
                        </oldVersion>
                        <newVersion>
                            <dependency>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>${project.artifactId}</artifactId>
                                <version>${project.version}</version>
                            </dependency>
                        </newVersion>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>verify</phase>
                            <id>api-compat</id>
                            <goals>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <!--
                    Defines the ${docs.version} property using the project's version. Do not define a default
                    for ${docs.version} as the install4j-maven-plugin will use the default even if it
                    is correctly changed by this plugin.
                -->
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>docsversion-maven-plugin</artifactId>
                    <version>1.1</version>
                    <executions>
                        <execution>
                            <id>set-docs-version-property</id>
                            <phase>initialize</phase>
                            <goals>
                                <goal>set-property</goal>
                            </goals>
                            <configuration>
                                <property>docs.version</property>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>0.42</version>
                    <configuration>
                        <nonMavenDependenciesFile>third-party-licensing/missing-non-maven-dependencies.properties</nonMavenDependenciesFile>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>load-balancer-maven-plugin</artifactId>
                    <version>1.1</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>amps-dispatcher-maven-plugin</artifactId>
                    <version>${amps.libversion}</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>amps-maven-plugin</artifactId>
                    <version>${amps.libversion}</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>bamboo-maven-plugin</artifactId>
                    <version>${amps.libversion}</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>bitbucket-maven-plugin</artifactId>
                    <version>${amps.libversion}</version>
                    <configuration>
                        <extractDependencies>false</extractDependencies>
                        <extractTestDependencies>false</extractTestDependencies>
                        <skipAllPrompts>true</skipAllPrompts>
                        <skipRestDocGeneration>${skip.plugins.rest.docs}</skipRestDocGeneration> <!-- AMPS-1124 -->
                        <systemPropertyVariables>
                            <cargo.servlet.uriencoding>${source.encoding}</cargo.servlet.uriencoding>
                            <file.encoding>${source.encoding}</file.encoding>
                            <sun.jnu.encoding>${source.encoding}</sun.jnu.encoding>
                        </systemPropertyVariables>
                    </configuration>
                    <dependencies>
                        <!-- This is only needed for the branch plugin, which has clover disabled due to Scala -->
                        <dependency>
                            <groupId>com.atlassian.clover</groupId>
                            <artifactId>clover</artifactId>
                            <version>${clover.libversion}</version>
                        </dependency>
                    </dependencies>
                </plugin>

                <plugin>
                    <groupId>com.google.code.maven-replacer-plugin</groupId>
                    <artifactId>replacer</artifactId>
                    <version>1.5.3</version>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>smartass-maven-plugin</artifactId>
                    <version>2.1.3</version>
                </plugin>

                <plugin>
                    <groupId>com.sun.jersey.contribs</groupId>
                    <artifactId>maven-wadl-plugin</artifactId>
                    <version>1.8-atlassian-16</version>
                </plugin>

                <plugin>
                    <groupId>io.fabric8</groupId>
                    <artifactId>docker-maven-plugin</artifactId>
                    <!-- This version includes a change that makes it possible to use <imagesMap> in addition to <images> -->
                    <version>0.32-atlassian-37cfcd1f</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>3.1.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>3.0.0</version>
                    <configuration>
                        <configLocation>checkstyle.xml</configLocation>
                        <encoding>${source.encoding}</encoding>
                        <includeTestSourceDirectory>true</includeTestSourceDirectory>
                        <consoleOutput>true</consoleOutput>
                    </configuration>
                    <dependencies>
                        <!-- If you update versions for Checkstyle or either of the custom check jars, you need to
                             make matching changes in etc/git-hooks/pre-commit -->
                        <dependency>
                            <groupId>com.puppycrawl.tools</groupId>
                            <artifactId>checkstyle</artifactId>
                            <version>8.20</version>
                        </dependency>
                        <dependency>
                            <groupId>com.atlassian.bitbucket.server</groupId>
                            <artifactId>bitbucket-checkstyle</artifactId>
                            <version>2.0.1</version>
                            <exclusions>
                                <exclusion>
                                    <groupId>checkstyle</groupId>
                                    <artifactId>checkstyle</artifactId>
                                </exclusion>
                            </exclusions>
                        </dependency>
                        <dependency>
                            <groupId>com.atlassian</groupId>
                            <artifactId>checkstyle-custom-checks</artifactId>
                            <version>1.0.0</version>
                            <exclusions>
                                <exclusion>
                                    <groupId>checkstyle</groupId>
                                    <artifactId>checkstyle</artifactId>
                                </exclusion>
                            </exclusions>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>3.1.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>3.1.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>3.0.0-M1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>2.21.0</version>
                    <configuration>
                        <argLine>-Dxvfb.enable=${xvfb.enable}</argLine>
                        <skipTests>${skipITs}</skipTests>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${maven.javadoc.plugin.version}</version>
                    <configuration>
                        <skip>true</skip>
                        <tags><!--<editor-fold desc="Excluded tags">-->
                            <!-- a placement "X" means "ignore this tag" so put in one stanza for each jersey wadl tags -->
                            <tag>
                                <name>response.representation.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>request.representation.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>request.representation.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>request.representation.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>request.representation.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.200.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.200.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.200.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.200.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.201.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.201.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.201.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.201.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.202.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.202.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.202.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.202.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.204.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.204.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.204.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.4xx.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.400.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.400.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.400.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.400.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.401.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.401.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.401.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.401.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.403.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.403.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.403.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.403.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.404.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.404.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.404.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.404.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.409.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.409.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.409.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.409.qname</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.503.doc</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.503.example</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.503.mediaType</name>
                                <placement>X</placement>
                            </tag>
                            <tag>
                                <name>response.representation.503.qname</name>
                                <placement>X</placement>
                            </tag><!--</editor-fold>-->
                        </tags>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.5.3</version>
                    <configuration>
                        <!-- The atlassian default pom provides some defaults that are unhelpful to our release process
                             Some are semi-useful, so we will add them back in in our own process (like including the
                             release profile).
                             So here we replace them with ones we control (see the 'release-*' profiles below -->
                        <arguments>${arguments}</arguments>
                        <useReleaseProfile>${useReleaseProfile}</useReleaseProfile>
                        <!-- This is the default from the parent poms, but we'll set it here in case they change it -->
                        <preparationGoals>clean install</preparationGoals>
                        <!-- http://jira.codehaus.org/browse/MRELEASE-459 releaseProfiles doesn't work.
                             Make sure you pass the appropriate -P flags on the command line (see the 'release-*'
                             profiles below for details).
                             This setting is _not_ used in the release process any more and is really only here for
                             documentation purposes at this point. -->
                        <releaseProfiles>release,amps.prepare,full,source,source-release</releaseProfiles>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>3.0.2</version>
                    <configuration>
                        <escapeString>\</escapeString>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.21.0</version>
                    <configuration>
                        <argLine>${surefire.argLine}</argLine>
                        <trimStackTrace>false</trimStackTrace>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-war-plugin</artifactId>
                    <version>3.2.1</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.gmavenplus</groupId>
                    <artifactId>gmavenplus-plugin</artifactId>
                    <version>1.6.1</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.codehaus.groovy</groupId>
                            <artifactId>groovy-all</artifactId>
                            <version>2.4.15</version>
                            <scope>runtime</scope>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>buildnumber-maven-plugin</artifactId>
                    <version>1.4</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>3.0.0</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>1.6.0</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>findbugs-maven-plugin</artifactId>
                    <version>${maven.findbugs.plugin.version}</version>
                    <configuration>
                        <effort>Max</effort>
                        <threshold>Low</threshold>
                        <onlyAnalyze>${findbugs.only.analyze}</onlyAnalyze>
                        <omitVisitors>BadHexadecimalConversionDetector</omitVisitors>
                        <excludeFilterFile>${findbugs.excludefilterfile.path}</excludeFilterFile>
                        <includeFilterFile>${findbugs.includefilterfile.path}</includeFilterFile>
                        <plugins>
                            <plugin>
                                <groupId>com.h3xstream.findsecbugs</groupId>
                                <artifactId>findsecbugs-plugin</artifactId>
                                <version>${com.h3xstream.findsecbugs.libversion}</version>
                            </plugin>
                        </plugins>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>tidy-maven-plugin</artifactId>
                    <version>1.1.0</version>
                    <executions>
                        <execution>
                            <id>validate</id>
                            <phase>validate</phase>
                            <goals>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.sonatype.install4j</groupId>
                    <artifactId>install4j-maven-plugin</artifactId>
                    <version>1.1.1</version>
                </plugin>

                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <version>${spring.boot.libversion}</version>
                </plugin>

                <plugin>
                    <groupId>com.atlassian.minify</groupId>
                    <artifactId>minify-maven-plugin</artifactId>
                    <version>${minify.plugin.version}</version>
                    <executions>
                        <execution>
                            <id>compress-frontend-resources</id>
                            <goals>
                                <goal>minify-webresources</goal>
                            </goals>
                            <configuration>
                                <resourceBaseDirectory>${project.build.directory}/classes</resourceBaseDirectory>
                                <pluginXmlFiles>
                                    <pluginXmlFile>${basedir}/src/main/resources/atlassian-plugin.xml</pluginXmlFile>
                                </pluginXmlFiles>
                                <outputDirectory>${project.build.directory}/classes</outputDirectory>
                                <minifierLogLevel>ERROR</minifierLogLevel>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>com.github.eirslett</groupId>
                    <artifactId>frontend-maven-plugin</artifactId>
                    <version>${fe.plugin.version}</version>
                    <configuration>
                        <workingDirectory>${basedir}</workingDirectory>
                        <nodeVersion>v${fe.node.version}</nodeVersion>
                        <npmVersion>${fe.npm.version}</npmVersion>
                        <installDirectory>${fe.node.installdir}</installDirectory>
                        <npmDownloadRoot>https://registry.npmjs.org/npm/-/</npmDownloadRoot>
                        <environmentVariables>
                            <BABEL_ENV>production</BABEL_ENV>
                        </environmentVariables>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>run pmd</id>
                            <phase>none</phase>
                        </execution>
                    </executions>
                    <version>${maven.pmd.plugin.version}</version>
                    <configuration>
                        <aggregate>true</aggregate>
                        <includeTests>true</includeTests>
                        <linkXRef>false</linkXRef>
                        <rulesets>
                            <ruleset>${user.dir}/etc/code-insights/pmd-rules.xml</ruleset>
                        </rulesets>
                        <showPmdLog>true</showPmdLog>
                        <sourceEncoding>utf-8</sourceEncoding>
                        <targetJdk>1.8</targetJdk>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-i18n-maven-plugin</artifactId>
                <version>3.2.0</version>
                <inherited>false</inherited>
                <configuration>
                    <allowUtf8>true</allowUtf8>
                    <ignoredFiles>
                        <ignoredFile>aui-experimental.min.js</ignoredFile>
                        <ignoredFile>aui-experimental.js</ignoredFile>
                        <ignoredFile>aui-all.js</ignoredFile>
                        <ignoredFile>aui.min.js</ignoredFile>
                        <ignoredFile>aui-all.js</ignoredFile>
                        <ignoredFile>aui.js</ignoredFile>
                    </ignoredFiles>
                    <ignoredProperties>
                        <ignoredProperty>embedded.crowd.directory.list.menu</ignoredProperty>
                        <ignoredProperty>test</ignoredProperty>
                        <ignoredProperty>bitbucket.web.example.property.which.uses.utf8</ignoredProperty>
                    </ignoredProperties>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <!-- Kill the hammer rule with fire, because it's pointless noise and a waste of time to
                             continuously update as our milestone and release candidate dependencies change -->
                        <id>ban-milestones-and-release-candidates</id>
                        <phase>none</phase>
                    </execution>
                    <execution>
                        <id>enforce-build-environment</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <requireJavaVersion>
                                    <version>${requireJavaVersion}</version>
                                </requireJavaVersion>
                                <requireMavenVersion>
                                    <!-- Relax the requirements from the parent pom.
                                         Windows agents only have maven 3.5 available but appear to build fine  -->
                                    <version>[3.5,)</version>
                                </requireMavenVersion>
                                <requirePluginVersions>
                                    <unCheckedPluginList>
                                        com.atlassian.bitbucket.server:bitbucket-i18n-maven-plugin,
                                        com.atlassian.maven.plugins:bitbucket-maven-plugin,
                                    </unCheckedPluginList>
                                    <message>Best practice is to always define plugin versions!</message>
                                </requirePluginVersions>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <!-- Since we have no license files to copy, we disable the copy-license execution
                             inherited from base-pom. For more details, see:
                             https://extranet.atlassian.com/jira/browse/BUILDENG-13628 -->
                        <id>copy-license</id>
                        <phase>none</phase>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>clover-maven-plugin</artifactId>
                <version>${clover.libversion}</version>
                <configuration>
                    <encoding>${source.encoding}</encoding>
                    <singleCloverDatabase>false</singleCloverDatabase>
                    <historyDir>${clover.historyDir}</historyDir>
                    <generateHistorical>true</generateHistorical>
                    <includesTestSourceRoots>false</includesTestSourceRoots>
                    <reportDescriptor>${clover.report.path}</reportDescriptor>
                    <contextFilters>interface</contextFilters>
                    <includes>
                        <include>**/com/atlassian/stash/**/*.java</include>
                        <include>**/com/atlassian/bitbucket/**/*.java</include>
                    </includes>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>com.atlassian.clover</groupId>
                        <artifactId>clover</artifactId>
                        <version>${clover.libversion}</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>${skipTests}</skipTests>
                    <trimStackTrace>false</trimStackTrace>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>install-files-maven-plugin</artifactId>
                <version>1.0.1</version>
                <inherited>false</inherited>
                <configuration>
                    <repositoryFolder>target/mvn-repo</repositoryFolder>
                </configuration>
                <executions>
                    <execution>
                        <id>do-install</id>
                        <inherited>false</inherited>
                        <goals>
                            <goal>install-files</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- we install node & npm, and do "npm install" in the root POM to save having to do it in webapp plus
                every bundled plugin that uses node to do it's frontend build. The caveat is that if  you're building a
                plugin directly, and dependencies in package.json, or the node version, change you need to
                re-build from root. -->
            <plugin>
                <groupId>com.github.eirslett</groupId>
                <artifactId>frontend-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <inherited>false</inherited>
                        <id>install node and npm</id>
                        <goals>
                            <goal>install-node-and-npm</goal>
                        </goals>
                        <phase>generate-resources</phase>
                    </execution>
                    <execution>
                        <inherited>false</inherited>
                        <id>node_modules version check</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <skip>${skipNpmInstall}</skip>
                            <arguments>run node-modules-version-check</arguments>
                        </configuration>
                    </execution>
                    <execution>
                        <inherited>false</inherited>
                        <id>npm install</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <skip>${skipNpmInstall}</skip>
                            <arguments>${fe.npm.install.cmd} --no-optional</arguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <extensions>
            <extension>
                <groupId>com.atlassian.bitbucket.codeinsights</groupId>
                <artifactId>annotationPoster</artifactId>
                <version>1.1.3</version>
            </extension>
        </extensions>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>${maven.findbugs.plugin.version}</version>
                <configuration>
                    <onlyAnalyze>${findbugs.only.analyze}</onlyAnalyze>
                    <xmlOutput>true</xmlOutput> <!--use XML output for the Bamboo findbugs plugin-->
                    <effort>Max</effort>
                    <threshold>Low</threshold>
                    <omitVisitors>BadHexadecimalConversionDetector</omitVisitors>
                    <excludeFilterFile>${findbugs.excludefilterfile.path}</excludeFilterFile>
                    <includeFilterFile>${findbugs.includefilterfile.path}</includeFilterFile>
                    <plugins>
                        <plugin>
                            <groupId>com.h3xstream.findsecbugs</groupId>
                            <artifactId>findsecbugs-plugin</artifactId>
                            <version>${com.h3xstream.findsecbugs.libversion}</version>
                        </plugin>
                    </plugins>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

    <profiles>
        <profile>
            <id>normal-build</id>
            <activation>
                <property>
                    <name>!api-compat</name>
                </property>
            </activation>
            <modules>
                <module>api</module>
                <module>spi</module>
                <module>model</module>
                <module>dao-api</module>
                <module>dao-impl</module>
                <module>dmz-api</module>
                <module>dmz-spi</module>
                <module>features</module>
                <module>scm</module>
                <module>util</module>
                <module>test-util</module>
                <module>platform</module>
                <module>plugins</module>
                <module>service-api</module>
                <module>service-impl</module>
                <module>web-common</module>
                <module>webapp</module>
                <module>func-test</module>
            </modules>
        </profile>
        <profile>
            <id>full</id>
            <modules>
                <module>distribution</module>
            </modules>
        </profile>
        <profile>
            <id>jdk8</id>
            <properties>
                <!-- Override the base POM's doclint params -->
                <javadoc.additional.params />
            </properties>
        </profile>
        <profile>
            <id>release</id>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <version>${maven.javadoc.plugin.version}</version>
                            <executions>
                                <execution>
                                    <!-- This id must match the one defined in the atlassian-base-pom -->
                                    <id>attach-javadocs</id>
                                    <goals>
                                        <goal>jar</goal>
                                    </goals>
                                    <configuration>
                                        <failOnError>true</failOnError>

                                        <useStandardDocletOptions>false</useStandardDocletOptions>
                                        <bootclasspath>${sun.boot.class.path}</bootclasspath>
                                        <additionalOptions>
                                            -d ${project.build.directory}/apidocs
                                            ${release.javadoc.additional.params}
                                        </additionalOptions>
                                        <maxmemory>1024m</maxmemory>
                                        <detectOfflineLinks>false</detectOfflineLinks>
                                        <encoding>${source.encoding}</encoding>
                                        <additionalDependencies>
                                            <additionalDependency>
                                                <groupId>org.joda</groupId>
                                                <artifactId>joda-convert</artifactId>
                                                <version>1.2</version>
                                            </additionalDependency>
                                            <additionalDependency>
                                                <groupId>log4j</groupId>
                                                <artifactId>log4j</artifactId>
                                                <version>${log4j.libversion}</version>
                                            </additionalDependency>
                                            <additionalDependency>
                                                <groupId>commons-logging</groupId>
                                                <artifactId>commons-logging</artifactId>
                                                <version>1.1.1</version>
                                            </additionalDependency>
                                            <additionalDependency>
                                                <groupId>javax.servlet</groupId>
                                                <artifactId>javax.servlet-api</artifactId>
                                                <version>${servlet.api.version}</version>
                                            </additionalDependency>
                                            <additionalDependency>
                                                <groupId>org.osgi</groupId>
                                                <artifactId>org.osgi.annotation</artifactId>
                                                <version>6.0.0</version>
                                            </additionalDependency>
                                        </additionalDependencies>
                                    </configuration>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>
                <plugins>
                    <plugin>
                        <groupId>com.atlassian.maven.plugins</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                        <inherited>false</inherited>
                        <executions>
                            <execution>
                                <id>deploy-sources</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>open-source-distro</goal>
                                </goals>
                                <configuration>
                                    <deploySources>true</deploySources>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
            <properties>
                <skip.plugins.rest.docs>false</skip.plugins.rest.docs>
                <release.javadoc.additional.params />
            </properties>
        </profile>
        <profile>
            <id>release-pom-transform</id>
            <modules>
                <!-- during a release, make sure we transform the docs pom as well -->
                <module>docs</module>
                <module>etc/release</module>
            </modules>
        </profile>
        <profile>
            <id>skipIntegrationTests</id>
            <properties>
                <skipIntegrationTests>true</skipIntegrationTests>
                <skipITs>true</skipITs>
            </properties>
        </profile>
        <profile>
            <id>findbugs</id>
            <reporting>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>findbugs-maven-plugin</artifactId>
                    </plugin>
                </plugins>
            </reporting>
        </profile>
        <profile>
            <id>release-prepare-no-tests</id>
            <properties>
                <arguments>-DskipSmokeTests=true -DskipTests=true -Prelease-pom-transform,release,full,bom,source,it,skipIntegrationTests</arguments>
            </properties>
        </profile>
        <profile>
            <id>release-prepare</id>
            <properties>
                <arguments>-DskipSmokeTests=true -Prelease-pom-transform,release,full,bom,source,it,skipIntegrationTests -Dxvfb.enable=true</arguments>
            </properties>
        </profile>
        <profile>
            <id>release-perform-no-tests</id>
            <properties>
                <arguments>-DskipSmokeTests=true -DskipTests=true -Prelease,amps.prepare,full,bom,source,source-release,skipIntegrationTests</arguments>
            </properties>
        </profile>
        <profile>
            <id>release-perform</id>
            <properties>
                <arguments>-DskipSmokeTests=true -Prelease,amps.prepare,full,bom,source,source-release -Dxvfb.enable=true</arguments>
            </properties>
        </profile>
        <profile>
            <id>localDeploy</id>
            <distributionManagement>
                <repository>
                    <id>local-deploy-maven-repository</id>
                    <url>file:${local-deploy.dir}</url>
                </repository>
                <snapshotRepository>
                    <id>local-deploy-maven-repository</id>
                    <url>file:${local-deploy.dir}</url>
                </snapshotRepository>
            </distributionManagement>
        </profile>
        <!-- To activate this profile, use -Dapi-compat. Otherwise, it will include all the modules rather than just
        the ones that we want to check. Alternatively you can use -Papi-compat,\!normal-build to achieve the same thing -->
        <profile>
            <id>api-compat</id>
            <activation>
                <property>
                    <name>api-compat</name>
                </property>
            </activation>
            <modules>
                <module>api</module>
                <module>dao-api</module>
                <module>util</module>
                <module>test-util</module>
                <module>web-common</module>
                <module>spi</module>
                <module>plugins</module>
                <module>scm</module>
            </modules>
        </profile>
        <!-- On Linux, use Node and NPM packages hosted on our Maven repository -->
        <profile>
            <id>atlassian-hosted-linux</id>
            <activation>
                <os>
                    <name>linux</name>
                    <arch>amd64</arch>
                </os>
                <!-- Only activate this profile on Bamboo builds -->
                <property>
                    <name>env.bamboo_planKey</name>
                </property>
            </activation>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>com.github.eirslett</groupId>
                            <artifactId>frontend-maven-plugin</artifactId>
                            <configuration>
                                <nodeVersion>v${fe.node.atlassian.hosted.version}</nodeVersion>
                                <npmVersion>${fe.npm.atlassian.hosted.version}</npmVersion>
                                <environmentVariables>
                                    <!-- Used by the phantomjs-prebuilt npm module, see https://www.npmjs.com/package/phantomjs-prebuilt -->
                                    <PHANTOMJS_CDNURL>
                                        https://packages.atlassian.com/maven/repository/public/com/github/klieber/phantomjs/2.1.1/
                                    </PHANTOMJS_CDNURL>
                                </environmentVariables>
                            </configuration>
                            <dependencies>
                                <dependency>
                                    <groupId>com.github.eirslett</groupId>
                                    <artifactId>node</artifactId>
                                    <version>${fe.node.atlassian.hosted.version}</version>
                                    <type>tar.gz</type>
                                    <classifier>linux-x64</classifier>
                                </dependency>
                                <dependency>
                                    <groupId>com.github.eirslett</groupId>
                                    <artifactId>npm</artifactId>
                                    <version>${fe.npm.atlassian.hosted.version}</version>
                                    <type>tar.gz</type>
                                </dependency>
                            </dependencies>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
        <!-- On Windows, use Node and NPM packages hosted on our Maven repository -->
        <profile>
            <id>atlassian-hosted-windows</id>
            <activation>
                <os>
                    <family>windows</family>
                    <arch>amd64</arch>
                </os>
                <!-- Only activate this profile on Bamboo builds. -->
                <!-- Environment variables normalized to all upper-case on Windows. -->
                <property>
                    <name>env.BAMBOO_PLANKEY</name>
                </property>
            </activation>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>com.github.eirslett</groupId>
                            <artifactId>frontend-maven-plugin</artifactId>
                            <configuration>
                                <nodeVersion>v${fe.node.atlassian.hosted.version}</nodeVersion>
                                <npmVersion>${fe.npm.atlassian.hosted.version}</npmVersion>
                                <environmentVariables>
                                    <!-- Used by the phantomjs-prebuilt npm module, see https://www.npmjs.com/package/phantomjs-prebuilt -->
                                    <PHANTOMJS_CDNURL>
                                        https://packages.atlassian.com/maven/repository/public/com/github/klieber/phantomjs/2.1.1/
                                    </PHANTOMJS_CDNURL>
                                </environmentVariables>
                            </configuration>
                            <dependencies>
                                <dependency>
                                    <groupId>com.github.eirslett</groupId>
                                    <artifactId>node</artifactId>
                                    <version>${fe.node.atlassian.hosted.version}</version>
                                    <type>exe</type>
                                    <classifier>win-x64</classifier>
                                </dependency>
                                <dependency>
                                    <groupId>com.github.eirslett</groupId>
                                    <artifactId>npm</artifactId>
                                    <version>${fe.npm.atlassian.hosted.version}</version>
                                    <type>tar.gz</type>
                                </dependency>
                            </dependencies>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
        <profile>
            <id>pmd</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-pmd-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>run pmd</id>
                                <goals>
                                    <goal>pmd</goal>
                                </goals>
                                <phase>verify</phase>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <!-- #### Selenium in Docker configuration #### -->
        <!--

             Add the following profile in all submodules that run webdriver tests:

             <profile>
                <id>selenium.docker</id>
                <activation>
                    <property>
                        <name>selenium.docker</name>
                    </property>
                </activation>
                <build>
                    <plugins>
                        <plugin>
                            <groupId>io.fabric8</groupId>
                            <artifactId>docker-maven-plugin</artifactId>
                        </plugin>
                    </plugins>
                </build>
            </profile>

            Do not enable profiles directly. Instead, pass the system property '-Dselenium.docker'.
            To start the selenium container in debug mode with a VNC server on port 5900, pass '-Dselenium.docker=debug'.

        -->
        <profile>
            <id>selenium.docker</id>
            <activation>
                <property>
                    <name>selenium.docker</name>
                </property>
            </activation>
            <properties>
                <webdriver.browser>${webdriver.docker.browser}:url=http://localhost:4444</webdriver.browser>
                <!-- Start Firefox in headless mode instead of using XVFB to save some memory -->
                <webdriver.browser.headless>true</webdriver.browser.headless>
                <!-- Host networking enables the Selenium container to access the host's resources on 'localhost' and
                     be available on 'locahost:4444' -->
                <selenium.docker.network.mode>host</selenium.docker.network.mode>
                <!-- Firefox requires 2G of /dev/shm size -->
                <selenium.docker.shm.size>2147483648</selenium.docker.shm.size>
            </properties>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>com.atlassian.maven.plugins</groupId>
                            <artifactId>bitbucket-maven-plugin</artifactId>
                            <configuration>
                                <systemPropertyVariables>
                                    <webdriver.browser>${webdriver.browser}</webdriver.browser>
                                    <webdriver.browser.headless>${webdriver.browser.headless}</webdriver.browser.headless>
                                </systemPropertyVariables>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-failsafe-plugin</artifactId>
                            <configuration>
                                <systemPropertyVariables>
                                    <webdriver.browser>${webdriver.browser}</webdriver.browser>
                                    <webdriver.browser.headless>${webdriver.browser.headless}</webdriver.browser.headless>
                                </systemPropertyVariables>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>io.fabric8</groupId>
                            <artifactId>docker-maven-plugin</artifactId>
                            <configuration>
                                <imagesMap>
                                    <selenium>
                                        <name>${webdriver.docker.image}</name>
                                        <run>
                                            <env>
                                                <START_XVFB>false</START_XVFB>
                                                <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
                                            </env>
                                            <network>
                                                <mode>${selenium.docker.network.mode}</mode>
                                            </network>
                                            <volumes>
                                                <bind>
                                                    <!-- Map the project directory so files are available inside the
                                                         container under the same path. This is used for capturing
                                                         screenshots and page sources when a test fails. -->
                                                    <volume>${project.basedir}:${project.basedir}</volume>
                                                </bind>
                                            </volumes>
                                            <wait>
                                                <http>
                                                    <method>GET</method>
                                                    <url>http://localhost:4444/wd/hub/status</url>
                                                </http>
                                                <time>60000</time>
                                            </wait>
                                            <shmSize>${selenium.docker.shm.size}</shmSize>
                                            <log>
                                                <prefix />
                                                <file>${project.build.directory}/seleniumDockerLogs/selenium-container.log</file>
                                            </log>
                                        </run>
                                    </selenium>
                                </imagesMap>
                            </configuration>
                            <executions>
                                <execution>
                                    <id>start</id>
                                    <phase>pre-integration-test</phase>
                                    <goals>
                                        <goal>start</goal>
                                    </goals>
                                </execution>
                                <execution>
                                    <id>stop</id>
                                    <phase>post-integration-test</phase>
                                    <goals>
                                        <goal>stop</goal>
                                    </goals>
                                </execution>
                                <execution>
                                    <id>stop-clean</id>
                                    <phase>pre-clean</phase>
                                    <goals>
                                        <goal>stop</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
        <profile>
            <id>selenium.docker.withproxy</id>
            <activation>
                <os>
                    <name>!linux</name>
                </os>
                <property>
                    <name>selenium.docker</name>
                </property>
            </activation>
            <properties>
                <!-- Host networking on platforms other than Linux means the container will use the networking of the
                     VM that is running Docker and not 'localhost'. Fall back to regular port mapping and start an extra
                     'proxy' container to forward requests to localhost inside the Selenium container to the host -->
                <selenium.docker.network.mode>bridge</selenium.docker.network.mode>
                <selenium.docker.proxy.ports>7990 7991 7992 7993 7994</selenium.docker.proxy.ports>
                <!-- 'host.docker.internal' is available on Docker for Windows and Mac only. -->
                <selenium.docker.proxy.host>host.docker.internal</selenium.docker.proxy.host>
            </properties>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>io.fabric8</groupId>
                            <artifactId>docker-maven-plugin</artifactId>
                            <configuration>
                                <imagesMap>
                                    <selenium>
                                        <run>
                                            <ports combine.children="append">
                                                <port>4444:4444</port>
                                            </ports>
                                        </run>
                                    </selenium>
                                    <!-- This container proxies port 7990 through 7994 back to the Docker host so that
                                         the browser inside the Selenium container can access Bitbucket running outside
                                         of the container on 'localhost'. -->
                                    <proxy>
                                        <name>alpine/socat</name>
                                        <run>
                                            <entrypoint>
                                                <exec>
                                                    <arg>sh</arg>
                                                    <arg>-c</arg>
                                                    <arg>
                                                        set -- ${selenium.docker.proxy.ports}
                                                        while [ $# -gt 0 ]; do
                                                            socat -d -d TCP-LISTEN:$1,reuseaddr,fork TCP:${selenium.docker.proxy.host}:$1 &amp;
                                                            shift
                                                        done
                                                        exec socat pipe pipe
                                                    </arg>
                                                </exec>
                                            </entrypoint>
                                            <!-- This setting makes it so that it uses the networking stack of the
                                                 'selenium' container, therefore becoming accessible on 'localhost'
                                                 from inside it -->
                                            <network>
                                                <mode>container</mode>
                                                <name>selenium</name>
                                            </network>
                                            <log>
                                                <prefix />
                                                <file>${project.build.directory}/seleniumDockerLogs/proxy-container.log</file>
                                            </log>
                                        </run>
                                    </proxy>
                                </imagesMap>
                            </configuration>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
        <profile>
            <id>selenium.docker.debug</id>
            <activation>
                <property>
                    <name>selenium.docker</name>
                    <value>debug</value>
                </property>
            </activation>
            <properties>
                <webdriver.browser.headless>false</webdriver.browser.headless>
            </properties>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>io.fabric8</groupId>
                            <artifactId>docker-maven-plugin</artifactId>
                            <configuration>
                                <imagesMap>
                                    <selenium>
                                        <run>
                                            <env>
                                                <START_XVFB>true</START_XVFB>
                                                <JAVA_OPTS>-Xmx1024m</JAVA_OPTS>
                                            </env>
                                            <ports combine.children="append">
                                                <port>5900:5900</port>
                                            </ports>
                                        </run>
                                        <name>${webdriver.docker.debug.image}</name>
                                    </selenium>
                                </imagesMap>
                            </configuration>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>

        <!-- Use `npm clean-install` command when running on CI environment -->
        <profile>
            <id>npm-ci-bamboo</id>
            <activation>
                <!-- Only activate this profile on Bamboo builds -->
                <property>
                    <name>env.bamboo_planKey</name>
                </property>
            </activation>
            <properties>
                <fe.npm.install.cmd>clean-install</fe.npm.install.cmd>
            </properties>
        </profile>
        <profile>
            <id>npm-ci-bamboo-windows</id>
            <activation>
                <!-- Only activate this profile on Bamboo builds -->
                <!-- Environment variables normalized to all upper-case on Windows. -->
                <property>
                    <name>env.BAMBOO_PLANKEY</name>
                </property>
            </activation>
            <properties>
                <fe.npm.install.cmd>clean-install</fe.npm.install.cmd>
            </properties>
        </profile>
    </profiles>
</project>
