aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-05-05 00:14:41 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-05-05 00:22:51 +0400
commit032463ff157a28c586d1801b0516a55e1704827b (patch)
treed65763acb826a5d81ad2ab40f18a756300e85645
parentcd2781c7d4614adaf898017a5743b28aab79066f (diff)
downloadsonarqube-032463ff157a28c586d1801b0516a55e1704827b.tar.gz
sonarqube-032463ff157a28c586d1801b0516a55e1704827b.zip
Reduce duplication by moving part of configuration of maven-assembly-plugin to parent POM
-rw-r--r--pom.xml10
-rw-r--r--samples/pom.xml11
-rw-r--r--sonar-application/pom.xml8
3 files changed, 11 insertions, 18 deletions
diff --git a/pom.xml b/pom.xml
index a77dfc29f7f..63566a08a17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,6 +130,16 @@
<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>
diff --git a/samples/pom.xml b/samples/pom.xml
index 34f0baa72dc..a6069f570c9 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -41,19 +41,10 @@
<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>
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index a2843995019..21245498e17 100644
--- a/sonar-application/pom.xml
+++ b/sonar-application/pom.xml
@@ -26,14 +26,6 @@
<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>