]> source.dussan.org Git - sonarqube.git/commitdiff
Reduce duplication by moving part of configuration of maven-assembly-plugin to parent POM
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 4 May 2011 20:14:41 +0000 (00:14 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 4 May 2011 20:22:51 +0000 (00:22 +0400)
pom.xml
samples/pom.xml
sonar-application/pom.xml

diff --git a/pom.xml b/pom.xml
index a77dfc29f7fe4b723e85af3934b1d1607fe0b7c4..63566a08a17a9d27e73dff41079fd374b048aba0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.2.1</version>
+          <configuration>
+            <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>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
index 34f0baa72dcf10703d597871a10581026a4b3233..a6069f570c9a880309b9830319654d4293b68773 100644 (file)
               <descriptors>
                 <descriptor>assembly.xml</descriptor>
               </descriptors>
-              <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>
       </plugin>
-
     </plugins>
   </build>
-</project>
\ No newline at end of file
+</project>
index a2843995019a682860a1b1267f4582ca0e874acb..21245498e175a2b1f8eafa0167aad1acd27eaae3 100644 (file)
               <descriptors>
                 <descriptor>assembly.xml</descriptor>
               </descriptors>
-              <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>