<?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>
        <artifactId>atlassian-instrumentation</artifactId>
        <groupId>com.atlassian.instrumentation</groupId>
        <version>1.6</version>
    </parent>
    <artifactId>instrumentation-test-plugin</artifactId>
    <packaging>atlassian-plugin</packaging>
    <name>Atlassian Instrumentation Test Plugin</name>
    <description>This is a test plugin to try out instrumentation.</description>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-refapp-plugin</artifactId>
                <version>3.3.4</version>
                <extensions>true</extensions>
                <configuration>
                    <libArtifacts>
                        <libArtifact>
                            <groupId>com.atlassian.util.concurrent</groupId>
                            <artifactId>atlassian-util-concurrent</artifactId>
                            <version>${concurrent.version}</version>
                        </libArtifact>
                        <libArtifact>
                            <groupId>com.atlassian.multitenant</groupId>
                            <artifactId>multitenant-utils</artifactId>
                            <version>1.0.3</version>
                        </libArtifact>
                    </libArtifacts>
                    <pluginArtifacts>
                        <pluginArtifact>
                            <groupId>${pom.groupId}</groupId>
                            <artifactId>atlassian-instrumentation-analytics</artifactId>
                            <version>${pom.version}</version>
                        </pluginArtifact>
                        <pluginArtifact>
                            <groupId>${pom.groupId}</groupId>
                            <artifactId>atlassian-instrumentation-expose-log</artifactId>
                            <version>${pom.version}</version>
                        </pluginArtifact>
                    </pluginArtifacts>
                    <productVersion>${refapp.version}</productVersion>
                    <instructions>
                        <Import-Package>
                            com.atlassian.sal.api.*;version="${sal.version}",
                            *;resolution:=optional
                        </Import-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>${pom.groupId}</groupId>
            <artifactId>atlassian-instrumentation-analytics-client</artifactId>
            <version>${pom.version}</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.sal</groupId>
            <artifactId>sal-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.4</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.osgi</groupId>
            <artifactId>spring-osgi-core</artifactId>
            <version>1.1.3</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.framework</artifactId>
            <version>3.0.2</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
</project>
