aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-findbugs-plugin/pom.xml
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-10-18 14:48:32 +0000
committerGodin <mandrikov@gmail.com>2010-10-18 14:48:32 +0000
commit7e212fe31cf53def323428e7c7ac35938f4ca691 (patch)
treee5a5ef30b1ab964a09557659f6638c804135a282 /plugins/sonar-findbugs-plugin/pom.xml
parent975d1f30ac58bb49867d0552e922a1f20e5682e7 (diff)
downloadsonarqube-7e212fe31cf53def323428e7c7ac35938f4ca691.tar.gz
sonarqube-7e212fe31cf53def323428e7c7ac35938f4ca691.zip
SONAR-1772: Remove the use of the Maven Findbugs plugin to directly pilot the Findbugs library
Diffstat (limited to 'plugins/sonar-findbugs-plugin/pom.xml')
-rw-r--r--plugins/sonar-findbugs-plugin/pom.xml42
1 files changed, 40 insertions, 2 deletions
diff --git a/plugins/sonar-findbugs-plugin/pom.xml b/plugins/sonar-findbugs-plugin/pom.xml
index e5a6a2de718..22c29a476a9 100644
--- a/plugins/sonar-findbugs-plugin/pom.xml
+++ b/plugins/sonar-findbugs-plugin/pom.xml
@@ -17,11 +17,50 @@
<findbugs.version>1.3.9</findbugs.version>
</properties>
+ <dependencyManagement>
+ <!-- Change versions for dependencies provided by sonar-plugin-api -->
+ <dependencies>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.6.2</version>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.6.0</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-plugin-api</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>${findbugs.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.sonar</groupId>
@@ -63,12 +102,11 @@
<plugin>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
- <extensions>true</extensions>
<configuration>
- <pluginKey>findbugs</pluginKey>
<pluginName>Findbugs</pluginName>
<pluginDescription><![CDATA[Analyze Java code with <a href="http://findbugs.sourceforge.net/">Findbugs</a> ${findbugs.version}.]]></pluginDescription>
<pluginClass>org.sonar.plugins.findbugs.FindbugsPlugin</pluginClass>
+ <useChildFirstClassLoader>true</useChildFirstClassLoader>
</configuration>
</plugin>
<plugin>