You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2016/03/24 20:55:58 UTC

svn commit: r1736497 - /incubator/log4cxx/trunk/src/assembly/source.xml

Author: tschoening
Date: Thu Mar 24 19:55:58 2016
New Revision: 1736497

URL: http://svn.apache.org/viewvc?rev=1736497&view=rev
Log:
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

Modified:
    incubator/log4cxx/trunk/src/assembly/source.xml

Modified: incubator/log4cxx/trunk/src/assembly/source.xml
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/assembly/source.xml?rev=1736497&r1=1736496&r2=1736497&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/assembly/source.xml (original)
+++ incubator/log4cxx/trunk/src/assembly/source.xml Thu Mar 24 19:55:58 2016
@@ -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>