aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2015-03-04 20:52:58 -0800
committerPatrick Wendell <patrick@databricks.com>2015-03-04 20:52:58 -0800
commit1aa90e39e33caa497971544ee7643fb3ff048c12 (patch)
tree3223617e2f87b0fac94e53cbb3ccee4660b49f67 /pom.xml
parent3a35a0dfe940843c3f3a5f51acfe24def488faa9 (diff)
downloadspark-1aa90e39e33caa497971544ee7643fb3ff048c12.tar.gz
spark-1aa90e39e33caa497971544ee7643fb3ff048c12.tar.bz2
spark-1aa90e39e33caa497971544ee7643fb3ff048c12.zip
[SPARK-6149] [SQL] [Build] Excludes Guava 15 referenced by jackson-module-scala_2.10
This PR excludes Guava 15.0 from the SBT build, to make Spark SQL CLI (`bin/spark-sql`) work when compiled against Hive 0.12.0. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4890) <!-- Reviewable:end --> Author: Cheng Lian <lian@databricks.com> Closes #4890 from liancheng/exclude-guava-15 and squashes the following commits: 91ae9fa [Cheng Lian] Moves Guava 15 exclusion from SBT build to POM 282bd2a [Cheng Lian] Excludes Guava 15 referenced by jackson-module-scala_2.10
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 77d08d6ee8..54fe784fe5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -583,10 +583,18 @@
<artifactId>jackson-databind</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
+ <!-- Guava is excluded because of SPARK-6149. The Guava version referenced in this module is
+ 15.0, which causes runtime incompatibility issues. -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.10</artifactId>
<version>${fasterxml.jackson.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>