From a6b1600237cf100efbcfc0bbcf8ed44fe66a1683 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 24 Jun 2024 14:29:12 +0200 Subject: SCANCLI-147 Add aarch64 distributions for Linux and MacOSX --- src/main/assembly/dist-linux-aarch64.xml | 71 +++++++++++++++++++++++++++++++ src/main/assembly/dist-linux-x64.xml | 71 +++++++++++++++++++++++++++++++ src/main/assembly/dist-linux.xml | 71 ------------------------------- src/main/assembly/dist-macosx-aarch64.xml | 68 +++++++++++++++++++++++++++++ src/main/assembly/dist-macosx-x64.xml | 68 +++++++++++++++++++++++++++++ src/main/assembly/dist-macosx.xml | 68 ----------------------------- src/main/assembly/dist-windows-x64.xml | 55 ++++++++++++++++++++++++ src/main/assembly/dist-windows.xml | 55 ------------------------ 8 files changed, 333 insertions(+), 194 deletions(-) create mode 100644 src/main/assembly/dist-linux-aarch64.xml create mode 100644 src/main/assembly/dist-linux-x64.xml delete mode 100644 src/main/assembly/dist-linux.xml create mode 100644 src/main/assembly/dist-macosx-aarch64.xml create mode 100644 src/main/assembly/dist-macosx-x64.xml delete mode 100644 src/main/assembly/dist-macosx.xml create mode 100644 src/main/assembly/dist-windows-x64.xml delete mode 100644 src/main/assembly/dist-windows.xml (limited to 'src') diff --git a/src/main/assembly/dist-linux-aarch64.xml b/src/main/assembly/dist-linux-aarch64.xml new file mode 100644 index 0000000..3e92aa7 --- /dev/null +++ b/src/main/assembly/dist-linux-aarch64.xml @@ -0,0 +1,71 @@ + + + linux-aarch64 + + zip + + sonar-scanner-${project.version}-linux-aarch64 + + + + + ${unpack.dir}/linux-aarch64/${jre.dirname.linux} + jre + + bin/** + man/** + lib/jspawnhelper + lib/jexec + plugin/** + + + + + + ${unpack.dir}/linux-aarch64/${jre.dirname.linux}/bin + jre/bin + + java + + 0755 + + + + + ${unpack.dir}/linux-aarch64/${jre.dirname.linux}/lib + jre/lib + + jspawnhelper + jexec + + 0755 + + + + + ${project.build.directory} + lib + 0644 + + ${scanner.jar} + + + + src/main/assembly/conf + conf + 0644 + unix + + + src/main/assembly/bin + bin + 0755 + unix + true + + sonar-scanner + sonar-scanner-debug + + + + diff --git a/src/main/assembly/dist-linux-x64.xml b/src/main/assembly/dist-linux-x64.xml new file mode 100644 index 0000000..f13e733 --- /dev/null +++ b/src/main/assembly/dist-linux-x64.xml @@ -0,0 +1,71 @@ + + + linux-x64 + + zip + + sonar-scanner-${project.version}-linux-x64 + + + + + ${unpack.dir}/linux-x64/${jre.dirname.linux} + jre + + bin/** + man/** + lib/jspawnhelper + lib/jexec + plugin/** + + + + + + ${unpack.dir}/linux-x64/${jre.dirname.linux}/bin + jre/bin + + java + + 0755 + + + + + ${unpack.dir}/linux-x64/${jre.dirname.linux}/lib + jre/lib + + jspawnhelper + jexec + + 0755 + + + + + ${project.build.directory} + lib + 0644 + + ${scanner.jar} + + + + src/main/assembly/conf + conf + 0644 + unix + + + src/main/assembly/bin + bin + 0755 + unix + true + + sonar-scanner + sonar-scanner-debug + + + + diff --git a/src/main/assembly/dist-linux.xml b/src/main/assembly/dist-linux.xml deleted file mode 100644 index d68cfc9..0000000 --- a/src/main/assembly/dist-linux.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - linux - - zip - - sonar-scanner-${project.version}-linux - - - - - ${unpack.dir}/linux/${jre.dirname.linux} - jre - - bin/** - man/** - lib/jspawnhelper - lib/jexec - plugin/** - - - - - - ${unpack.dir}/linux/${jre.dirname.linux}/bin - jre/bin - - java - - 0755 - - - - - ${unpack.dir}/linux/${jre.dirname.linux}/lib - jre/lib - - jspawnhelper - jexec - - 0755 - - - - - ${project.build.directory} - lib - 0644 - - ${scanner.jar} - - - - src/main/assembly/conf - conf - 0644 - unix - - - src/main/assembly/bin - bin - 0755 - unix - true - - sonar-scanner - sonar-scanner-debug - - - - diff --git a/src/main/assembly/dist-macosx-aarch64.xml b/src/main/assembly/dist-macosx-aarch64.xml new file mode 100644 index 0000000..2329b9b --- /dev/null +++ b/src/main/assembly/dist-macosx-aarch64.xml @@ -0,0 +1,68 @@ + + + macosx-aarch64 + + zip + + sonar-scanner-${project.version}-macosx-aarch64 + + + + + ${unpack.dir}/macosx-aarch64/${jre.dirname.macosx} + jre + + bin/** + man/** + lib/jspawnhelper + + + + + + ${unpack.dir}/macosx-aarch64/${jre.dirname.macosx}/bin + jre/bin + + java + + 0755 + + + + + ${unpack.dir}/macosx-aarch64/${jre.dirname.macosx}/lib + jre/lib + + jspawnhelper + + 0755 + + + + + ${project.build.directory} + lib + 0644 + + ${scanner.jar} + + + + src/main/assembly/conf + conf + 0644 + unix + + + src/main/assembly/bin + bin + 0755 + unix + true + + sonar-scanner + sonar-scanner-debug + + + + 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 @@ + + + macosx-x64 + + zip + + sonar-scanner-${project.version}-macosx-x64 + + + + + ${unpack.dir}/macosx-x64/${jre.dirname.macosx} + jre + + bin/** + man/** + lib/jspawnhelper + + + + + + ${unpack.dir}/macosx-x64/${jre.dirname.macosx}/bin + jre/bin + + java + + 0755 + + + + + ${unpack.dir}/macosx-x64/${jre.dirname.macosx}/lib + jre/lib + + jspawnhelper + + 0755 + + + + + ${project.build.directory} + lib + 0644 + + ${scanner.jar} + + + + src/main/assembly/conf + conf + 0644 + unix + + + src/main/assembly/bin + bin + 0755 + unix + true + + sonar-scanner + sonar-scanner-debug + + + + diff --git a/src/main/assembly/dist-macosx.xml b/src/main/assembly/dist-macosx.xml deleted file mode 100644 index d914152..0000000 --- a/src/main/assembly/dist-macosx.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - macosx - - zip - - sonar-scanner-${project.version}-macosx - - - - - ${unpack.dir}/macosx/${jre.dirname.macosx} - jre - - bin/** - man/** - lib/jspawnhelper - - - - - - ${unpack.dir}/macosx/${jre.dirname.macosx}/bin - jre/bin - - java - - 0755 - - - - - ${unpack.dir}/macosx/${jre.dirname.macosx}/lib - jre/lib - - jspawnhelper - - 0755 - - - - - ${project.build.directory} - lib - 0644 - - ${scanner.jar} - - - - src/main/assembly/conf - conf - 0644 - unix - - - src/main/assembly/bin - bin - 0755 - unix - true - - sonar-scanner - sonar-scanner-debug - - - - diff --git a/src/main/assembly/dist-windows-x64.xml b/src/main/assembly/dist-windows-x64.xml new file mode 100644 index 0000000..4f5b01c --- /dev/null +++ b/src/main/assembly/dist-windows-x64.xml @@ -0,0 +1,55 @@ + + + windows-x64 + + zip + + sonar-scanner-${project.version}-windows-x64 + + + + + ${unpack.dir}/windows-x64/${jre.dirname.windows} + jre + + bin/** + man/** + plugin/** + + + + + + ${unpack.dir}/windows-x64/${jre.dirname.windows}/bin + jre/bin + 0755 + + + + + ${project.build.directory} + lib + 0644 + + ${scanner.jar} + + + + src/main/assembly/conf + conf + 0644 + unix + + + src/main/assembly/bin + bin + 0755 + dos + true + + sonar-scanner.bat + sonar-scanner-debug.bat + + + + diff --git a/src/main/assembly/dist-windows.xml b/src/main/assembly/dist-windows.xml deleted file mode 100644 index f35a152..0000000 --- a/src/main/assembly/dist-windows.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - windows - - zip - - sonar-scanner-${project.version}-windows - - - - - ${unpack.dir}/windows/${jre.dirname.windows} - jre - - bin/** - man/** - plugin/** - - - - - - ${unpack.dir}/windows/${jre.dirname.windows}/bin - jre/bin - 0755 - - - - - ${project.build.directory} - lib - 0644 - - ${scanner.jar} - - - - src/main/assembly/conf - conf - 0644 - unix - - - src/main/assembly/bin - bin - 0755 - dos - true - - sonar-scanner.bat - sonar-scanner-debug.bat - - - - -- cgit v1.2.3