diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-01-09 13:14:00 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-01-09 13:15:07 +0400 |
commit | e26f40aecb62761069f1e60aa132c0b68c6c1f97 (patch) | |
tree | e926c5acadeb283a229a7073d98c2e5293b8ef81 | |
parent | e517755fa01cb91a3bb7160b4c06e1ede56c248d (diff) | |
download | sonarqube-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.xml | 24 |
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> |