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

akm 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 625b4be  NOJIRA: Replacing bin assembly
625b4be is described below

commit 625b4bef8de18491222a87cdc285d01d9ebb1135
Author: Andrew Musselman <[email protected]>
AuthorDate: Thu May 9 20:45:52 2019 -0700

    NOJIRA: Replacing bin assembly
---
 pom.xml | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 675a8ec..66a39ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -248,7 +248,7 @@
         <version>2.5.2</version>
         <configuration>
           <useReleaseProfile>true</useReleaseProfile>
-          <releaseProfiles>mahout-release,apache-release</releaseProfiles>
+          <releaseProfiles>apache-release</releaseProfiles>
           <goals>deploy</goals>
           <autoVersionSubmodules>true</autoVersionSubmodules>
           <arguments>${arguments}</arguments>
@@ -492,17 +492,33 @@
             </dependencies>
             <executions>
               <execution>
-                <id>source-release-assembly</id>
+                <id>bin-assembly</id>
                 <phase>package</phase>
                 <goals>
                   <goal>single</goal>
                 </goals>
                 <configuration>
-                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
-                  <descriptorRefs>
-                    <descriptorRef>source-release</descriptorRef>
-                  </descriptorRefs>
+                  <skipAssembly>${mahout.skip.distribution}</skipAssembly>
+                  <descriptors>
+                    <descriptor>buildtools/assembly/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>${mahout.skip.distribution}</skipAssembly>
+                  <descriptors>
+                    <descriptor>buildtools/assembly/src.xml</descriptor>
+                  </descriptors>
+                  <tarLongFileMode>gnu</tarLongFileMode>
+                  <appendAssemblyId>true</appendAssemblyId>
                 </configuration>
               </execution>
             </executions>
@@ -511,7 +527,7 @@
             <artifactId>maven-release-plugin</artifactId>
             <configuration>
               <releaseProfiles>apache-release</releaseProfiles>
-              <preparationGoals>clean install</preparationGoals>
+              <preparationGoals>clean package</preparationGoals>
             </configuration>
           </plugin>
           <plugin>

Reply via email to