Skip to content
Snippets Groups Projects
pom.xml 47.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
      ~ Licensed to the Apache Software Foundation (ASF) under one or more
      ~ contributor license agreements.  See the NOTICE file distributed with
      ~ this work for additional information regarding copyright ownership.
      ~ The ASF licenses this file to You under the Apache License, Version 2.0
      ~ (the "License"); you may not use this file except in compliance with
      ~ the License.  You may obtain a copy of the License at
      ~
      ~    http://www.apache.org/licenses/LICENSE-2.0
      ~
      ~ Unless required by applicable law or agreed to in writing, software
      ~ distributed under the License is distributed on an "AS IS" BASIS,
      ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      ~ See the License for the specific language governing permissions and
      ~ limitations under the License.
      -->
    
    
    <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/xsd/maven-4.0.0.xsd">
    
      <modelVersion>4.0.0</modelVersion>
    
    Matei Zaharia's avatar
    Matei Zaharia committed
      <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
    
        <version>14</version>
    
    Matei Zaharia's avatar
    Matei Zaharia committed
      </parent>
    
      <groupId>org.apache.spark</groupId>
    
      <artifactId>spark-parent</artifactId>
    
      <version>1.3.0-SNAPSHOT</version>
    
      <packaging>pom</packaging>
      <name>Spark Project Parent POM</name>
    
      <url>http://spark.apache.org/</url>
    
      <licenses>
        <license>
    
          <name>Apache 2.0 License</name>
          <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
    
          <distribution>repo</distribution>
        </license>
      </licenses>
      <scm>
    
        <connection>scm:git:git@github.com:apache/spark.git</connection>
        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/spark.git</developerConnection>
        <url>scm:git:git@github.com:apache/spark.git</url>
    
        <tag>HEAD</tag>
    
      </scm>
      <developers>
        <developer>
          <id>matei</id>
          <name>Matei Zaharia</name>
          <email>matei.zaharia@gmail.com</email>
          <url>http://www.cs.berkeley.edu/~matei</url>
    
    Matei Zaharia's avatar
    Matei Zaharia committed
          <organization>Apache Software Foundation</organization>
    
          <organizationUrl>http://spark.apache.org</organizationUrl>
    
        </developer>
      </developers>
      <issueManagement>
    
        <system>JIRA</system>
    
        <url>https://issues.apache.org/jira/browse/SPARK</url>
    
      </issueManagement>
    
      <prerequisites>
    
      </prerequisites>
    
    
      <mailingLists>
        <mailingList>
          <name>Dev Mailing List</name>
    
          <post>dev@spark.apache.org</post>
          <subscribe>dev-subscribe@spark.apache.org</subscribe>
          <unsubscribe>dev-unsubscribe@spark.apache.org</unsubscribe>
    
        </mailingList>
    
        <mailingList>
          <name>User Mailing List</name>
    
          <post>user@spark.apache.org</post>
          <subscribe>user-subscribe@spark.apache.org</subscribe>
          <unsubscribe>user-unsubscribe@spark.apache.org</unsubscribe>
    
        </mailingList>
    
        <mailingList>
          <name>Commits Mailing List</name>
    
          <post>commits@spark.apache.org</post>
          <subscribe>commits-subscribe@spark.apache.org</subscribe>
          <unsubscribe>commits-unsubscribe@spark.apache.org</unsubscribe>
    
      <modules>
        <module>core</module>
        <module>bagel</module>
    
    Ankur Dave's avatar
    Ankur Dave committed
        <module>graphx</module>
    
        <module>mllib</module>
    
        <module>tools</module>
    
        <module>network/shuffle</module>
    
        <module>sql/catalyst</module>
        <module>sql/core</module>
        <module>sql/hive</module>
    
        <module>external/twitter</module>
        <module>external/flume</module>
    
        <module>external/zeromq</module>
    
        <module>repl</module>
    
      </modules>
    
      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    
        <akka.group>org.spark-project.akka</akka.group>
        <akka.version>2.3.4-spark</akka.version>
    
        <java.version>1.6</java.version>
    
        <sbt.project.name>spark</sbt.project.name>
    
        <scala.macros.version>2.0.1</scala.macros.version>
    
        <mesos.version>0.18.1</mesos.version>
        <mesos.classifier>shaded-protobuf</mesos.classifier>
    
        <slf4j.version>1.7.5</slf4j.version>
    
        <log4j.version>1.2.17</log4j.version>
    
        <hadoop.version>1.0.4</hadoop.version>
    
        <protobuf.version>2.4.1</protobuf.version>
    
        <yarn.version>${hadoop.version}</yarn.version>
    
        <hbase.version>0.94.6</hbase.version>
    
        <flume.version>1.4.0</flume.version>
    
        <zookeeper.version>3.4.5</zookeeper.version>
    
        <!-- Version used in Maven Hive dependency -->
    
        <hive.version>0.13.1a</hive.version>
    
        <!-- Version used for internal directory structure -->
        <hive.version.short>0.13.1</hive.version.short>
        <derby.version>10.10.1.1</derby.version>
    
        <parquet.version>1.6.0rc3</parquet.version>
    
        <jblas.version>1.2.3</jblas.version>
        <jetty.version>8.1.14.v20131031</jetty.version>
    
        <chill.version>0.5.0</chill.version>
    
        <codahale.metrics.version>3.0.0</codahale.metrics.version>
    
        <avro.mapred.classifier></avro.mapred.classifier>
    
        <jets3t.version>0.7.1</jets3t.version>
    
        <aws.java.sdk.version>1.8.3</aws.java.sdk.version>
        <aws.kinesis.client.version>1.1.0</aws.kinesis.client.version>
    
        <commons.httpclient.version>4.2.6</commons.httpclient.version>
    
        <commons.math3.version>3.1.1</commons.math3.version>
    
        <test_classpath_file>${project.build.directory}/spark-test-classpath.txt</test_classpath_file>
    
        <PermGen>64m</PermGen>
    
        <MaxPermGen>512m</MaxPermGen>
    
        <scala.version>2.10.4</scala.version>
        <scala.binary.version>2.10</scala.binary.version>
        <jline.version>${scala.version}</jline.version>
        <jline.groupid>org.scala-lang</jline.groupid>
    
        <jackson.version>1.8.8</jackson.version>
    
      </properties>
    
      <repositories>
        <repository>
    
          <!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution -->
    
          <url>https://repo1.maven.org/maven2</url>
    
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>apache-repo</id>
          <name>Apache Repository</name>
          <url>https://repository.apache.org/content/repositories/releases</url>
    
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
    
          <id>jboss-repo</id>
          <name>JBoss Repository</name>
    
          <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>mqtt-repo</id>
          <name>MQTT Repository</name>
          <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
    
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
    
        <repository>
    
          <id>cloudera-repo</id>
          <name>Cloudera Repository</name>
          <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
    
        </repository>
    
        <repository>
          <id>mapr-repo</id>
          <name>MapR Repository</name>
          <url>http://repository.mapr.com/maven</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
    
        <repository>
          <id>spring-releases</id>
          <name>Spring Release Repository</name>
    
          <url>https://repo.spring.io/libs-release</url>
    
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
    
            <enabled>false</enabled>
          </snapshots>
        </repository>
    
      </repositories>
    
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>https://repo1.maven.org/maven2</url>
          <releases>
            <enabled>true</enabled>
          </releases>
    
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
    
        </pluginRepository>
      </pluginRepositories>
    
           This is a dummy dependency that is used along with the shading plug-in
           to create effective poms on publishing (see SPARK-3812).
      -->
        <dependency>
          <groupId>org.spark-project.spark</groupId>
          <artifactId>unused</artifactId>
          <version>1.0.0</version>
        </dependency>
    
             This depndency has been added to provided scope as it is needed for executing build
    
             specific groovy scripts using gmaven+ and not required for downstream project building
             with spark.
        -->
        <dependency>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
          <version>2.3.7</version>
          <scope>provided</scope>
        </dependency>
    
      <dependencyManagement>
        <dependencies>
    
          <dependency>
            <groupId>${jline.groupid}</groupId>
            <artifactId>jline</artifactId>
            <version>${jline.version}</version>
          </dependency>
          <dependency>
            <groupId>com.twitter</groupId>
            <artifactId>chill_${scala.binary.version}</artifactId>
            <version>${chill.version}</version>
            <exclusions>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm-commons</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>com.twitter</groupId>
            <artifactId>chill-java</artifactId>
            <version>${chill.version}</version>
            <exclusions>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm-commons</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
    
          <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-util</artifactId>
    
          </dependency>
          <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-security</artifactId>
    
          </dependency>
          <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-plus</artifactId>
    
          <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
    
          </dependency>
          <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
    
            <version>14.0.1</version>
    
            <scope>provided</scope>
    
          </dependency>
    
          <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.3.2</version>
          </dependency>
    
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.5</version>
    
          <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-math3</artifactId>
    
            <version>${commons.math3.version}</version>
    
          <dependency>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>jsr305</artifactId>
            <version>1.3.9</version>
          </dependency>
    
          <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>2.42.2</version>
            <scope>test</scope>
          </dependency>
    
          <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>
          </dependency>
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jul-to-slf4j</artifactId>
            <version>${slf4j.version}</version>
          </dependency>
    
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>${slf4j.version}</version>
            <!-- <scope>runtime</scope> --> <!-- more correct, but scalac 2.10.3 doesn't like it -->
          </dependency>
          <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>${log4j.version}</version>
          </dependency>
    
          <dependency>
            <groupId>com.ning</groupId>
            <artifactId>compress-lzf</artifactId>
    
    Prashant Sharma's avatar
    Prashant Sharma committed
            <version>1.0.0</version>
    
          </dependency>
    
          <dependency>
            <groupId>org.xerial.snappy</groupId>
            <artifactId>snappy-java</artifactId>
    
            <version>1.1.1.6</version>
    
          <dependency>
            <groupId>net.jpountz.lz4</groupId>
            <artifactId>lz4</artifactId>
            <version>1.2.0</version>
          </dependency>
    
          <dependency>
            <groupId>com.clearspring.analytics</groupId>
            <artifactId>stream</artifactId>
    
              <!-- Only HyperLogLogPlus is used, which doesn't depend on fastutil -->
    
              <exclusion>
                <groupId>it.unimi.dsi</groupId>
                <artifactId>fastutil</artifactId>
              </exclusion>
            </exclusions>
    
          <!-- In theory we need not directly depend on protobuf since Spark does not directly
               use it. However, when building with Hadoop/YARN 2.2 Maven doesn't correctly bump
    
               the protobuf version up from the one Mesos gives. For now we include this variable
    
               to explicitly bump the version when building with YARN. It would be nice to figure
               out why Maven can't resolve this correctly (like SBT does). -->
    
          <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
    
    Raymond Liu's avatar
    Raymond Liu committed
            <version>${protobuf.version}</version>
    
          </dependency>
          <dependency>
    
    Raymond Liu's avatar
    Raymond Liu committed
            <groupId>${akka.group}</groupId>
    
            <artifactId>akka-actor_${scala.binary.version}</artifactId>
    
            <version>${akka.version}</version>
          </dependency>
          <dependency>
    
    Raymond Liu's avatar
    Raymond Liu committed
            <groupId>${akka.group}</groupId>
    
            <artifactId>akka-remote_${scala.binary.version}</artifactId>
    
            <version>${akka.version}</version>
          </dependency>
          <dependency>
    
    Raymond Liu's avatar
    Raymond Liu committed
            <groupId>${akka.group}</groupId>
    
            <artifactId>akka-slf4j_${scala.binary.version}</artifactId>
    
            <version>${akka.version}</version>
          </dependency>
    
          <dependency>
            <groupId>${akka.group}</groupId>
            <artifactId>akka-testkit_${scala.binary.version}</artifactId>
            <version>${akka.version}</version>
          </dependency>
    
          <dependency>
            <groupId>org.apache.mesos</groupId>
            <artifactId>mesos</artifactId>
    
            <version>${mesos.version}</version>
    
            <classifier>${mesos.classifier}</classifier>
            <exclusions>
              <exclusion>
                <groupId>com.google.protobuf</groupId>
                <artifactId>protobuf-java</artifactId>
              </exclusion>
            </exclusions>
    
          </dependency>
    
          <dependency>
            <groupId>org.roaringbitmap</groupId>
            <artifactId>RoaringBitmap</artifactId>
    
            <version>0.4.5</version>
    
          <dependency>
            <groupId>commons-net</groupId>
            <artifactId>commons-net</artifactId>
            <version>2.2</version>
          </dependency>
    
          <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-all</artifactId>
    
            <version>4.0.23.Final</version>
    
          </dependency>
    
          <dependency>
            <groupId>org.apache.derby</groupId>
            <artifactId>derby</artifactId>
    
            <version>${derby.version}</version>
    
          <dependency>
            <groupId>com.codahale.metrics</groupId>
            <artifactId>metrics-core</artifactId>
    
            <version>${codahale.metrics.version}</version>
    
          </dependency>
          <dependency>
            <groupId>com.codahale.metrics</groupId>
            <artifactId>metrics-jvm</artifactId>
    
            <version>${codahale.metrics.version}</version>
    
          <dependency>
            <groupId>com.codahale.metrics</groupId>
            <artifactId>metrics-json</artifactId>
    
            <version>${codahale.metrics.version}</version>
    
          </dependency>
    
    Patrick Wendell's avatar
    Patrick Wendell committed
          <dependency>
            <groupId>com.codahale.metrics</groupId>
            <artifactId>metrics-ganglia</artifactId>
    
            <version>${codahale.metrics.version}</version>
    
    Patrick Wendell's avatar
    Patrick Wendell committed
          </dependency>
    
          <dependency>
            <groupId>com.codahale.metrics</groupId>
            <artifactId>metrics-graphite</artifactId>
    
            <version>${codahale.metrics.version}</version>
    
          </dependency>
    
          <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-compiler</artifactId>
            <version>${scala.version}</version>
          </dependency>
    
          <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-reflect</artifactId>
            <version>${scala.version}</version>
          </dependency>
    
    Mark Hamstra's avatar
    Mark Hamstra committed
          <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-library</artifactId>
            <version>${scala.version}</version>
          </dependency>
    
    witgo's avatar
    witgo committed
          <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-actors</artifactId>
            <version>${scala.version}</version>
          </dependency>
          <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scalap</artifactId>
            <version>${scala.version}</version>
          </dependency>
    
          <dependency>
            <groupId>org.scalatest</groupId>
    
            <artifactId>scalatest_${scala.binary.version}</artifactId>
    
            <version>2.2.1</version>
    
            <scope>test</scope>
          </dependency>
    
    Charles Reiss's avatar
    Charles Reiss committed
          <dependency>
            <groupId>org.easymock</groupId>
    
            <artifactId>easymockclassextension</artifactId>
    
    Charles Reiss's avatar
    Charles Reiss committed
            <version>3.1</version>
            <scope>test</scope>
          </dependency>
    
    Marcelo Vanzin's avatar
    Marcelo Vanzin committed
          <!-- Needed by cglib which is needed by easymock. -->
          <dependency>
            <groupId>asm</groupId>
            <artifactId>asm</artifactId>
            <version>3.3.1</version>
            <scope>test</scope>
          </dependency>
    
    Sean Owen's avatar
    Sean Owen committed
          <dependency>
    
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
    
            <version>1.9.0</version>
    
          <dependency>
            <groupId>org.scalacheck</groupId>
    
            <artifactId>scalacheck_${scala.binary.version}</artifactId>
    
            <version>1.11.3</version>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
    
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>com.novocode</groupId>
            <artifactId>junit-interface</artifactId>
    
            <version>0.10</version>
    
            <scope>test</scope>
          </dependency>
    
            <groupId>org.apache.curator</groupId>
            <artifactId>curator-recipes</artifactId>
            <version>2.4.0</version>
    
            <exclusions>
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
    
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-client</artifactId>
    
            <version>${hadoop.version}</version>
    
            <exclusions>
              <exclusion>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>servlet-api-2.5</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
              </exclusion>
    
          <dependency>
            <groupId>org.apache.avro</groupId>
            <artifactId>avro</artifactId>
    
    witgo's avatar
    witgo committed
            <version>${avro.version}</version>
          </dependency>
          <dependency>
            <groupId>org.apache.avro</groupId>
            <artifactId>avro-ipc</artifactId>
            <version>${avro.version}</version>
            <exclusions>
    
              <exclusion>
                <groupId>io.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
    witgo's avatar
    witgo committed
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty-util</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.apache.velocity</groupId>
                <artifactId>velocity</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>org.apache.avro</groupId>
            <artifactId>avro-mapred</artifactId>
            <version>${avro.version}</version>
    
            <classifier>${avro.mapred.classifier}</classifier>
    
            <exclusions>
              <exclusion>
                <groupId>io.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty-util</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.apache.velocity</groupId>
                <artifactId>velocity</artifactId>
              </exclusion>
    
            </exclusions>
          </dependency>
    
          <!-- See SPARK-1556 for info on this dependency: -->
    
          <dependency>
            <groupId>net.java.dev.jets3t</groupId>
            <artifactId>jets3t</artifactId>
    
            <version>${jets3t.version}</version>
            <exclusions>
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
            </exclusions>
    
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-api</artifactId>
    
            <version>${yarn.version}</version>
    
            <exclusions>
              <exclusion>
    
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
              <exclusion>
    
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
    
            </exclusions>
          </dependency>
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-common</artifactId>
    
            <version>${yarn.version}</version>
    
            <exclusions>
              <exclusion>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
    
            </exclusions>
          </dependency>
    
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-server-tests</artifactId>
            <version>${yarn.version}</version>
            <classifier>tests</classifier>
            <scope>test</scope>
            <exclusions>
              <exclusion>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
              <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
    
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-server-web-proxy</artifactId>
            <version>${yarn.version}</version>
            <exclusions>
              <exclusion>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
    
          <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-yarn-client</artifactId>
    
            <version>${yarn.version}</version>
    
            <exclusions>
              <exclusion>
                <groupId>asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.ow2.asm</groupId>
                <artifactId>asm</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>org.jboss.netty</groupId>
                <artifactId>netty</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
              </exclusion>
    
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
    
            </exclusions>
          </dependency>
    
            <!-- Matches the versions of jackson-mapper-asl and jackson-core-asl with avro -->
    
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
    
            <version>${jackson.version}</version>
          </dependency>
          <dependency>
            <groupId>org.codehaus.jackson</groupId>
    
            <artifactId>jackson-core-asl</artifactId>
    
            <version>${jackson.version}</version>
    
        </dependencies>
      </dependencyManagement>
    
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-enforcer-plugin</artifactId>
    
              <executions>
                <execution>
                  <id>enforce-versions</id>
                  <goals>
                    <goal>enforce</goal>
                  </goals>
                  <configuration>
                    <rules>
                      <requireMavenVersion>
    
                      </requireMavenVersion>
                      <requireJavaVersion>
    
                        <version>${java.version}</version>
    
                      </requireJavaVersion>
                    </rules>
                  </configuration>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>build-helper-maven-plugin</artifactId>
    
            </plugin>
            <plugin>
              <groupId>net.alchim31.maven</groupId>
              <artifactId>scala-maven-plugin</artifactId>
    
              <version>3.2.0</version>
    
              <executions>
                <execution>
                  <id>scala-compile-first</id>
                  <phase>process-resources</phase>
                  <goals>
                    <goal>compile</goal>
                  </goals>
                </execution>
                <execution>
                  <id>scala-test-compile-first</id>
                  <phase>process-test-resources</phase>
                  <goals>
                    <goal>testCompile</goal>
                  </goals>
                </execution>
                <execution>
                  <id>attach-scaladocs</id>
                  <phase>verify</phase>
                  <goals>
                    <goal>doc-jar</goal>
                  </goals>
                </execution>
              </executions>
              <configuration>
                <scalaVersion>${scala.version}</scalaVersion>
                <recompileMode>incremental</recompileMode>
    
                <useZincServer>true</useZincServer>
    
                <args>
                  <arg>-unchecked</arg>
    
                  <arg>-deprecation</arg>
    
                </args>
                <jvmArgs>
    
                  <jvmArg>-Xmx1024m</jvmArg>
    
                  <jvmArg>-XX:PermSize=${PermGen}</jvmArg>
                  <jvmArg>-XX:MaxPermSize=${MaxPermGen}</jvmArg>
    
                </jvmArgs>
    
                <javacArgs>
                  <javacArg>-source</javacArg>
                  <javacArg>${java.version}</javacArg>
                  <javacArg>-target</javacArg>
                  <javacArg>${java.version}</javacArg>
                </javacArgs>
    
                <!-- The following plugin is required to use quasiquotes in Scala 2.10 and is used
                     by Spark SQL for code generation. -->
                <compilerPlugins>
                  <compilerPlugin>
    
                    <groupId>org.scalamacros</groupId>
                    <artifactId>paradise_${scala.version}</artifactId>
                    <version>${scala.macros.version}</version>
    
                  </compilerPlugin>
                </compilerPlugins>
    
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
    
    Sean Owen's avatar
    Sean Owen committed
              <version>3.1</version>
    
              <configuration>
    
                <source>${java.version}</source>
                <target>${java.version}</target>
    
                <encoding>UTF-8</encoding>
                <maxmem>1024m</maxmem>
    
    Sean Owen's avatar
    Sean Owen committed
                <fork>true</fork>
    
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
    
              <configuration>
                <!-- Uses scalatest instead -->
                <skipTests>true</skipTests>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.scalatest</groupId>
              <artifactId>scalatest-maven-plugin</artifactId>
    
              <configuration>
                <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
                <junitxml>.</junitxml>
    
                <filereports>SparkTestSuite.txt</filereports>
    
                <argLine>-ea -Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine>
    
    witgo's avatar
    witgo committed
                <stderr/>
    
                  <java.awt.headless>true</java.awt.headless>
    
                  <spark.test.home>${session.executionRootDirectory}</spark.test.home>
                  <spark.testing>1</spark.testing>
    
                  <spark.ui.enabled>false</spark.ui.enabled>
    
                  <spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress>
    
                  <spark.executor.extraClassPath>${test_classpath}</spark.executor.extraClassPath>
    
                  <spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
    
              </configuration>
              <executions>
                <execution>
                  <id>test</id>
                  <goals>
                    <goal>test</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-jar-plugin</artifactId>
              <version>2.4</version>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-antrun-plugin</artifactId>
              <version>1.7</version>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-shade-plugin</artifactId>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-source-plugin</artifactId>
              <version>2.2.1</version>
              <configuration>
                <attach>true</attach>
              </configuration>
              <executions>
                <execution>
                  <id>create-source-jar</id>