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/31 12:51:04 UTC

[mahout] 01/04: (nojira)[release] change permissions on bin and example directories, in line with previous releases

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

commit e273487fd718bc533b1775ded9c1b134752aaf4c
Author: Andrew Palumbo <ap...@apache.org>
AuthorDate: Fri Jan 31 04:13:31 2020 -0800

    (nojira)[release] change permissions on bin and example directories, in line with previous releases
---
 dist/src/main/resources/assembly/src.xml | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/dist/src/main/resources/assembly/src.xml b/dist/src/main/resources/assembly/src.xml
index 057e068..882999b 100644
--- a/dist/src/main/resources/assembly/src.xml
+++ b/dist/src/main/resources/assembly/src.xml
@@ -40,7 +40,6 @@ yes distributed under the License is distributed on an "AS IS" BASIS,
           <include>src/conf/**</include>
           <include>Dockerfile*</include>
           <include>entrypoint*.sh</include>
-          <include>bin/**</include>
           <include>engine/***</include>
           <include>engine/**/**</include>
           <include>core/**</include>
@@ -57,7 +56,6 @@ yes distributed under the License is distributed on an "AS IS" BASIS,
           <include>experimental/**/**</include>
           <include>dist/**</include>
           <include>dist/**/**</include>
-          <include>examples/**</include>
           <include>resource-managers/**</include>
         </includes>
         <excludes>
@@ -66,6 +64,23 @@ yes distributed under the License is distributed on an "AS IS" BASIS,
           <exclude>${basedir}/target</exclude>
         </excludes>
       </fileSet>
-
+      <fileSet>
+          <directory>${project.basedir}/../bin</directory>
+          <outputDirectory>bin</outputDirectory>
+          <useDefaultExcludes>true</useDefaultExcludes>
+          <fileMode>0755</fileMode>
+          <directoryMode>0755</directoryMode>
+      </fileSet>
+      <fileSet>
+          <directory>${project.basedir}/../examples/bin</directory>
+          <outputDirectory>examples/bin</outputDirectory>
+          <useDefaultExcludes>true</useDefaultExcludes>
+          <fileMode>0755</fileMode>
+          <directoryMode>0755</directoryMode>
+          <excludes>
+            <exclude>work</exclude>
+            <exclude>work/**</exclude>
+          </excludes>
+      </fileSet>
     </fileSets>
 </assembly>