<?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-crowd</artifactId>
        <groupId>com.atlassian.crowd</groupId>
        <version>6.0.0-EAP</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <artifactId>crowd-dmz-faulty-plugin</artifactId>
    <packaging>atlassian-plugin</packaging>
    <name>Crowd DMZ faulty plugin</name>
    <description>This plugin is made to test the Crowd DMZ configuration. It is intentionally meant to fail during its installation.</description>

    <dependencies>
        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-v2-plugin</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>amps-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <extractDependencies>false</extractDependencies>
                    <instructions>
                        <Atlassian-Plugin-Key>${project.groupId}.${project.artifactId}</Atlassian-Plugin-Key>
                        <Spring-Context>*</Spring-Context>
                        <Export-Package />
                        <!-- com.atlassian.crowd.dao is not in public API, the plugin should not be able to import it -->
                        <Import-Package>
                            com.atlassian.crowd.dao,
                            *;resolution:=optional
                        </Import-Package>
                    </instructions>
                    <skipManifestValidation>true</skipManifestValidation>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>