diff options
author | tschoening <tschoening@13f79535-47bb-0310-9956-ffa450edef68> | 2016-03-24 19:55:58 +0000 |
---|---|---|
committer | tschoening <tschoening@13f79535-47bb-0310-9956-ffa450edef68> | 2016-03-24 19:55:58 +0000 |
commit | 25f6fcfe4f3ed3eb249cf5b5b5be1ad21fc6c3dc (patch) | |
tree | 8bf1d1f72d72323aa918a83419f65b878506c4e5 | |
parent | d1e52b4e3796886e8b9748caf538a792921b799c (diff) | |
download | log4cxx-25f6fcfe4f3ed3eb249cf5b5b5be1ad21fc6c3dc.tar.gz |
For some reason, tars produced with "mvn site assembly:assembly" contained files which were all executable, even NOTICE and such plain text files. This is wrong of course, but shouldn't have been the case, because regarding the maven documentation, 0644 is the default unless specified otherwise. I make sure now by defining all the permissions I want.
https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1736497 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/assembly/source.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/assembly/source.xml b/src/assembly/source.xml index bdc7e94..59a9296 100644 --- a/src/assembly/source.xml +++ b/src/assembly/source.xml @@ -83,6 +83,8 @@ <exclude>**/.deps/**</exclude> <exclude>**/.svn</exclude> </excludes> + <fileMode>0644</fileMode> + <directoryMode>0755</directoryMode> </fileSet> <fileSet> <directory>target</directory> @@ -97,6 +99,7 @@ <exclude>apr*.ds*</exclude> <exclude>xml.ds*</exclude> </excludes> + <fileMode>0644</fileMode> </fileSet> </fileSets> </assembly> |