<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.atlassian.jira</groupId>
        <artifactId>jira-plugins</artifactId>
        <version>8.5.10</version>
    </parent>

    <artifactId>jira-activeobjects-spi-plugin</artifactId>

    <name>Atlassian Jira - Plugins - ActiveObjects SPI</name>
    <description>Implements SPI of the ActiveObjects plugin</description>

    <packaging>bundle</packaging>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
                        <Export-Package>
                        </Export-Package>
                        <Import-Package>
                            com.atlassian.activeobjects.spi*,
                            com.atlassian.tenancy.api*,
                            com.atlassian.jira.ofbiz*,
                            com.atlassian.core.ofbiz.util*,
                            com.atlassian.sal.api*,
                            org.ofbiz.core.entity.jdbc.interceptors.connection*,
                            com.google.common*,
                            javax.sql,
                            javax.annotation*,
                            org.ofbiz.core.entity.jdbc.dbtype,
                            org.ofbiz.core.entity.config
                        </Import-Package>
                        <Private-Package>
                            com.atlassian.activeobjects.jira*
                        </Private-Package>
                        <Spring-Context>*</Spring-Context>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-core</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.activeobjects</groupId>
            <artifactId>activeobjects-spi</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.tenancy</groupId>
            <artifactId>atlassian-tenancy-api</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
