]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SQSCANNER-117 Make jre/lib/jspawnhelper amd jre/lib/jexec executable on linux
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 4 Aug 2023 16:27:46 +0000 (11:27 -0500)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 4 Aug 2023 19:30:53 +0000 (14:30 -0500)
src/main/assembly/dist-linux.xml

index 0eef4574ad54809836404a940a66a4f2e79f1b6e..d68cfc9ce1c89788ee67dfc4bea15cdf54d0852b 100644 (file)
@@ -14,6 +14,8 @@
       <excludes>
         <exclude>bin/**</exclude>
         <exclude>man/**</exclude>
+        <exclude>lib/jspawnhelper</exclude>
+        <exclude>lib/jexec</exclude>
         <exclude>plugin/**</exclude>
       </excludes>
     </fileSet>
       <fileMode>0755</fileMode>
     </fileSet>
 
+    <!-- jre lib executable files -->
+    <fileSet>
+      <directory>${unpack.dir}/linux/${jre.dirname.linux}/lib</directory>
+      <outputDirectory>jre/lib</outputDirectory>
+      <includes>
+        <include>jspawnhelper</include>
+        <include>jexec</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
+
     <!-- scanner files -->
     <fileSet>
       <directory>${project.build.directory}</directory>