<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.pom</groupId>
        <artifactId>public-pom</artifactId>
        <version>4.0.24</version>
    </parent>

    <groupId>com.atlassian.confluence.extra.impresence2</groupId>
    <artifactId>impresence-plugin</artifactId>
    <version>3.0.0</version>
    <packaging>atlassian-plugin</packaging>

    <name>IM Presence NG Plugin</name>
    <description>A simple plugin which displays the presence status of users for various Instant Messaging services, such as AIM or MSN.</description>
    <url>https://ecosystem.atlassian.net/wiki/display/PRES</url>

    <properties>
        <atlassian.plugin.key>confluence.extra.impresence2</atlassian.plugin.key>

        <atlassian.product.version>5.9.1</atlassian.product.version>
        <atlassian.product.data.version>${atlassian.product.version}</atlassian.product.data.version>
        <atlassian.product.test-lib.version>2.13.3</atlassian.product.test-lib.version>

        <jvm.args.custom />
        <jvm.args.xmx>1024m</jvm.args.xmx>
        <jvmArgs>-Xmx${jvm.args.xmx} ${jvm.args.custom}</jvmArgs>
    </properties>

    <scm>
        <connection>scm:git:git@bitbucket.org:atlassian/confluence-impresence-plugin.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:atlassian/confluence-impresence-plugin.git</developerConnection>
        <url>https://bitbucket.org/atlassian/confluence-impresence-plugin</url>
      <tag>impresence-plugin-3.0.0</tag>
  </scm>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence-plugins-platform-pom</artifactId>
                <version>${atlassian.product.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <!-- confluence cloud still exports a too old version of cssparser -->
            <dependency>
                <groupId>net.sourceforge.cssparser</groupId>
                <artifactId>cssparser</artifactId>
                <version>0.9.20</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>jivesoftware</groupId>
            <artifactId>smack</artifactId>
            <version>3.0.4</version>
        </dependency>
        <dependency>
            <groupId>jivesoftware</groupId>
            <artifactId>smackx</artifactId>
            <version>3.0.4</version>
        </dependency>
        <dependency>
            <groupId>net.sf.jml</groupId>
            <artifactId>jml</artifactId>
            <version>1.0b3</version>
        </dependency>
        <dependency>
            <groupId>net.sf.cindy</groupId>
            <artifactId>cindy</artifactId>
            <version>2.4.3</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.confluence</groupId>
            <artifactId>confluence</artifactId>
            <scope>provided</scope>
            <exclusions>
                <exclusion>
                    <groupId>net.sourceforge.nekohtml</groupId>
                    <artifactId>nekohtml</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-library</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.confluence.plugin</groupId>
            <artifactId>func-test-package</artifactId>
            <version>${atlassian.product.test-lib.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-confluence-plugin</artifactId>
                <version>6.1.7</version>
                <extensions>true</extensions>
                <configuration>
                    <containerId>tomcat7x</containerId>
                    <jvmArgs>${jvmArgs}</jvmArgs>
                    <productVersion>${atlassian.product.version}</productVersion>
                    <productDataVersion>${atlassian.product.data.version}</productDataVersion>
                    <server>localhost</server>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
