aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorDB Tsai <dbt@netflix.com>2016-04-09 09:21:12 -0700
committerXiangrui Meng <meng@databricks.com>2016-04-09 09:21:12 -0700
commit1598d11bb0248384872cf88bc2b16f3b238046ad (patch)
tree4857018899ec861865be3ea1af8e2700beea00c7 /mllib
parent10a95781ee8685d1473b156715b905c83af2aab0 (diff)
downloadspark-1598d11bb0248384872cf88bc2b16f3b238046ad.tar.gz
spark-1598d11bb0248384872cf88bc2b16f3b238046ad.tar.bz2
spark-1598d11bb0248384872cf88bc2b16f3b238046ad.zip
[SPARK-14462][ML][MLLIB] add the mllib-local build to maven pom
## What changes were proposed in this pull request? In order to separate the linear algebra, and vector matrix classes into a standalone jar, we need to setup the build first. This PR will create a new jar called mllib-local with minimal dependencies. The test scope will still depend on spark-core and spark-core-test in order to use the common utilities, but the runtime will avoid any platform dependency. Couple platform independent classes will be moved to this package to demonstrate how this work. ## How was this patch tested? Unit tests Author: DB Tsai <dbt@netflix.com> Closes #12241 from dbtsai/dbtsai-mllib-local-build.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/mllib/pom.xml b/mllib/pom.xml
index 428176dcbf..e56eafc300 100644
--- a/mllib/pom.xml
+++ b/mllib/pom.xml
@@ -63,6 +63,18 @@
<version>${project.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.spark</groupId>
+ <artifactId>spark-mllib-local_${scala.binary.version}</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.spark</groupId>
+ <artifactId>spark-mllib-local_${scala.binary.version}</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.scalanlp</groupId>
<artifactId>breeze_${scala.binary.version}</artifactId>
<version>0.11.2</version>