aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2023-08-04 11:27:46 -0500
committerDuarte Meneses <duarte.meneses@sonarsource.com>2023-08-04 14:30:53 -0500
commitcbb29580160cbb00aee2d9b587734ebaec3cf9b9 (patch)
tree2de0a64b56a02ef5e7ce4171bfa17e90fe36cd76
parent69fff1fbace0f3f5f3955432dcfed2c7c22bf136 (diff)
downloadsonar-scanner-cli-cbb29580160cbb00aee2d9b587734ebaec3cf9b9.tar.gz
sonar-scanner-cli-cbb29580160cbb00aee2d9b587734ebaec3cf9b9.zip
SQSCANNER-117 Make jre/lib/jspawnhelper amd jre/lib/jexec executable on linux
-rw-r--r--src/main/assembly/dist-linux.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/assembly/dist-linux.xml b/src/main/assembly/dist-linux.xml
index 0eef457..d68cfc9 100644
--- a/src/main/assembly/dist-linux.xml
+++ b/src/main/assembly/dist-linux.xml
@@ -14,6 +14,8 @@
<excludes>
<exclude>bin/**</exclude>
<exclude>man/**</exclude>
+ <exclude>lib/jspawnhelper</exclude>
+ <exclude>lib/jexec</exclude>
<exclude>plugin/**</exclude>
</excludes>
</fileSet>
@@ -28,6 +30,17 @@
<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>