summaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index 93c3f718267..5c7123c128c 100644
--- a/sonar-application/pom.xml
+++ b/sonar-application/pom.xml
@@ -47,6 +47,30 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-distribution-size</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>verify</phase>
+ <configuration>
+ <rules>
+ <requireFilesSize>
+ <maxsize>54000000</maxsize>
+ <minsize>52000000</minsize>
+ <files>
+ <file>${project.build.directory}/sonar-${project.version}.zip</file>
+ </files>
+ </requireFilesSize>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
@@ -218,4 +242,5 @@
</build>
</profile>
</profiles>
+
</project>