HBASE-4923 [packaging] Assembly should make only executables executable (docs should not be executable)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1213108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-11 23:38:42 +00:00
parent ac1657ba59
commit 54c3a0a530
1 changed files with 16 additions and 1 deletions

View File

@ -41,17 +41,24 @@
</fileSet>
<fileSet>
<directory>src</directory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>conf</directory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>bin</directory>
<fileMode>755</fileMode>
<fileMode>0755</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>src/main/ruby</directory>
<outputDirectory>lib/ruby</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>target</directory>
@ -60,14 +67,20 @@
<include>${project.build.finalName}.jar</include>
<include>${project.build.finalName}-tests.jar</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>target/hbase-webapps</directory>
<outputDirectory>hbase-webapps</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>target/site</directory>
<outputDirectory>docs</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0644</directoryMode>
</fileSet>
<fileSet>
<directory>src/packages</directory>
@ -86,6 +99,8 @@
<excludes>
<exclude>org.apache.hbase:hbase</exclude>
</excludes>
<fileMode>0644</fileMode>
<directoryMode>0644</directoryMode>
</dependencySet>
</dependencySets>
</assembly>