blob: 8010c915144cbb1ee71dc4d152a776521ddda20b (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<id>distribution</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<dependencySets>
<!-- Libraries -->
<dependencySet>
<outputDirectory>lib</outputDirectory>
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
<exclude>org.codehaus.sonar:sonar-server</exclude>
<exclude>mysql:mysql-connector-java</exclude>
<exclude>postgresql:postgresql</exclude>
<exclude>net.sourceforge.jtds:jtds</exclude>
<exclude>org.codehaus.sonar.plugins:*</exclude>
<exclude>org.codehaus.sonar-plugins.*:*</exclude>
<exclude>org.codehaus.sonar:sonar-batch-maven-compat</exclude>
</excludes>
</dependencySet>
<dependencySet>
<outputDirectory>lib/batch</outputDirectory>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.codehaus.sonar:sonar-batch-maven-compat</include>
</includes>
</dependencySet>
<!-- Plugins -->
<dependencySet>
<outputDirectory>lib/core-plugins</outputDirectory>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.codehaus.sonar.plugins:*</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>lib/bundled-plugins</outputDirectory>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.codehaus.sonar-plugins.*:sonar-*-plugin</include>
</includes>
</dependencySet>
<!-- Server -->
<dependencySet>
<outputDirectory>web</outputDirectory>
<includes>
<include>org.codehaus.sonar:sonar-server</include>
</includes>
<unpack>true</unpack>
</dependencySet>
<!-- JDBC drivers -->
<dependencySet>
<outputDirectory>extensions/jdbc-driver/mysql/</outputDirectory>
<includes>
<include>mysql:mysql-connector-java</include>
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
<dependencySet>
<outputDirectory>extensions/jdbc-driver/postgresql/</outputDirectory>
<includes>
<include>postgresql:postgresql</include>
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
<dependencySet>
<outputDirectory>extensions/jdbc-driver/mssql/</outputDirectory>
<includes>
<include>net.sourceforge.jtds:jtds</include>
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
</dependencySet>
<!-- Java Service Wrapper -->
<dependencySet>
<outputDirectory>bin</outputDirectory>
<includes>
<include>org.sonatype.jsw-binaries:jsw-binaries</include>
</includes>
<unpack>true</unpack>
<scope>provided</scope>
<unpackOptions>
<excludes>
<exclude>**/app</exclude>
<exclude>**/*.bat</exclude>
<exclude>**/sample*/**</exclude>
<exclude>**/macosx-universal-32/**</exclude>
</excludes>
</unpackOptions>
<fileMode>0755</fileMode>
</dependencySet>
</dependencySets>
<fileSets>
<!-- Configuration Files -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>conf/**</include>
</includes>
<!-- See SONAR-2580 - for better readability of configuration files on Windows: -->
<lineEnding>dos</lineEnding>
<fileMode>0644</fileMode>
</fileSet>
<!-- Windows Scripts -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>**/*.bat</include>
<include>**/*.cmd</include>
</includes>
<lineEnding>dos</lineEnding>
<fileMode>0644</fileMode>
</fileSet>
<!-- Linux Scripts -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>**/*.sh</include>
<include>**/ant</include>
<include>**/antRun</include>
</includes>
<lineEnding>unix</lineEnding>
<fileMode>0755</fileMode>
</fileSet>
<!-- Other stuff -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>conf/**</exclude>
<exclude>**/*.bat</exclude>
<exclude>**/*.cmd</exclude>
<exclude>**/*.sh</exclude>
<exclude>**/ant</exclude>
<exclude>**/antRun</exclude>
</excludes>
<fileMode>0644</fileMode>
</fileSet>
<!-- Empty directories -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>extensions/jdbc-driver/oracle/</outputDirectory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>logs/</outputDirectory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
|