aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assembly/dist-macosx-x64.xml
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-06-24 14:29:12 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2024-06-26 17:32:43 +0200
commita6b1600237cf100efbcfc0bbcf8ed44fe66a1683 (patch)
tree64e61f1f72addec2cfaf94b85f88d1d01865096b /src/main/assembly/dist-macosx-x64.xml
parentcf5980dc8db5441a2d51ad399eed841d02240a97 (diff)
downloadsonar-scanner-cli-a6b1600237cf100efbcfc0bbcf8ed44fe66a1683.tar.gz
sonar-scanner-cli-a6b1600237cf100efbcfc0bbcf8ed44fe66a1683.zip
SCANCLI-147 Add aarch64 distributions for Linux and MacOSX
Diffstat (limited to 'src/main/assembly/dist-macosx-x64.xml')
-rw-r--r--src/main/assembly/dist-macosx-x64.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/main/assembly/dist-macosx-x64.xml b/src/main/assembly/dist-macosx-x64.xml
new file mode 100644
index 0000000..9429ff6
--- /dev/null
+++ b/src/main/assembly/dist-macosx-x64.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>macosx-x64</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>sonar-scanner-${project.version}-macosx-x64</baseDirectory>
+ <fileSets>
+
+ <!-- jre basic, except bin/ and misc -->
+ <fileSet>
+ <directory>${unpack.dir}/macosx-x64/${jre.dirname.macosx}</directory>
+ <outputDirectory>jre</outputDirectory>
+ <excludes>
+ <exclude>bin/**</exclude>
+ <exclude>man/**</exclude>
+ <exclude>lib/jspawnhelper</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- jre bin/java -->
+ <fileSet>
+ <directory>${unpack.dir}/macosx-x64/${jre.dirname.macosx}/bin</directory>
+ <outputDirectory>jre/bin</outputDirectory>
+ <includes>
+ <include>java</include>
+ </includes>
+ <fileMode>0755</fileMode>
+ </fileSet>
+
+ <!-- jre lib executable files -->
+ <fileSet>
+ <directory>${unpack.dir}/macosx-x64/${jre.dirname.macosx}/lib</directory>
+ <outputDirectory>jre/lib</outputDirectory>
+ <includes>
+ <include>jspawnhelper</include>
+ </includes>
+ <fileMode>0755</fileMode>
+ </fileSet>
+
+ <!-- scanner files -->
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <outputDirectory>lib</outputDirectory>
+ <fileMode>0644</fileMode>
+ <includes>
+ <include>${scanner.jar}</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/assembly/conf</directory>
+ <outputDirectory>conf</outputDirectory>
+ <fileMode>0644</fileMode>
+ <lineEnding>unix</lineEnding>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/assembly/bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <fileMode>0755</fileMode>
+ <lineEnding>unix</lineEnding>
+ <filtered>true</filtered>
+ <includes>
+ <include>sonar-scanner</include>
+ <include>sonar-scanner-debug</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>