This is an automated email from the ASF dual-hosted git repository.

apalumbo pushed a commit to branch mahout-14.1
in repository https://gitbox.apache.org/repos/asf/mahout.git

commit 3b992bd76ccd2282be70885c2398543635f3f71b
Author: Andrew Palumbo <[email protected]>
AuthorDate: Mon Oct 28 23:35:24 2019 -0700

    remove some hardcoding
---
 buildtools/pom.xml   |  2 +-
 engine/hdfs/pom.xml  |  4 ++--
 engine/spark/pom.xml |  2 +-
 pom.xml              | 46 +++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 49 insertions(+), 5 deletions(-)

diff --git a/buildtools/pom.xml b/buildtools/pom.xml
index cbbaa25..727f6bd 100644
--- a/buildtools/pom.xml
+++ b/buildtools/pom.xml
@@ -39,7 +39,7 @@
   </properties>
 
   <prerequisites>
-    <maven>3.3.3</maven>
+    <maven>3.3.9</maven>
   </prerequisites>
 
   <build>
diff --git a/engine/hdfs/pom.xml b/engine/hdfs/pom.xml
index b2c8dcd..e53ce7d 100644
--- a/engine/hdfs/pom.xml
+++ b/engine/hdfs/pom.xml
@@ -183,13 +183,13 @@
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>mahout-core_${scala.compat.version}</artifactId>
-      <version>14.2-SNAPSHOT</version>
+      <version>${project.version}</version>
     </dependency>
 
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>mahout-core_${scala.compat.version}</artifactId>
-      <version>14.2-SNAPSHOT</version>
+      <version>${project.version}</version>
       <type>test-jar</type>
       <scope>test</scope>
     </dependency>
diff --git a/engine/spark/pom.xml b/engine/spark/pom.xml
index 549fcaf..700e24f 100644
--- a/engine/spark/pom.xml
+++ b/engine/spark/pom.xml
@@ -252,7 +252,7 @@
     <dependency>
       <groupId>org.apache.mahout</groupId>
       <artifactId>mahout-core_${scala.compat.version}</artifactId>
-      <version>14.2-SNAPSHOT</version>
+      <version>${project.version}</version>
     </dependency>
 
     <dependency>
diff --git a/pom.xml b/pom.xml
index 942bbb9..9145a83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -484,7 +484,51 @@
       <pmd.skip>true</pmd.skip>
       <checkstyle.skip>true</checkstyle.skip>
       <mahout.skip.distribution>false</mahout.skip.distribution>
-
+      <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>3.1.1</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.mahout</groupId>
+            <artifactId>apache-mahout-distribution</artifactId>
+            <version>${project.version}</version>
+          </dependency>
+        </dependencies>
+        <executions>
+          <execution>
+            <id>bin-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <skipAssembly>false</skipAssembly>
+              <descriptors>
+                
<descriptor>${project.basedir}/src/main/resources/assemblies/bin.xml</descriptor>
+              </descriptors>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <appendAssemblyId>false</appendAssemblyId>
+            </configuration>
+          </execution>
+          <execution>
+            <id>src-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <skipAssembly>false</skipAssembly>
+              <descriptors>
+                
<descriptor>${project.basedir}/src/main/resources/assemblies/src.xml</descriptor>
+              </descriptors>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <appendAssemblyId>true</appendAssemblyId>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
     </properties>
   </profile>
   <profile>

Reply via email to