From 80b050925d66ee9270e3e846b1e8b25cf0660f84 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Sun, 8 Jan 2012 21:27:44 +0400 Subject: SONAR-3150 Reduce size of PMD and FindBugs plugins * Remove unused dependencies * Lock size with help of maven-enforcer-plugin to prevent future regressions --- plugins/sonar-pmd-plugin/pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'plugins/sonar-pmd-plugin/pom.xml') diff --git a/plugins/sonar-pmd-plugin/pom.xml b/plugins/sonar-pmd-plugin/pom.xml index d9bd2f22b0c..9ef0e735d59 100644 --- a/plugins/sonar-pmd-plugin/pom.xml +++ b/plugins/sonar-pmd-plugin/pom.xml @@ -42,6 +42,10 @@ ant ant + + xom + xom + @@ -91,6 +95,30 @@ org.sonar.plugins.pmd.PmdPlugin + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-plugin-size + + enforce + + verify + + + + 1500000 + 1000000 + + ${project.build.directory}/${project.build.finalName}.jar + + + + + + + -- cgit v1.2.3