diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-06-29 14:07:55 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-06-29 14:07:55 -0700 |
commit | 27ef85451cd237caa7016baa69957a35ab365aa8 (patch) | |
tree | 8a8fe158fa7bfcf0e03b3222f93a37ad5c2eae42 | |
parent | afae9766f28d2e58297405c39862d20a04267b62 (diff) | |
download | spark-27ef85451cd237caa7016baa69957a35ab365aa8.tar.gz spark-27ef85451cd237caa7016baa69957a35ab365aa8.tar.bz2 spark-27ef85451cd237caa7016baa69957a35ab365aa8.zip |
[SPARK-8709] Exclude hadoop-client's mockito-all dependency
This patch excludes `hadoop-client`'s dependency on `mockito-all`. As of #7061, Spark depends on `mockito-core` instead of `mockito-all`, so the dependency from Hadoop was leading to test compilation failures for some of the Hadoop 2 SBT builds.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #7090 from JoshRosen/SPARK-8709 and squashes the following commits:
e190122 [Josh Rosen] [SPARK-8709] Exclude hadoop-client's mockito-all dependency.
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | core/pom.xml | 10 | ||||
-rw-r--r-- | launcher/pom.xml | 6 | ||||
-rw-r--r-- | pom.xml | 8 |
4 files changed, 9 insertions, 17 deletions
@@ -948,6 +948,6 @@ The following components are provided under the MIT License. See project link fo (MIT License) SLF4J LOG4J-12 Binding (org.slf4j:slf4j-log4j12:1.7.5 - http://www.slf4j.org) (MIT License) pyrolite (org.spark-project:pyrolite:2.0.1 - http://pythonhosted.org/Pyro4/) (MIT License) scopt (com.github.scopt:scopt_2.10:3.2.0 - https://github.com/scopt/scopt) - (The MIT License) Mockito (org.mockito:mockito-core:1.8.5 - http://www.mockito.org) + (The MIT License) Mockito (org.mockito:mockito-core:1.9.5 - http://www.mockito.org) (MIT License) jquery (https://jquery.org/license/) (MIT License) AnchorJS (https://github.com/bryanbraun/anchorjs) diff --git a/core/pom.xml b/core/pom.xml index 565437c486..aee0d92620 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -69,16 +69,6 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> - <exclusions> - <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-mapper-asl</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>org.apache.spark</groupId> diff --git a/launcher/pom.xml b/launcher/pom.xml index a853e67f5c..2fd768d811 100644 --- a/launcher/pom.xml +++ b/launcher/pom.xml @@ -68,12 +68,6 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <scope>test</scope> - <exclusions> - <exclusion> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-mapper-asl</artifactId> - </exclusion> - </exclusions> </dependency> </dependencies> @@ -748,6 +748,10 @@ <artifactId>asm</artifactId> </exclusion> <exclusion> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-mapper-asl</artifactId> + </exclusion> + <exclusion> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> </exclusion> @@ -760,6 +764,10 @@ <artifactId>commons-logging</artifactId> </exclusion> <exclusion> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + </exclusion> + <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>servlet-api-2.5</artifactId> </exclusion> |