<?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>eu.dnetlib</groupId>
		<artifactId>icm-iis-parent-container</artifactId>
		<version>1.0.1-SNAPSHOT</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>icm-iis-transformers</artifactId>
	<packaging>jar</packaging>
	<version>1.0.1-SNAPSHOT</version>

	<scm>
	  <developerConnection>
	    scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/icm-iis-transformers/trunk
	  </developerConnection>
	</scm>
	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	<dependencies>
		<dependency>
			<groupId>eu.dnetlib</groupId>
			<artifactId>icm-iis-core</artifactId>
			<version>[1.0.0,2.0.0)</version>
		</dependency>
		<dependency>
			<groupId>eu.dnetlib</groupId>
			<artifactId>icm-iis-core</artifactId>
			<version>[1.0.0,2.0.0)</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
        <dependency>
            <groupId>eu.dnetlib</groupId>
            <artifactId>icm-iis-schemas</artifactId>
            <version>[1.0.0,2.0.0)</version>
        </dependency>
        <!-- required after introducing 'provided' scope for hadoop libs -->
        <dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-common</artifactId>
			<version>${iis.hadoop.common.version}</version>
			<scope>provided</scope>
		</dependency>
		<!-- Needed by Oozie tests { -->
		<!-- required after introducing 'provided' scope for hadoop dependencies -->
		<dependency>
			<groupId>org.apache.oozie</groupId>
			<artifactId>oozie-core</artifactId>
			<version>${iis.oozie.version}</version>
			<scope>test</scope>
		</dependency>
		<!-- PigMain was moved to oozie-sharelib-pig since cdh4.3.1 -->
		<dependency>
			<groupId>org.apache.oozie</groupId>
			<artifactId>oozie-sharelib-pig</artifactId>
			<version>${iis.oozie.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-hdfs</artifactId>
			<version>${iis.hadoop.hdfs.version}</version>
			<scope>test</scope>
		</dependency>
		<!-- end of required after introducing 'provided' scope for hadoop dependencies -->
		<dependency>
			<groupId>org.apache.oozie</groupId>
			<artifactId>oozie-core</artifactId>
			<version>${iis.oozie.version}</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-hdfs</artifactId>
			<version>${iis.hadoop.hdfs.version}</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-test</artifactId>
			<version>${iis.hadoop.test.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-common</artifactId>
			<version>${iis.hadoop.common.version}</version>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<!-- Needed by Oozie tests } -->
		<!-- Needed to run Pig jobs { -->
		<dependency>
			<groupId>org.apache.pig</groupId>
			<artifactId>pig</artifactId>
			<version>${iis.pig.version}</version>
			<!-- this lib cannot be set to provided -->
		</dependency>

		<!-- replacing hacked pig-avrostorage with original pig -->
	    <dependency>
			<groupId>eu.dnetlib</groupId>
			<artifactId>icm-iis-3rdparty-pig-avrostorage</artifactId>
			<version>[1.0.0,2.0.0)</version>
			<type>jar</type>
		</dependency>
		<!-- FIXME change to version bound with CDH5 when upgrading cluster -->
		<!--
		<dependency>
			<groupId>org.apache.pig</groupId>
			<artifactId>piggybank</artifactId>
			<version>${iis.pig.version}</version>
		</dependency>
		-->
		<dependency>
		  <groupId>com.linkedin.datafu</groupId>
		  <artifactId>datafu</artifactId>
		  <version>1.2.0</version>
		</dependency>
		<!-- Needed to run Pig jobs } -->
	</dependencies>
	<repositories>
	    <!-- This repository contains our patched 
	    version of "avro" and "avro-mapred" modules (see the dependencies section)
	    This entry might be removed when the patch to these modules becomes 
	    a part of the official Avro release.-->
	    <repository>
			<id>dnet-deps</id>
			<name>dnet dependencies</name>
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-deps</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled> 
			</snapshots>
			<layout>default</layout>
		</repository>
	</repositories>
</project>
