aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assembly/dist-windows-x64.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/assembly/dist-windows-x64.xml')
-rw-r--r--src/main/assembly/dist-windows-x64.xml55
1 files changed, 55 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>windows-x64</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>sonar-scanner-${project.version}-windows-x64</baseDirectory>
+ <fileSets>
+
+ <!-- jre basic, except bin/ -->
+ <fileSet>
+ <directory>${unpack.dir}/windows-x64/${jre.dirname.windows}</directory>
+ <outputDirectory>jre</outputDirectory>
+ <excludes>
+ <exclude>bin/**</exclude>
+ <exclude>man/**</exclude>
+ <exclude>plugin/**</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- jre bin -->
+ <fileSet>
+ <directory>${unpack.dir}/windows-x64/${jre.dirname.windows}/bin</directory>
+ <outputDirectory>jre/bin</outputDirectory>
+ <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>dos</lineEnding>
+ <filtered>true</filtered>
+ <includes>
+ <include>sonar-scanner.bat</include>
+ <include>sonar-scanner-debug.bat</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>