]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SONARPLUGINS-1373 Fix wrong attributes for directories inside sonar-runner zip archive
authorEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 15 Sep 2011 21:02:47 +0000 (21:02 +0000)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Thu, 15 Sep 2011 21:02:47 +0000 (21:02 +0000)
pom.xml

diff --git a/pom.xml b/pom.xml
index 152faa80c9b3ce9924d42e315dda76516e5869b5..888adcc30693fbe291a13ef13a239e75370ec91b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
   <artifactId>sonar-runner</artifactId>
   <version>1.2-SNAPSHOT</version>
   <name>Sonar Standalone Runner</name>
-  
+
   <url>http://docs.codehaus.org/display/SONAR/Sonar+Standalone+Runner</url>
   <inceptionYear>2011</inceptionYear>
   <organization>
               <descriptors>
                 <descriptor>${basedir}/assembly.xml</descriptor>
               </descriptors>
+              <!-- TODO archiverConfig should be declared in parent POM - http://jira.codehaus.org/browse/SONARPLUGINS-1374 -->
+              <archiverConfig>
+                <!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY-422 -->
+                <!-- 420(dec) = 644(oct) -->
+                <fileMode>420</fileMode>
+                <!-- 493(dec) = 755(oct) -->
+                <directoryMode>493</directoryMode>
+                <defaultDirectoryMode>493</defaultDirectoryMode>
+              </archiverConfig>
             </configuration>
           </execution>
         </executions>