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-findbugs-plugin/pom.xml | 79 +++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 32 deletions(-) (limited to 'plugins/sonar-findbugs-plugin') diff --git a/plugins/sonar-findbugs-plugin/pom.xml b/plugins/sonar-findbugs-plugin/pom.xml index 74086f1b1c4..c25e0164383 100644 --- a/plugins/sonar-findbugs-plugin/pom.xml +++ b/plugins/sonar-findbugs-plugin/pom.xml @@ -17,54 +17,45 @@ 1.3.9 - - - - - - - xerces - xercesImpl - 2.6.2 - - - - + + - org.codehaus.sonar - sonar-plugin-api - provided + com.google.code.findbugs + findbugs + ${findbugs.version} - xalan - xalan - - - jaxen - jaxen + jdom + jdom - dom4j - dom4j + xml-apis + xml-apis xerces xercesImpl + + xom + xom + + - com.google.code.findbugs - findbugs - ${findbugs.version} + org.codehaus.sonar + sonar-plugin-api + provided + - xalan - xalan + dom4j + dom4j @@ -131,6 +122,30 @@ true + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-plugin-size + + enforce + + verify + + + + 4500000 + 4000000 + + ${project.build.directory}/${project.build.finalName}.jar + + + + + + + -- cgit v1.2.3