<?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">
    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>closedsource-pom</artifactId>
        <version>5.0.8</version>
    </parent>

    <name>Confluence Remote Page View</name>
    <description>
        This is the Confluence Remote Page View Plugin for Atlassian Confluence. It allows you to get a remote view
        representation of a Confluence page, with no chromes as header and footers.
    </description>
    <modules>
        <module>plugin</module>
        <module>integration-tests</module>
    </modules>

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.atlassian.confluence.plugins</groupId>
    <artifactId>confluence-remote-page-view-plugin-parent</artifactId>
    <version>1.15</version>

    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com/</url>
    </organization>

    <licenses>
        <license>
            <name>Atlassian 3.0 End User License Agreement</name>
            <url>http://www.atlassian.com/end-user-agreement/</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/confluence-remote-page-view-plugin.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/confluence-remote-page-view-plugin.git</developerConnection>
        <url>https://stash.atlassian.com/projects/SDSERVER/repos/confluence-remote-page-view-plugin/browse</url>
      <tag>HEAD</tag>
  </scm>

    <issueManagement>
        <system>JIRA</system>
        <url>https://jira.atlassian.com/browse/CONF</url>
    </issueManagement>

    <packaging>pom</packaging>
    <properties>
        <confluence.version>6.0.7</confluence.version>
        <amps.version>6.3.4</amps.version>
        <xvfb.enable>false</xvfb.enable>
        <jvm.args.custom/>
        <jvm.args.xmx>1024m</jvm.args.xmx>
        <jvm.args>-Xmx${jvm.args.xmx} ${jvm.args.custom}</jvm.args>
    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <!-- Ignoring integration tests on test phase so they just run in integration-test phase -->
                        <!-- This configuration is necessary when using AMPS together with a parent POM -->
                        <excludes>
                            <exclude>it/**</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-confluence-plugin</artifactId>
                    <version>${amps.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence-plugins-platform-pom</artifactId>
                <version>${confluence.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence-acceptance-test</artifactId>
                <version>${confluence.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
