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

madhan pushed a commit to branch RANGER-3923
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/RANGER-3923 by this push:
     new dbac45469 RANGER-4625: updated yarn-plugin packaging to include 
dependent libraries
     new b0099089e Merge branch 'master' into RANGER-3923
dbac45469 is described below

commit dbac45469dca308727717f1ec98e521d6513913d
Author: qingzhongli <[email protected]>
AuthorDate: Tue Jan 2 09:57:15 2024 +0800

    RANGER-4625: updated yarn-plugin packaging to include dependent libraries
    
    Signed-off-by: Madhan Neethiraj <[email protected]>
---
 distro/src/main/assembly/plugin-yarn.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/distro/src/main/assembly/plugin-yarn.xml 
b/distro/src/main/assembly/plugin-yarn.xml
index 4fd73464c..5db884710 100644
--- a/distro/src/main/assembly/plugin-yarn.xml
+++ b/distro/src/main/assembly/plugin-yarn.xml
@@ -122,8 +122,16 @@
       </includes>
       <binaries>
         <outputDirectory>install/lib</outputDirectory>
-        <includeDependencies>false</includeDependencies>
+        <includeDependencies>true</includeDependencies>
         <unpack>false</unpack>
+        <directoryMode>755</directoryMode>
+        <fileMode>644</fileMode>
+        <includes>
+          
<include>commons-logging:commons-logging:jar:${commons.logging.version}</include>
+          
<include>org.apache.commons:commons-compress:jar:${commons.compress.version}</include>
+          
<include>org.apache.commons:commons-lang3:jar:${commons.lang3.version}</include>
+          <include>org.apache.htrace:htrace-core4</include>
+        </includes>
       </binaries>
     </moduleSet>
   </moduleSets>

Reply via email to