aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-09-07 15:23:27 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-09-13 15:50:55 +0200
commit46cea1eed83a0abe5b1fd7f50efb6f3b367ed43b (patch)
tree77c62cc14d677c34e33576cbcad329bce0648b86 /sonar-application
parentbc792b361a54b02e89fbcb1f22a7c90391bf2d53 (diff)
downloadsonarqube-46cea1eed83a0abe5b1fd7f50efb6f3b367ed43b.tar.gz
sonarqube-46cea1eed83a0abe5b1fd7f50efb6f3b367ed43b.zip
SONAR-9587 exclude non used ES modules from distribution zip
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/assembly.xml6
-rw-r--r--sonar-application/pom.xml4
2 files changed, 8 insertions, 2 deletions
diff --git a/sonar-application/assembly.xml b/sonar-application/assembly.xml
index 16e91b4d690..a2122e2ebff 100644
--- a/sonar-application/assembly.xml
+++ b/sonar-application/assembly.xml
@@ -179,6 +179,12 @@
<exclude>**/*.sh</exclude>
<exclude>**/ant</exclude>
<exclude>**/antRun</exclude>
+ <!--exclude ES modules by default in the distribution that we don't use-->
+ <exclude>elasticsearch/modules/lang-expression/</exclude>
+ <exclude>elasticsearch/modules/lang-groovy/</exclude>
+ <exclude>elasticsearch/modules/lang-mustache/</exclude>
+ <exclude>elasticsearch/modules/lang-painless/</exclude>
+ <exclude>elasticsearch/modules/transport-netty3/</exclude>
</excludes>
<fileMode>0644</fileMode>
</fileSet>
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index 709e73367ad..515f206f3e8 100644
--- a/sonar-application/pom.xml
+++ b/sonar-application/pom.xml
@@ -240,8 +240,8 @@
<configuration>
<rules>
<requireFilesSize>
- <minsize>165000000</minsize>
- <maxsize>180000000</maxsize>
+ <minsize>160000000</minsize>
+ <maxsize>175000000</maxsize>
<files>
<file>${project.build.directory}/sonarqube-${project.version}.zip</file>
</files>