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

    <modelVersion>4.0.0</modelVersion>
    <parent>
        <artifactId>atlassian-whitelist-parent</artifactId>
        <groupId>com.atlassian.plugins</groupId>
        <version>8.0.0</version>
    </parent>
    <artifactId>atlassian-whitelist-internal-api-plugin</artifactId>

    <name>Atlassian Whitelist Internal API Plugin</name>
    <description>Internal API for Whitelist publishers.</description>
    <packaging>atlassian-plugin</packaging>

    <dependencies>
        <!-- Versions are managed by the Atlassian Java Platform POM. -->
        <dependency>
            <groupId>com.atlassian.annotations</groupId>
            <artifactId>atlassian-annotations</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>amps-maven-plugin</artifactId>
                <version>${amps.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <platformVersion>${platform.version}</platformVersion>
                    <instructions>
                        <Export-Package>
                            com.atlassian.plugins.whitelist.internal.denylist;atlassian-access=internal
                        </Export-Package>
                        <Spring-Context>*</Spring-Context>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
