blob: f13e73354130766fd5c491fa697b95f94614a75b (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<id>linux-x64</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>sonar-scanner-${project.version}-linux-x64</baseDirectory>
<fileSets>
<!-- jre basic, except bin/ -->
<fileSet>
<directory>${unpack.dir}/linux-x64/${jre.dirname.linux}</directory>
<outputDirectory>jre</outputDirectory>
<excludes>
<exclude>bin/**</exclude>
<exclude>man/**</exclude>
<exclude>lib/jspawnhelper</exclude>
<exclude>lib/jexec</exclude>
<exclude>plugin/**</exclude>
</excludes>
</fileSet>
<!-- jre bin/java -->
<fileSet>
<directory>${unpack.dir}/linux-x64/${jre.dirname.linux}/bin</directory>
<outputDirectory>jre/bin</outputDirectory>
<includes>
<include>java</include>
</includes>
<fileMode>0755</fileMode>
</fileSet>
<!-- jre lib executable files -->
<fileSet>
<directory>${unpack.dir}/linux-x64/${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>
<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>
|