<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>
        <groupId>com.atlassian.jira</groupId>
        <artifactId>jira-plugins</artifactId>
        <version>7.2.0-QR20160428011032</version>
    </parent>
    <artifactId>jira-pluggable-avatar-support</artifactId>
    <name>Atlassian JIRA - Plugins - Pluggable Avatar Support</name>
    <description>Implements JIRA Avatar Support interface to enable avatar-plugin implementations.</description>
    <packaging>bundle</packaging>

    <properties>
        <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
    </properties>
    <build>
        <plugins>
            <plugin>
                <groupId>org.twdata.maven</groupId>
                <artifactId>maven-cli-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${atlassian.plugin.key}</Bundle-SymbolicName>
                        <Spring-Context>*</Spring-Context>
                        <Import-Package>
                            com.atlassian.crowd.embedded.api,
                            com.atlassian.jira.avatar,
                            com.atlassian.jira.config.properties,
                            com.atlassian.jira.user,
                            com.atlassian.jira.user.util,
                            com.atlassian.jira.util,
                            com.atlassian.plugins.avatar,
                            com.atlassian.plugin.predicate,
                            com.atlassian.plugin,
                            com.atlassian.plugin.web,
                            com.atlassian.util.concurrent;version="2.6",
                            com.atlassian.plugin.hostcontainer,
                            com.atlassian.plugin.module,
                            com.atlassian.plugin.osgi.external,
                            com.atlassian.plugin.web.descriptors,
                            org.springframework.context*;version="2.5",
                            org.springframework.stereotype*;version="2.5",
                            com.google.common.base,
                            com.google.common.collect,
                            javax.annotation,
                            org.slf4j;version="1.6"
                        </Import-Package>
                        <Export-Package>
                            com.atlassian.jira.avatar.pluggable,
                            com.atlassian.plugins.avatar;version="${avatar-plugin.version}"
                        </Export-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-core</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>avatar-plugin-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>atlassian-plugins-webfragment</artifactId>
        </dependency>
    </dependencies>

</project>
