aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-04-14 10:48:17 -0700
committerDB Tsai <dbt@netflix.com>2016-04-14 10:48:17 -0700
commit9fa43a33b91c3a9b6be39bf3e00febf61a4b5b59 (patch)
treed7f5ce4dbcae49bd0cc05fd9528f6bca79479072
parent3e27940a19e7bab448f1af11d2065ecd1ec66197 (diff)
downloadspark-9fa43a33b91c3a9b6be39bf3e00febf61a4b5b59.tar.gz
spark-9fa43a33b91c3a9b6be39bf3e00febf61a4b5b59.tar.bz2
spark-9fa43a33b91c3a9b6be39bf3e00febf61a4b5b59.zip
[SPARK-14612][ML] Consolidate the version of dependencies in mllib and mllib-local into one place
## What changes were proposed in this pull request? Move json4s, breeze dependency declaration into parent ## How was this patch tested? Should be no functional change, but Jenkins tests will test that. Author: Sean Owen <sowen@cloudera.com> Closes #12390 from srowen/SPARK-14612.
-rw-r--r--core/pom.xml1
-rw-r--r--mllib-local/pom.xml13
-rw-r--r--mllib/pom.xml13
-rw-r--r--pom.xml22
4 files changed, 22 insertions, 27 deletions
diff --git a/core/pom.xml b/core/pom.xml
index 4c7e3a3662..7349ad35b9 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -192,7 +192,6 @@
<dependency>
<groupId>org.json4s</groupId>
<artifactId>json4s-jackson_${scala.binary.version}</artifactId>
- <version>3.2.10</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
diff --git a/mllib-local/pom.xml b/mllib-local/pom.xml
index c56561f215..68f15dd905 100644
--- a/mllib-local/pom.xml
+++ b/mllib-local/pom.xml
@@ -38,19 +38,6 @@
<dependency>
<groupId>org.scalanlp</groupId>
<artifactId>breeze_${scala.binary.version}</artifactId>
- <version>0.11.2</version>
- <exclusions>
- <!-- This is included as a compile-scoped dependency by jtransforms, which is
- a dependency of breeze. -->
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
diff --git a/mllib/pom.xml b/mllib/pom.xml
index e56eafc300..24d8274e22 100644
--- a/mllib/pom.xml
+++ b/mllib/pom.xml
@@ -77,19 +77,6 @@
<dependency>
<groupId>org.scalanlp</groupId>
<artifactId>breeze_${scala.binary.version}</artifactId>
- <version>0.11.2</version>
- <exclusions>
- <!-- This is included as a compile-scoped dependency by jtransforms, which is
- a dependency of breeze. -->
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
diff --git a/pom.xml b/pom.xml
index 4585c8b9c2..a772d51337 100644
--- a/pom.xml
+++ b/pom.xml
@@ -585,6 +585,28 @@
<scope>${hadoop.deps.scope}</scope>
</dependency>
<dependency>
+ <groupId>org.scalanlp</groupId>
+ <artifactId>breeze_${scala.binary.version}</artifactId>
+ <version>0.11.2</version>
+ <exclusions>
+ <!-- This is included as a compile-scoped dependency by jtransforms, which is
+ a dependency of breeze. -->
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.json4s</groupId>
+ <artifactId>json4s-jackson_${scala.binary.version}</artifactId>
+ <version>3.2.10</version>
+ </dependency>
+ <dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
<version>${jersey.version}</version>