aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorDB Tsai <dbt@netflix.com>2016-04-11 09:35:47 -0700
committerXiangrui Meng <meng@databricks.com>2016-04-11 09:35:47 -0700
commitefaf7d18205f5ae3a1c767942ee7d7320f7410de (patch)
treec775391456436534bd7f9a3679f2687c7eb6f114 /mllib
parent643b4e2257c56338b192f8554e2fe5523bea4bdf (diff)
downloadspark-efaf7d18205f5ae3a1c767942ee7d7320f7410de.tar.gz
spark-efaf7d18205f5ae3a1c767942ee7d7320f7410de.tar.bz2
spark-efaf7d18205f5ae3a1c767942ee7d7320f7410de.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 previous PR was failing the build because of `spark-core:test` dependency, and that was reverted. In this PR, `FunSuite` with `// scalastyle:ignore funsuite` in mllib-local test was used, similar to sketch. Thanks. ## How was this patch tested? Unit tests mengxr tedyu holdenk Author: DB Tsai <dbt@netflix.com> Closes #12298 from dbtsai/dbtsai-mllib-local-build-fix.
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>