You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2020/01/14 04:30:19 UTC

[mahout] branch master updated: [release][hotfix] add missing scala version number to distribution module

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 6ea9f3c  [release][hotfix] add missing scala version number to distribution module
6ea9f3c is described below

commit 6ea9f3ce254f9900cde950c80214b02e9f7d71f7
Author: Andrew Palumbo <ap...@apache.org>
AuthorDate: Mon Jan 13 20:29:57 2020 -0800

    [release][hotfix] add missing scala version number to distribution module
---
 distribution/pom.xml | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index d3cfca9..ed627e9 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -26,7 +26,7 @@
         <version>14.1-SNAPSHOT</version>
     </parent>
 
-    <artifactId>distribution</artifactId>
+    <artifactId>distribution_2.11</artifactId>
 
     <name>Mahout Release Package</name>
     <description>Distribution Package</description>
@@ -68,18 +68,34 @@
 -->
                 <executions>
                     <execution>
-                        <id>distro-assembly</id>
+                        <id>distro-assembly-bin</id>
                         <phase>deploy</phase>
                         <goals>
                             <goal>single</goal>
                         </goals>
                         <configuration>
                             <attach>true</attach>
-                            <finalName>apache-mahout-${project.version}-${scala.compat.version}</finalName>
+                            <finalName>apache-mahout-${project.version}_${scala.compat.version}</finalName>
                             <skipAssembly>false</skipAssembly>
                             <descriptors>
-                              <descriptor>${project.basedir}/src/main/resources/assembly/bin.xml</descriptor>
-                              <descriptor>${project.basedir}/src/main/resources/assembly/src.xml</descriptor>
+                                <descriptor>${project.basedir}/src/main/resources/assembly/bin.xml</descriptor>
+                            </descriptors>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                            <appendAssemblyId>true</appendAssemblyId>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>distro-assembly-src</id>
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <attach>true</attach>
+                            <finalName>apache-mahout-${project.version}_${scala.compat.version}</finalName>
+                            <skipAssembly>false</skipAssembly>
+                            <descriptors>
+                                <descriptor>${project.basedir}/src/main/resources/assembly/src.xml</descriptor>
                             </descriptors>
                             <tarLongFileMode>gnu</tarLongFileMode>
                             <appendAssemblyId>true</appendAssemblyId>