Browse Source

SONAR-6809 fix child-first classloader strategy

sonar-java-api was removed from root <dependencyManagement> (5a1a0e3fbe)
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.
tags/5.3-RC1
Simon Brandhof 8 years ago
parent
commit
c93d2bf659
1 changed files with 13 additions and 2 deletions
  1. 13
    2
      sonar-plugin-api-deps/pom.xml

+ 13
- 2
sonar-plugin-api-deps/pom.xml View File

@@ -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>


Loading…
Cancel
Save