aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assembly/dist-windows-x64.xml
blob: 4f5b01c95d3831222edf21b71d35b9cb6e1a2a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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>