Fixing file permissions in assembly tar.  Some permissions were not
being set explicitly which means the value used could change depending
on where the assembly was built. Permissions are now being set to fix
this.

(cherry picked from commit 43d493e527)
This commit is contained in:
Christopher L. Shannon (cshannon) 2016-01-07 15:33:46 +00:00
parent 26665fa1b9
commit 2f062488c3
1 changed files with 23 additions and 0 deletions

View File

@ -30,6 +30,8 @@
<include>conf/*.cert</include>
<include>webapps/*.ico</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- lets copy the portions of the admin web app we need - as we can't exclude stuff from the WAR -->
@ -39,6 +41,8 @@
<includes>
<include>*</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/src/main/webapp/styles</directory>
@ -46,6 +50,8 @@
<includes>
<include>*</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/src/main/webapp</directory>
@ -54,6 +60,8 @@
<exclude>**/activemq.xml</exclude>
<exclude>**/webconsole-embedded.xml</exclude>
</excludes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/target/classes</directory>
@ -61,6 +69,8 @@
<includes>
<include>**/*.class</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- the web demo -->
@ -71,24 +81,34 @@
<exclude>**/activemq.xml</exclude>
<exclude>**/webconsole-embedded.xml</exclude>
</excludes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/src/main/webapp/styles/</directory>
<outputDirectory>/webapps-demo/demo/styles/</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/src/main/webapp/images/</directory>
<outputDirectory>/webapps-demo/demo/images/</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-web-console/src/main/webapp/js/</directory>
<outputDirectory>/webapps-demo/demo/js/</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<!-- the file server -->
<fileSet>
<directory>../activemq-fileserver/src/main/webapp</directory>
<outputDirectory>/webapps/fileserver</outputDirectory>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
<fileSet>
<directory>../activemq-fileserver/target/classes</directory>
@ -96,6 +116,8 @@
<includes>
<include>**/*.class</include>
</includes>
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
</fileSets>
@ -109,6 +131,7 @@
<includes>
<include>${pom.groupId}:activemq-run</include>
</includes>
<fileMode>0644</fileMode>
</dependencySet>
<dependencySet>