This is an automated email from the ASF dual-hosted git repository.
apalumbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mahout.git
The following commit(s) were added to refs/heads/master by this push:
new 395e8c7 (nojira) ad dependency-reduced jar back to spark module
395e8c7 is described below
commit 395e8c715897b88f183d9364f3e0808c86398f32
Author: Andrew Palumbo <[email protected]>
AuthorDate: Thu May 16 19:54:28 2019 -0700
(nojira) ad dependency-reduced jar back to spark module
---
community/pom.xml | 2 +-
community/spark-cli-drivers/pom.xml | 2 +-
core/pom.xml | 2 +-
engine/hdfs/pom.xml | 2 +-
engine/pom.xml | 2 +-
engine/spark/pom.xml | 24 +++++++++++++++++++++++-
pom.xml | 2 +-
7 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/community/pom.xml b/community/pom.xml
index 5ccb06f..9660f73 100644
--- a/community/pom.xml
+++ b/community/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/community/spark-cli-drivers/pom.xml
b/community/spark-cli-drivers/pom.xml
index 5e1ed5f..c03b55d 100644
--- a/community/spark-cli-drivers/pom.xml
+++ b/community/spark-cli-drivers/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>community</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/core/pom.xml b/core/pom.xml
index a5ec594..3154a1d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/engine/hdfs/pom.xml b/engine/hdfs/pom.xml
index d574755..653ea81 100644
--- a/engine/hdfs/pom.xml
+++ b/engine/hdfs/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>engine</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/engine/pom.xml b/engine/pom.xml
index d56d737..3752b63 100644
--- a/engine/pom.xml
+++ b/engine/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/engine/spark/pom.xml b/engine/spark/pom.xml
index 5db21d9..325290f 100644
--- a/engine/spark/pom.xml
+++ b/engine/spark/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.mahout</groupId>
<artifactId>engine</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -83,6 +83,7 @@
</executions>
</plugin>
+
<!--this is what scalatest recommends to do to enable scala tests -->
<!-- disable surefire -->
@@ -108,6 +109,26 @@
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>dependency-reduced</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+
<descriptor>src/main/assembly/dependency-reduced.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
<!-- copy jars to top directory, which is MAHOUT_HOME -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
@@ -119,6 +140,7 @@
<configuration>
<tasks>
<copy
file="target/spark_${scala.compat.version}-${project.version}.jar"
tofile="../../lib/spark_${scala.compat.version}-${project.version}.jar" />
+ <copy
file="target/spark_${scala.compat.version}-${version}-dependency-reduced.jar"
tofile="../../lib/spark_${scala.compat.version}-${version}-dependency-reduced.jar"
/>
</tasks>
</configuration>
<goals>
diff --git a/pom.xml b/pom.xml
index 5aaf829..c0eedc4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<groupId>org.apache.mahout</groupId>
<artifactId>mahout</artifactId>
- <version>14.1-SNAPSHOT</version>
+ <version>14.1</version>
<packaging>pom</packaging>
<name>Apache Mahout</name>