aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-deps
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-02 18:30:17 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-02 18:31:03 +0100
commitc93d2bf659c5fc869b05752789e2bb267a9decc5 (patch)
treeb9ba1608fbd2cbf4cff0e9bb74696859fbb415c9 /sonar-plugin-api-deps
parent9a62922f872af2d3dbbe514cd9c47137d66acded (diff)
downloadsonarqube-c93d2bf659c5fc869b05752789e2bb267a9decc5.tar.gz
sonarqube-c93d2bf659c5fc869b05752789e2bb267a9decc5.zip
SONAR-6809 fix child-first classloader strategy
sonar-java-api was removed from root <dependencyManagement> (5a1a0e3fbec92bbc8508cfc5165b2c6590666ce5) but not from sonar-plugin-api-deps. The exclusion of sonar-plugin-api was lost, so child-first classloader strategy loaded SonarPlugin class from plugin instead of core classloader.
Diffstat (limited to 'sonar-plugin-api-deps')
-rw-r--r--sonar-plugin-api-deps/pom.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/sonar-plugin-api-deps/pom.xml b/sonar-plugin-api-deps/pom.xml
index 44b1809cdba..9d0169ec1ea 100644
--- a/sonar-plugin-api-deps/pom.xml
+++ b/sonar-plugin-api-deps/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -12,7 +13,7 @@
<name>SonarQube :: Plugin API Dependencies</name>
<description>Deprecated transitive dependencies of sonar-plugin-api</description>
-
+
<dependencies>
<!--
@@ -132,6 +133,16 @@
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-java-api</artifactId>
<version>5.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-deprecated</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-plugin-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>