<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>

	<packaging>pom</packaging>
	<name>Confluence Office Connector</name>
	<url>http://www.atlassian.com/office</url>
	<groupId>com.atlassian.confluence.officeconnector</groupId>
	<artifactId>OfficeConnector-project</artifactId>
	<version>3.1.6</version>
	<description>Confluence Office Connector</description>

	<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>

	<properties>
		<poi.version>3.5-FINAL</poi.version>
        <officeconnector-utils.version>0.8.6-atlassian-1.6</officeconnector-utils.version>
        <skip.tests>false</skip.tests>
        <slf4j.version>1.6.4</slf4j.version>
	</properties>

	<parent>
		<groupId>com.atlassian.pom</groupId>
		<artifactId>atlassian-closedsource-pom</artifactId>
		<version>26.14</version>
	</parent>

    <profiles>
        <profile>
            <id>release</id>
            <properties>
                <skip.tests>true</skip.tests>
            </properties>
        </profile>
    </profiles>

	<modules>
		<module>Zen</module>
		<module>common</module>
		<module>FlexSlideViewer</module>
		<module>JavaPpt</module>
		<module>extractor</module>
	</modules>

	<build>
		<plugins>
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-clover2-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<jdk>1.6</jdk>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<argLine>-Xmx512m</argLine>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-source-routes-plugin</artifactId>
				<version>1.1</version>
				<configuration>
					<distributionManagement>
						<repository>
							<id>atlassian-private</id>
							<name>Atlassian Private Repository</name>
							<url>https://maven.atlassian.com/private</url>
						</repository>
						<snapshotRepository>
							<id>atlassian-private-snapshot</id>
							<name>Atlassian Private Snapshot Repository</name>
							<url>https://maven.atlassian.com/private-snapshot</url>
						</snapshotRepository>
					</distributionManagement>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>sandbox-maven-plugin</artifactId>
				<version>2.0-beta11</version>
				<executions>
					<execution>
						<id>enable-sandbox</id>
						<phase>validate</phase>
						<goals>
							<goal>sandbox</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.7</version>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <skipTests>${skip.tests}</skipTests>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-clover2-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<jdk>1.6</jdk>
					<targetPercentage>50%</targetPercentage>
				</configuration>
			</plugin>
		</plugins>
	</reporting>

	<scm>
		<developerConnection>scm:git:git@bitbucket.org:atlassian/officeconnector.git</developerConnection>
		<connection>scm:git:git@bitbucket.org:atlassian/officeconnector.git</connection>
		<url>https://bitbucket.org/atlassian/officeconnector/overview</url>
	</scm>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>commons-logging</groupId>
				<artifactId>commons-logging</artifactId>
				<version>1.1.1</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>log4j</groupId>
				<artifactId>log4j</artifactId>
				<version>1.2.15</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>com.google.guava</groupId>
				<artifactId>guava</artifactId>
				<version>10.0.1</version>
				<scope>provided</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

</project>
