<?xml version="1.0"?>
<!-- Copyright (c) 2015 MapR, Inc. -->
<project
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.mapr</groupId>
    <artifactId>mapr-release</artifactId>
    <version>5.1.0-mapr</version>
    <relativePath/>
  </parent>

  <groupId>com.mapr.hadoop</groupId>
  <artifactId>hadoop2</artifactId>
  <packaging>jar</packaging>

  <name>MapR-FS Hadoop 2 support</name>
  <url>http://www.mapr.com/</url>

  <repositories>
    <repository>
      <id>mapr-releases</id>
      <url>http://repository.mapr.com/maven/</url>
      <snapshots><enabled>true</enabled></snapshots>
      <releases><enabled>true</enabled></releases>
    </repository>
  </repositories>

  <dependencies>
    <!-- #### BEGIN ##### MAPR DEPENDENCIES -->
    <dependency>
      <groupId>com.mapr.hadoop</groupId>
      <artifactId>maprfs-core</artifactId>
    </dependency>
    <dependency>
      <groupId>com.mapr.util</groupId>
      <artifactId>baseutils</artifactId>
    </dependency>
    <dependency>
      <groupId>com.mapr.util</groupId>
      <artifactId>maprutil</artifactId>
    </dependency>
    <!-- #### END ##### MAPR DEPENDENCIES -->

    <!-- #### BEGIN ##### HADOOP2 DEPENDENCIES -->
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-common</artifactId>
      <exclusions>
        <exclusion>
          <artifactId>maprfs</artifactId>
          <groupId>com.mapr.hadoop</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-mapreduce-client-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-yarn-common</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-yarn-server-nodemanager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-yarn-api</artifactId>
    </dependency>
    <!-- #### END ##### HADOOP2 DEPENDENCIES -->

    <!-- #### BEGIN ##### TEST DEPENDENCIES -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-all</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <!-- #### END ##### TEST DEPENDENCIES -->
  </dependencies>

</project>
