aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/assembly.xml
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-03-24 23:11:08 +0300
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-03-30 03:46:51 +0400
commitd40e548351976116800808778dc82b38f620f55e (patch)
tree894d2c6df0a70ef62aa732dccadd53904513b790 /sonar-application/assembly.xml
parent7ad1c679b192ad1f46299658eeb06904d2d4266f (diff)
downloadsonarqube-d40e548351976116800808778dc82b38f620f55e.tar.gz
sonarqube-d40e548351976116800808778dc82b38f620f55e.zip
SONAR-2300 Fix assembly
* Use CRLF for Windows and LF for Linix Scripts * Partially fix permissions
Diffstat (limited to 'sonar-application/assembly.xml')
-rw-r--r--sonar-application/assembly.xml74
1 files changed, 56 insertions, 18 deletions
diff --git a/sonar-application/assembly.xml b/sonar-application/assembly.xml
index 1c34fdfa226..324bc07cc1e 100644
--- a/sonar-application/assembly.xml
+++ b/sonar-application/assembly.xml
@@ -6,6 +6,7 @@
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<dependencySets>
+ <!-- Libraries -->
<dependencySet>
<outputDirectory>lib</outputDirectory>
<useTransitiveFiltering>true</useTransitiveFiltering>
@@ -18,6 +19,8 @@
<exclude>org.codehaus.sonar.plugins:*</exclude>
<exclude>org.codehaus.sonar.runtime:*</exclude>
</excludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
<dependencySet>
<outputDirectory>lib/deprecated-maven-plugin</outputDirectory>
@@ -25,30 +28,30 @@
<includes>
<include>org.codehaus.sonar.runtime:sonar-core-maven-plugin</include>
</includes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
-
- <dependencySet>
- <outputDirectory>lib/core-plugins</outputDirectory>
- <useTransitiveDependencies>false</useTransitiveDependencies>
- <includes>
- <include>org.codehaus.sonar.plugins:*</include>
- </includes>
- </dependencySet>
-
+ <!-- Plugins -->
<dependencySet>
<outputDirectory>lib/core-plugins</outputDirectory>
<useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.codehaus.sonar.plugins:*</include>
</includes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
+ <!-- Server -->
<dependencySet>
<outputDirectory>war/sonar-server</outputDirectory>
<includes>
<include>org.codehaus.sonar:sonar-server</include>
</includes>
<unpack>true</unpack>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
+ <!-- JDBC drivers -->
<dependencySet>
<outputDirectory>extensions/jdbc-driver/mysql/</outputDirectory>
<includes>
@@ -56,6 +59,8 @@
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
<dependencySet>
<outputDirectory>extensions/jdbc-driver/derby/</outputDirectory>
@@ -64,6 +69,8 @@
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
<dependencySet>
<outputDirectory>extensions/jdbc-driver/postgresql/</outputDirectory>
@@ -72,6 +79,8 @@
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
<dependencySet>
<outputDirectory>extensions/jdbc-driver/mssql/</outputDirectory>
@@ -80,7 +89,10 @@
</includes>
<unpack>false</unpack>
<scope>runtime</scope>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</dependencySet>
+ <!-- Java Service Wrapper -->
<dependencySet>
<outputDirectory>bin</outputDirectory>
<includes>
@@ -96,23 +108,49 @@
</excludes>
</unpackOptions>
</dependencySet>
- <dependencySet>
- <outputDirectory>lib</outputDirectory>
- <includes>
- <include>tanukisoft:wrapper</include>
- </includes>
- <unpack>false</unpack>
- <scope>runtime</scope>
- </dependencySet>
</dependencySets>
<fileSets>
+ <!-- Windows Scripts -->
+ <fileSet>
+ <directory>src/main/assembly</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>**/*.bat</include>
+ <include>**/*.cmd</include>
+ </includes>
+ <lineEnding>dos</lineEnding>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </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>
<directoryMode>0755</directoryMode>
</fileSet>
+ <!-- Other stuff -->
+ <fileSet>
+ <directory>src/main/assembly</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>**/*.bat</exclude>
+ <exclude>**/*.cmd</exclude>
+ <exclude>**/*.sh</exclude>
+ <exclude>**/ant</exclude>
+ <exclude>**/antRun</exclude>
+ </excludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <!-- Empty directories -->
<fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>extensions/jdbc-driver/oracle/</outputDirectory>
@@ -120,7 +158,7 @@
<exclude>**/*</exclude>
</excludes>
</fileSet>
- <fileSet>
+ <fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>logs/</outputDirectory>
<excludes>