<?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">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
<!--
	<parent>
		<groupId>com.antiaction</groupId>
		<artifactId>parent</artifactId>
		<version>1-SNAPSHOT</version>
	</parent>
-->
	<groupId>com.antiaction</groupId>
	<artifactId>raptor</artifactId>
	<version>0.1.0-RC2</version>

	<packaging>pom</packaging>

	<name>Raptor CMS</name>
	<description>Raptor Content Management System.</description>
	<url>http://www.antiaction.com/</url>

	<inceptionYear>2010</inceptionYear>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<junit.version>4.12</junit.version>
		<hamcrest.version>1.3</hamcrest.version>
		<mockito.version>1.10.19</mockito.version>
		<powermock.version>1.6.2</powermock.version>
		<maven.compiler.plugin>3.3</maven.compiler.plugin>
		<maven.deploy.plugin>2.8.2</maven.deploy.plugin>
		<maven.javadoc.plugin>2.10.3</maven.javadoc.plugin>
		<maven.release.plugin>2.5.2</maven.release.plugin>
		<maven.site.plugin>3.4</maven.site.plugin>
		<maven.source.plugin>2.4</maven.source.plugin>
		<license.maven.plugin>1.8</license.maven.plugin>
	</properties>

	<developers>
		<developer>
			<name>Nicholas Clarke</name>
			<roles>
				<role>developer</role>
			</roles>
			<email>nclarke@antiaction.com</email>
			<organization>Antiaction</organization>
			<organizationUrl>http://www.antiaction.com</organizationUrl>
		</developer>
	</developers>
<!--
	<repositories>
		<repository>
			<id>antiaction-snapshots</id>
			<name>Antiaction Snapshots Repository</name>
			<url>https://www.antiaction.com:8443/repository/snapshots/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>

		<repository>
			<id>antiaction-releases</id>
			<name>Antiaction Releases Repository</name>
			<url>https://www.antiaction.com:8443/repository/releases/</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
	</repositories>
-->
	<modules>
		<module>raptor-dbl</module>
<!--		<module>raptor-backend</module>-->
	</modules>

	<build>
		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
			</testResource>
			<testResource>
				<directory>src/main/sql</directory>
			</testResource>
		</testResources>

		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>

			<plugin>
				<!-- install source jars to maven repo
					 http://maven.apache.org/plugins/maven-source-plugin/usage.html -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>${maven.source.plugin}</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- Generate javadoc jar. Note: Java 8 (doclint) check has been disabled. -->
			<plugin> 
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId> 
				<version>${maven.javadoc.plugin}</version>
				<configuration>
					<aggregate>true</aggregate>
					<linksource>true</linksource>
					<quiet>true</quiet>
					<!-- Note: This fails with a JVM older than Java 8 -->
					<additionalparam>-Xdoclint:none</additionalparam>
				</configuration>
				<executions> 
					<execution> 
						<id>attach-javadocs</id>
						<phase>verify</phase>
						<goals>
							<goal>jar</goal>
						</goals> 
					</execution> 
				</executions> 
			</plugin>
<!--
			<plugin>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
						<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<excludeScope>provided</excludeScope>
-->
							<!--excludeTransitive>true</excludeTransitive-->
							<!--includeGroupIds>com.antiaction</includeGroupIds-->
<!--
							<outputDirectory>${project.build.directory}/lib</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
-->
		</plugins>
	</build>
</project>
