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

	<groupId>org.jarbframework</groupId>
	<artifactId>jarb-parent</artifactId>
	<packaging>pom</packaging>
	<name>Java Repository Bridge</name>
	<version>1.4.0</version>
	<description>Provides support for databases</description>
	<url>http://www.jarbframework.org</url>
	<inceptionYear>2011</inceptionYear>
	
	<licenses>
		<license>
		    <name>Apache 2</name>
		    <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		    <distribution>repo</distribution>
		</license>
	</licenses>

	<modules>
		<module>jarb-constraints</module>
		<module>jarb-migrations</module>
		<module>jarb-populator</module>
		<module>jarb-populator-excel</module>
		<module>jarb-sample</module>
		<module>jarb-utils</module>
	</modules>

	<developers>
		<developer>
			<name>Jeroen van Schagen</name>
			<email>jeroen.van.schagen@42.nl</email>
		</developer>
	</developers>

	<scm>
		<url>https://github.com/42BV/jarb</url>
		<connection>scm:git:git@github.com:42BV/jarb.git</connection>
		<developerConnection>scm:git:git@github.com:42BV/jarb.git</developerConnection>
	</scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<!-- Java version -->
		<jdk.version>1.6</jdk.version>
		<!-- Dependency versions -->
		<spring.version>3.2.2.RELEASE</spring.version>
        <hibernate.version>4.2.0.Final</hibernate.version>
        <hamcrest.version>1.3</hamcrest.version>
		<slf4j.version>1.7.5</slf4j.version>
        <!-- Databases -->
        <h2.version>1.3.171</h2.version>
        <hsqldb.version>2.2.9</hsqldb.version>
        <postgresql.version>9.0-801.jdbc4</postgresql.version>
	</properties>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>${jdk.version}</source>
						<target>${jdk.version}</target>
		        		<encoding>${project.build.sourceEncoding}</encoding>
					</configuration>
				</plugin>
				<!-- When deploying activate the "sonatype-oss-release" profile -->
          		<plugin>
              			<groupId>org.apache.maven.plugins</groupId>
              			<artifactId>maven-deploy-plugin</artifactId>
              			<version>2.6</version>
          		</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<dependencies>
		<!-- Commons -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.1</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>14.0.1</version>
        </dependency>

		<!-- Spring framework -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${spring.version}</version>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<version>${spring.version}</version>
			<scope>test</scope>
		</dependency>

		<!-- Logging -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${slf4j.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>${slf4j.version}</version>
			<scope>provided</scope>
		</dependency>

		<!-- Testing -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>${hamcrest.version}</version>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-library</artifactId>
            <version>${hamcrest.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>1.9.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <!-- TODO: Factor out and use Mockito -->
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>3.0</version>
            <scope>test</scope>
        </dependency>
		
		<!-- Supported database drivers -->
        <dependency>
            <groupId>org.hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
            <version>${hsqldb.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
	        <groupId>com.h2database</groupId>
	        <artifactId>h2</artifactId>
	        <version>${h2.version}</version>
	        <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>${postgresql.version}</version>
            <scope>test</scope>
        </dependency>
	</dependencies>
	
</project>
