aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-01-09 13:14:00 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-01-09 13:15:07 +0400
commite26f40aecb62761069f1e60aa132c0b68c6c1f97 (patch)
treee926c5acadeb283a229a7073d98c2e5293b8ef81
parente517755fa01cb91a3bb7160b4c06e1ede56c248d (diff)
downloadsonarqube-e26f40aecb62761069f1e60aa132c0b68c6c1f97.tar.gz
sonarqube-e26f40aecb62761069f1e60aa132c0b68c6c1f97.zip
SONAR-3150 Lock size of email-notifications plugin to prevent regressions
-rw-r--r--plugins/sonar-email-notifications-plugin/pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/sonar-email-notifications-plugin/pom.xml b/plugins/sonar-email-notifications-plugin/pom.xml
index c588e344795..fbfc9c7b2e4 100644
--- a/plugins/sonar-email-notifications-plugin/pom.xml
+++ b/plugins/sonar-email-notifications-plugin/pom.xml
@@ -58,6 +58,30 @@
<useChildFirstClassLoader>true</useChildFirstClassLoader>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-plugin-size</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>verify</phase>
+ <configuration>
+ <rules>
+ <requireFilesSize>
+ <maxsize>530000</maxsize>
+ <minsize>510000</minsize>
+ <files>
+ <file>${project.build.directory}/${project.build.finalName}.jar</file>
+ </files>
+ </requireFilesSize>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>