<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.crowd</groupId>
        <artifactId>atlassian-crowd-components</artifactId>
        <version>2.4.4</version>
    </parent>

    <artifactId>crowd-sync-feedback</artifactId>

    <packaging>atlassian-plugin</packaging>

    <name>Atlassian Crowd Synchronisation Feedback</name>
    <description>A plugin to provide a REST endpoint to get feedback on a directory synchronisation</description>

    <dependencies>

        <!-- Crowd Dependencies -->

        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-api</artifactId>
            <scope>provided</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.security</groupId>
                    <artifactId>spring-security-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-rest-plugin</artifactId>
            <type>atlassian-plugin</type>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>com.atlassian.crowd</groupId>
            <artifactId>crowd-core</artifactId>
            <scope>provided</scope>
            <exclusions>
                <exclusion>
                    <groupId>com.atlassian.crowd</groupId>
                    <artifactId>crowd-ldap</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.atlassian.crowd</groupId>
                    <artifactId>crowd-persistence</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.atlassian.crowd</groupId>
                    <artifactId>crowd-events</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.atlassian.crowd</groupId>
                    <artifactId>crowd-password-encoders</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.atlassian.security</groupId>
                    <artifactId>atlassian-secure-random</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.atlassian.core</groupId>
                    <artifactId>atlassian-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Other Dependencies -->
        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-module</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-common</artifactId>
            <version>${atlassian.rest.version}</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>com.atlassian.core</groupId>
            <artifactId>atlassian-core</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <scope>provided</scope>
        </dependency>

        <!-- Test Dependencies -->

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <scope>provided</scope>
        </dependency>


    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <skipManifestValidation>true</skipManifestValidation>
                    <instructions>
                        <Import-Package>
                            com.atlassian.crowd.*;version="${project.version}",
                            org.slf4j.*;version="0.0.0",
                            org.apache.log4j*;version="1.2.15",
                            org.apache.commons.lang*;version="2.4",
                            org.apache.commons.codec*;version="1.3",
                            com.atlassian.plugins.rest.common*;version="${atlassian.rest.version}",
                            com.atlassian.core.*;version="0.0.0",
                            javax.ws.rs*;version="1.0.0",
                            javax.xml.bind*;version="2.1.0",
                            javax.servlet.*;version="0.0.0",
                            com.google.common*;version="0.0.0",
                            com.sun.jersey*;version="0.0.0"
                        </Import-Package>
                    </instructions>
                    <httpPort>8095</httpPort>
                    <contextPath>/crowd</contextPath>
                </configuration>
            </plugin>
        </plugins>
    </build>


</project>
