<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <parent>
        <groupId>com.atlassian.streams</groupId>
        <artifactId>streams-parent</artifactId>
        <version>5.1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>streams-aggregator-plugin</artifactId>
    <packaging>atlassian-plugin</packaging>
    <name>Streams Plugin</name>
    <dependencies>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-api</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-spi</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-core-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-inline-actions-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-bamboo-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-confluence-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-crucible-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-fisheye-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-jira-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-thirdparty-plugin</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.activeobjects</groupId>
            <artifactId>activeobjects-plugin</artifactId>
            <scope>provided</scope>
            <type>atlassian-plugin</type>
        </dependency>
        <dependency>
            <groupId>com.atlassian.util.concurrent</groupId>
            <artifactId>atlassian-util-concurrent</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.event</groupId>
            <artifactId>atlassian-event</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.sal</groupId>
            <artifactId>sal-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>atlassian-plugins-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>atlassian-plugins-webresource</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-common</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.templaterenderer</groupId>
            <artifactId>atlassian-template-renderer-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.bundles</groupId>
            <artifactId>google-collections</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-jaxrs</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-core</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.osgi</groupId>
            <artifactId>spring-osgi-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.osgi.compendium</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.applinks</groupId>
            <artifactId>applinks-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.abdera</groupId>
            <artifactId>abdera-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.abdera</groupId>
            <artifactId>abdera-parser</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.abdera</groupId>
            <artifactId>abdera-extensions-main</artifactId>
        </dependency>

        <!-- test dependencies -->
        <dependency>
            <groupId>com.atlassian.streams</groupId>
            <artifactId>streams-testing</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit-dep</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-all</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.integrationtesting</groupId>
            <artifactId>atlassian-integrationtesting-lib</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey</groupId>
            <artifactId>jersey-client</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.jersey.contribs</groupId>
            <artifactId>jersey-atom-abdera</artifactId>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
        </dependency>
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>
        <dependency>
            <groupId>rhino</groupId>
            <artifactId>js</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.fisheye</groupId>
            <artifactId>atlassian-fisheye-api</artifactId>
            <version>${fecru.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>rome</groupId>
            <artifactId>rome</artifactId>
            <version>${rome.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>jdom</groupId>
            <artifactId>jdom</artifactId>
            <version>1.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Import-Package>
                            com.atlassian.util.concurrent*;version="${atlassian.concurrent.target.version}",
                            com.atlassian.applinks.api.*;version="${applinks.version}",
                            com.atlassian.plugin.*;version="${atlassian.plugins.version}",
                            com.atlassian.plugins.rest.common*;version="1.0.5",
                            com.atlassian.sal.api*;version="${sal.api.version}",
                            com.atlassian.streams.api.*;version="${project.version}",
                            com.atlassian.streams.spi.*;version="${project.version}",
                            com.atlassian.streams.formatter.*;version="${project.version}",
                            com.atlassian.streams.action.*;version="${project.version}";resolution:=optional,
                            com.atlassian.templaterenderer*;version="1.0",
                            com.google.common.*;version="1.0",
                            com.sun.jersey.*;version="1.2",
                            javax.activation.*;version="0.0.0",
                            javax.servlet.*;version="0.0",
                            javax.ws.rs.*;version="1.0",
                            javax.xml.bind.annotation;version="2.1",
                            javax.xml.namespace.*;version="0.0.0",
                            javax.xml.transform.*;version="0.0.0",
                            org.apache.commons.codec*;version="1.4",
                            org.apache.commons.collections*;version="3.2",
                            org.apache.commons.lang*;version="2.4",
                            org.apache.commons.io.*,
                            org.apache.commons.lang;version="2.4",
                            org.apache.commons.logging.*,
                            org.apache.velocity.*;version="1.5",
                            org.codehaus.jackson.xc.*;version="0.0";resolution:=optional,
                            org.codehaus.jackson*;version="1.4.4",
                            org.joda.time.*;version="1.6",
                            org.osgi.framework;version="1.3",
                            org.osgi.util.tracker*;version="1.4.0",
                            org.slf4j;version="1.5.0",
                            org.springframework.beans*;version="2.5.2",
                            org.springframework.context.*;version="2.5.2",
                            org.springframework.osgi*;version="1.1.2"
                        </Import-Package>
                        <Export-Package>
                            org.codehaus.jackson*;version="1.4.4"
                        </Export-Package>
                        <Private-Package>
                            com.atlassian.streams.internal.*
                        </Private-Package>
                        <Spring-Context>*;timeout:=60</Spring-Context>
                    </instructions>
                    <contextPath>${contextPath}</contextPath>
                    <!-- The api/spi packages have to be provided from outside the core plugin to work in Bamboo.
                         This may be a problem with the version of plugins Bamboo is currently using - 2.4.4 - as it 
                         works fine in RefApp.  Once Bamboo has upgraded the version of plugins they use we can check
                         again to see if this is still necessary or if we can provide api/spi/core all in one artifact.
                         -->
                    <bundledArtifacts>
                        <bundledArtifact>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>streams-api</artifactId>
                            <version>${project.version}</version>
                        </bundledArtifact>
                        <bundledArtifact>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>streams-spi</artifactId>
                            <version>${project.version}</version>
                        </bundledArtifact>
                        <bundledArtifact>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>streams-core-plugin</artifactId>
                            <version>${project.version}</version>
                        </bundledArtifact>
                        <bundledArtifact>
                            <groupId>com.atlassian.integrationtesting</groupId>
                            <artifactId>atlassian-integrationtesting-plugin</artifactId>
                            <version>${ait.version}</version>
                        </bundledArtifact>
                        <bundledArtifact>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>streams-js-tests-plugin</artifactId>
                            <version>${project.version}</version>
                        </bundledArtifact>
                        <bundledArtifact>
                            <groupId>com.atlassian.util.concurrent</groupId>
                            <artifactId>atlassian-util-concurrent</artifactId>
                        </bundledArtifact>
                        <!-- UPM-1152 bundle UPM so we can upgrade bundles -->
                        <bundledArtifact>
                            <groupId>com.atlassian.upm</groupId>
                            <artifactId>atlassian-universal-plugin-manager-plugin</artifactId>
                            <version>1.6-m2</version>
                        </bundledArtifact>
                    </bundledArtifacts>
                    <products>
                        <product>
                            <id>bamboo</id>
                            <version>${bamboo.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${bamboo.data.base}</productDataPath>
                            <output>${project.build.directory}/bamboo-${bamboo.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root},${thirdparty.api.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${bamboo.provider.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <bundledArtifacts>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-api</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-spi</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-core-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-js-tests-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-api</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-plugin</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.util.concurrent</groupId>
                                    <artifactId>atlassian-util-concurrent</artifactId>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-bamboo-spi</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                            </bundledArtifacts>
                        </product>
                        <product>
                            <id>bamboo</id>
                            <instanceId>bamboo-applinks</instanceId>
                            <version>${bamboo.version}</version>
                            <productDataPath>${bamboo.data.applinks}</productDataPath>
                            <output>${project.build.directory}/bamboo-applinks-${bamboo.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root},${thirdparty.api.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${bamboo.provider.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <bundledArtifacts>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-api</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-spi</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-core-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-js-tests-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-api</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-plugin</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.util.concurrent</groupId>
                                    <artifactId>atlassian-util-concurrent</artifactId>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-bamboo-spi</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                            </bundledArtifacts>
                        </product>
                        <product>
                            <id>bamboo</id>
                            <instanceId>bamboo-applinks-oauth</instanceId>
                            <version>${bamboo.version}</version>
                            <productDataPath>${bamboo.data.applinks.oauth}</productDataPath>
                            <output>${project.build.directory}/bamboo-applinks-oauth-${bamboo.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${bamboo.provider.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <bundledArtifacts>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-api</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-spi</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-core-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-js-tests-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-api</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.security.auth.trustedapps</groupId>
                                    <artifactId>atlassian-trusted-apps-plugin</artifactId>
                                    <version>${trustedapps.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.util.concurrent</groupId>
                                    <artifactId>atlassian-util-concurrent</artifactId>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-bamboo-spi</artifactId>
                                    <version>${ao.version}</version>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </bundledArtifact>
                            </bundledArtifacts>
                        </product>
                        <product>
                            <id>confluence</id>
                            <version>${confluence.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${confluence.data.base}</productDataPath>
                            <output>${project.build.directory}/confluence-${confluence.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${confluence.provider.resources},${streams.inline.actions.resources},${confluence.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${confluence.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.bundles</groupId>
                                    <artifactId>google-collections</artifactId>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-confluence-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-confluence-3.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-confluence-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>confluence</id>
                            <instanceId>confluence-applinks</instanceId>
                            <version>${confluence.version}</version>
                            <productDataPath>${confluence.data.applinks}</productDataPath>
                            <output>${project.build.directory}/confluence-applinks-${confluence.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${confluence.provider.resources},${streams.inline.actions.resources},${confluence.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${confluence.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
	                        </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.bundles</groupId>
                                    <artifactId>google-collections</artifactId>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fecru-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-confluence-3.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-confluence-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>confluence</id>
                            <instanceId>confluence-applinks-oauth</instanceId>
                            <version>${confluence.version}</version>
                            <productDataPath>${confluence.data.applinks.oauth}</productDataPath>
                            <output>${project.build.directory}/confluence-applinks-oauth-${confluence.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${confluence.provider.resources},${streams.inline.actions.resources},${confluence.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${confluence.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.bundles</groupId>
                                    <artifactId>google-collections</artifactId>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fecru-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-confluence-3.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-confluence-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>fecru</id>
                            <version>${fecru.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${fecru.data.base}</productDataPath>
                            <output>${project.build.directory}/fecru-${fecru.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${crucible.provider.resources},${fisheye.provider.resources},${streams.inline.actions.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fisheye-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-crucible-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>fecru</id>
                            <instanceId>fecru-applinks</instanceId>
                            <version>${fecru.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${fecru.data.applinks}</productDataPath>
                            <output>${project.build.directory}/fecru-applinks-${fecru.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${crucible.provider.resources},${fisheye.provider.resources},${streams.inline.actions.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fisheye-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-crucible-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>fecru</id>
                            <instanceId>fecru-applinks-oauth</instanceId>
                            <version>${fecru.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${fecru.data.applinks.oauth}</productDataPath>
                            <output>${project.build.directory}/fecru-applinks-oauth-${fecru.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${crucible.provider.resources},${fisheye.provider.resources},${streams.inline.actions.resources}</plugin.resource.directories>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                            </systemPropertyVariables>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fisheye-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-crucible-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>jira</id>
                            <version>${jira.version}</version>
                            <httpPort>${httpPort}</httpPort>
                            <productDataPath>${jira.data.base}</productDataPath>
                            <output>${project.build.directory}/jira-${jira.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${jira.provider.resources},${streams.inline.actions.resources},${jira.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${jira.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                                <!-- STRM-852: Worakaround for JIRA bug in IE -->
                                <plugin.webresource.batching.off>false</plugin.webresource.batching.off>
                            </systemPropertyVariables>
                            <libArtifacts>
                                <!-- remove this once JIRA 5 includes a current version of the ActiveObjects SPI -->
                                <libArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-spi</artifactId>
                                    <version>${ao.version}</version>
                                </libArtifact>
                            </libArtifacts>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.jirawallboard</groupId>
                                    <artifactId>atlassian-wallboard-plugin</artifactId>
                                    <version>${jirawallboard.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-jira-4.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-jira-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>jira</id>
                            <instanceId>jira-applinks</instanceId>
                            <version>${jira.version}</version>
                            <productDataPath>${jira.data.applinks}</productDataPath>
                            <output>${project.build.directory}/jira-applinks-${jira.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${jira.provider.resources},${streams.inline.actions.resources},${jira.inline.actions.resources},${confluence.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${jira.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                                <!-- STRM-852: Worakaround for JIRA bug in IE -->
                                <plugin.webresource.batching.off>false</plugin.webresource.batching.off>
                            </systemPropertyVariables>
                            <libArtifacts>
                                <!-- remove this once JIRA 5 includes a current version of the ActiveObjects SPI -->
                                <libArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-spi</artifactId>
                                    <version>${ao.version}</version>
                                </libArtifact>
                            </libArtifacts>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fecru-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.jirawallboard</groupId>
                                    <artifactId>atlassian-wallboard-plugin</artifactId>
                                    <version>${jirawallboard.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-jira-4.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-jira-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>jira</id>
                            <instanceId>jira-applinks-oauth</instanceId>
                            <version>${jira.version}</version>
                            <productDataPath>${jira.data.applinks.oauth}</productDataPath>
                            <output>${project.build.directory}/jira-applinks-oauth-${jira.version}.log</output>
                            <systemPropertyVariables>
                                <plugin.root.directories>${streams.api.root},${streams.spi.root}</plugin.root.directories>
                                <plugin.resource.directories>${thirdparty.provider.resources},${streams.core.resources},${streams.aggregator.resources},${jira.provider.resources},${streams.inline.actions.resources},${jira.inline.actions.resources},${confluence.inline.actions.resources}</plugin.resource.directories>
                                <fastdev.no.reload.files>${jira.gadget.xml}</fastdev.no.reload.files>
                                <atlassian.dev.mode>true</atlassian.dev.mode>
                                <java.awt.headless>true</java.awt.headless>
                                <!-- STRM-852: Worakaround for JIRA bug in IE -->
                                <plugin.webresource.batching.off>false</plugin.webresource.batching.off>
                            </systemPropertyVariables>
                            <libArtifacts>
                                <!-- remove this once JIRA 5 includes a current version of the ActiveObjects SPI -->
                                <libArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-spi</artifactId>
                                    <version>${ao.version}</version>
                                </libArtifact>
                            </libArtifacts>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-bamboo-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-confluence-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-fecru-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-inline-actions-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.jirawallboard</groupId>
                                    <artifactId>atlassian-wallboard-plugin</artifactId>
                                    <version>${jirawallboard.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.integrationtesting</groupId>
                                    <artifactId>atlassian-integrationtesting-jira-4.4-plugin</artifactId>
                                    <version>${ait.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-jira-spi</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.activeobjects</groupId>
                                    <artifactId>activeobjects-plugin</artifactId>
                                    <version>${ao.version}</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>com.atlassian.streams</groupId>
                                    <artifactId>streams-thirdparty-plugin</artifactId>
                                    <version>${project.version}</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                        <product>
                            <id>jira</id>
                            <instanceId>jira-applinks-streams3</instanceId>
                            <version>${jira.version}</version>
                            <output>${project.build.directory}/jira-applinks-streams3-${jira.version}.log</output>
                            <productDataPath>${jira.data.applinks}</productDataPath>
                            <installPlugin>false</installPlugin>
                            <bundledArtifacts>
                                <bundledArtifact>
                                    <groupId>com.atlassian.util.concurrent</groupId>
                                    <artifactId>atlassian-util-concurrent</artifactId>
                                </bundledArtifact>
                                <bundledArtifact>
                                    <groupId>net.java.dev.rome</groupId>
                                    <artifactId>rome</artifactId>
                                    <version>1.0-atlassian-1</version>
                                </bundledArtifact>
                            </bundledArtifacts>
                            <pluginArtifacts>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-core</artifactId>
                                    <version>3.4.7</version>
                                </pluginArtifact>
                                <pluginArtifact>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>streams-jira-plugin</artifactId>
                                    <version>3.4.7</version>
                                </pluginArtifact>
                            </pluginArtifacts>
                        </product>
                    </products>
                    <testGroups>
                        <testGroup>
                            <id>bamboo</id>
                            <productIds>
                                <productId>bamboo</productId>
                            </productIds>
                            <includes>
                                <include>it/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>confluence</id>
                            <productIds>
                                <productId>confluence</productId>
                            </productIds>
                            <includes>
                                <include>it/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>fecru</id>
                            <productIds>
                                <productId>fecru</productId>
                            </productIds>
                            <includes>
                                <include>it/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>jira</id>
                            <productIds>
                                <productId>jira</productId>
                            </productIds>
                            <includes>
                                <include>it/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>applinks</id>
                            <productIds>
                                <productId>jira-applinks</productId>
                                <productId>bamboo-applinks</productId>
                                <productId>confluence-applinks</productId>
                                <productId>fecru-applinks</productId>
                            </productIds>
                            <includes>
                                <include>it/**/applinks/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>applinks-oauth</id>
                            <productIds>
                                <productId>jira-applinks-oauth</productId>
                                <productId>bamboo-applinks-oauth</productId>
                                <productId>confluence-applinks-oauth</productId>
                                <productId>fecru-applinks-oauth</productId>
                            </productIds>
                            <includes>
                                <include>it/**/applinks/**</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>applinks-streams3</id>
                            <productIds>
                                <productId>fecru-applinks</productId>
                                <productId>jira-applinks-streams3</productId>
                            </productIds>
                            <includes>
                                <include>it/**/applinks/**</include>
                            </includes>
                        </testGroup>
                    </testGroups>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.apache.abdera</groupId>
                                    <artifactId>abdera-core</artifactId>
                                    <version>${abdera.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.abdera</groupId>
                                    <artifactId>abdera-parser</artifactId>
                                    <version>${abdera.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.abdera</groupId>
                                    <artifactId>abdera-i18n</artifactId>
                                    <version>${abdera.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.abdera</groupId>
                                    <artifactId>abdera-extensions-main</artifactId>
                                    <version>${abdera.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.ws.commons.axiom</groupId>
                                    <artifactId>axiom-api</artifactId>
                                    <version>${axiom.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.ws.commons.axiom</groupId>
                                    <artifactId>axiom-impl</artifactId>
                                    <version>${axiom.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>jaxen</groupId>
                                    <artifactId>jaxen</artifactId>
                                    <version>${jaxen.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.codehaus.woodstox</groupId>
                                    <artifactId>wstx-asl</artifactId>
                                    <version>${woodstox.version}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.geronimo.specs</groupId>
                                    <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                                    <version>1.0.1</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>commons-codec</groupId>
                                    <artifactId>commons-codec</artifactId>
                                    <version>${commons.codec.version}</version>
                                </artifactItem>
                            </artifactItems>
                            <excludes>**/*.jar,META-INF/MANIFEST.MF</excludes>
                            <overWriteReleases>false</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                            <outputDirectory>${project.build.outputDirectory}</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>net.sf.alchim</groupId>
                <artifactId>yuicompressor-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>compress</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <!-- Everything on one line -->
                    <linebreakpos>-1</linebreakpos>
                    <!-- Don't really care about warning messages.  They're fairly useless -->
                    <jswarn>false</jswarn>
                    <excludes>
                        <exclude>*.xml</exclude>
                        <exclude>**/datejs/*.js</exclude>
                    </excludes>
                    <aggregations>
                        <aggregation>
                            <includes>
                                <include>atom/jatom-min.js</include>
                                <include>ajs.date-min.js</include>
                                <include>activity-stream-min.js</include>
                            </includes>
                            <output>${project.build.outputDirectory}/js/activitystream.js</output>
                        </aggregation>
                    </aggregations>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <property>
                            <name>qunit.entrypoint</name>
                            <value>${basedir}/src/test/javascript/test.js</value>
                        </property>
                    </systemProperties>
                    <junitArtifactName>junit:junit-dep</junitArtifactName>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>ide</id>
            <!-- STRM-1365 / STRM-1470 : Duplicate dependency declarations are here to make idea / eclipse happy; otherwise they
              don't handle dependencies of type atlassian-plugin well. If you get compilation problems in your
               ide, try activating this profile. These also need to be kept up to date if additional atlassian-plugin type
                dependencies are added to the default profile. I've set scope to test, because the ide's don't
                 seem to particularly care. -->
            <dependencies>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-core-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>provided</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-inline-actions-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>provided</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-bamboo-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-confluence-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-crucible-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-fisheye-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-jira-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.streams</groupId>
                    <artifactId>streams-thirdparty-plugin</artifactId>
                    <version>${project.version}</version>
                    <scope>provided</scope>
                </dependency>
                <dependency>
                    <groupId>com.atlassian.activeobjects</groupId>
                    <artifactId>activeobjects-plugin</artifactId>
                    <version>${ao.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>it</id>
            <properties>
                <skipTests>true</skipTests>
            </properties>
        </profile>
        <profile>
            <id>deploy</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.atlassian.maven.plugins</groupId>
                        <artifactId>maven-amps-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>remote-deploy-jira</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>install</goal>
                                </goals>
                                <configuration>
                                    <product>jira</product>
                                    <username>admin</username>
                                    <password>admin</password>
                                    <server>${utac.server}</server>
                                    <httpPort>${utac.httpPort}</httpPort>
                                    <contextPath>${utac.jira.contextPath}</contextPath>
                                    <pluginKey>${project.groupId}.${project.artifactId}</pluginKey>
                                </configuration>
                            </execution>
                            <execution>
                                <id>remote-deploy-confluence</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>install</goal>
                                </goals>
                                <configuration>
                                    <product>confluence</product>
                                    <username>admin</username>
                                    <password>admin</password>
                                    <server>${utac.server}</server>
                                    <httpPort>${utac.httpPort}</httpPort>
                                    <contextPath>${utac.confluence.contextPath}</contextPath>
                                    <pluginKey>${project.groupId}.${project.artifactId}</pluginKey>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
    <properties>
        <!-- make sure we set the order of the test groups to run with applinks last, otherwise it tends to run first
             which is silly cause it shouldn't pass if the others don't -->
        <project.root.dir>${basedir}/..</project.root.dir>
        <testGroups>bamboo,confluence,fecru,jira,applinks</testGroups>
        <streams.api.root>${project.root.dir}/streams-api</streams.api.root>
        <streams.spi.root>${project.root.dir}/spi</streams.spi.root>
        <thirdparty.api.root>${project.root.dir}/streams-thirdparty-api</thirdparty.api.root>
        <streams.aggregator.resources>${basedir}/src/main/resources</streams.aggregator.resources>
        <streams.inline.actions.resources>${project.root.dir}/inline-actions-plugin/src/main/resources</streams.inline.actions.resources>
        <jira.inline.actions.resources>${project.root.dir}/jira-inline-actions-plugin/src/main/resources</jira.inline.actions.resources>
        <confluence.inline.actions.resources>${project.root.dir}/confluence-inline-actions-plugin/src/main/resources</confluence.inline.actions.resources>
        <streams.core.resources>${project.root.dir}/core-plugin/src/main/resources</streams.core.resources>
        <jira.provider.resources>${project.root.dir}/streams-jira-plugin/src/main/resources</jira.provider.resources>
        <confluence.provider.resources>${project.root.dir}/streams-confluence-plugin/src/main/resources</confluence.provider.resources>
        <bamboo.provider.resources>${project.root.dir}/streams-bamboo-plugin/src/main/resources</bamboo.provider.resources>
        <fisheye.provider.resources>${project.root.dir}/streams-fisheye-plugin/src/main/resources</fisheye.provider.resources>
        <crucible.provider.resources>${project.root.dir}/streams-crucible-plugin/src/main/resources</crucible.provider.resources>
        <thirdparty.provider.resources>${project.root.dir}/streams-thirdparty-plugin/src/main/resources</thirdparty.provider.resources>
        <jira.gadget.xml>${project.root.dir}/streams-jira-plugin/src/main/resources/gadgets/activitystream-gadget.xml</jira.gadget.xml>
        <confluence.gadget.xml>${project.root.dir}/streams-confluence-plugin/src/main/resources/gadgets/conf-activitystream-gadget.xml</confluence.gadget.xml>

        <bamboo.data.base>${basedir}/src/test/resources/bamboo/test-resources/base.zip</bamboo.data.base>
        <bamboo.data.applinks>${basedir}/src/test/resources/bamboo/test-resources/applinks.zip</bamboo.data.applinks>
        <bamboo.data.applinks.oauth>${basedir}/src/test/resources/bamboo/test-resources/applinks-3lo.zip</bamboo.data.applinks.oauth>
        <confluence.data.base>${basedir}/src/test/resources/confluence/test-resources/base.zip</confluence.data.base>
        <confluence.data.applinks>${basedir}/src/test/resources/confluence/test-resources/applinks.zip</confluence.data.applinks>
        <confluence.data.applinks.oauth>${basedir}/src/test/resources/confluence/test-resources/applinks-3lo.zip</confluence.data.applinks.oauth>
        <fecru.data.base>${basedir}/src/test/resources/fecru/test-resources/base.zip</fecru.data.base>
        <fecru.data.applinks>${basedir}/src/test/resources/fecru/test-resources/applinks.zip</fecru.data.applinks>
        <fecru.data.applinks.oauth>${basedir}/src/test/resources/fecru/test-resources/applinks-3lo.zip</fecru.data.applinks.oauth>
        <jira.data.base>${basedir}/src/test/resources/jira/test-resources/base.zip</jira.data.base>
        <jira.data.applinks>${basedir}/src/test/resources/jira/test-resources/applinks.zip</jira.data.applinks>
        <jira.data.applinks.oauth>${basedir}/src/test/resources/jira/test-resources/applinks-3lo.zip</jira.data.applinks.oauth>

        <streams3.version>3.4.7</streams3.version>
    </properties>
</project>
