diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-29 10:29:04 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-05 09:54:04 +0200 |
commit | 0956511c8c9d6aa6639d4378f47d73877cdc18de (patch) | |
tree | c7a14388d2eec8a5f1f1d7d25fb48894ee4aae9f /sonar-plugin-api/pom.xml | |
parent | b1a02efd650918249cd828bd19f4ebf2118d8a79 (diff) | |
download | sonarqube-0956511c8c9d6aa6639d4378f47d73877cdc18de.tar.gz sonarqube-0956511c8c9d6aa6639d4378f47d73877cdc18de.zip |
SONAR-6370 isolate plugin classloader from core classes
Diffstat (limited to 'sonar-plugin-api/pom.xml')
-rw-r--r-- | sonar-plugin-api/pom.xml | 97 |
1 files changed, 57 insertions, 40 deletions
diff --git a/sonar-plugin-api/pom.xml b/sonar-plugin-api/pom.xml index 2930c541710..e200932a303 100644 --- a/sonar-plugin-api/pom.xml +++ b/sonar-plugin-api/pom.xml @@ -18,6 +18,11 @@ </properties> <dependencies> + + <!-- + The following artifacts are shaded and relocated in an internal package. + They are not visible by plugins + --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> @@ -27,6 +32,30 @@ <artifactId>guava</artifactId> </dependency> <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + </dependency> + + <!-- + The following artifacts are shaded but not relocated. They + are provided at runtime, so plugins can use them but + can not change their version. + Long-term target is to remove them from API. They should be + embedded by plugins. + --> + <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-check-api</artifactId> </dependency> @@ -50,23 +79,45 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-graph</artifactId> + </dependency> + + <!-- TODO to be clarified --> + <dependency> + <groupId>org.codehaus.woodstox</groupId> + <artifactId>woodstox-core-lgpl</artifactId> + <exclusions> + <exclusion> + <groupId>stax</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.codehaus.woodstox</groupId> + <artifactId>stax2-api</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.staxmate</groupId> + <artifactId>staxmate</artifactId> + </dependency> <dependency> <groupId>jfree</groupId> <artifactId>jfreechart</artifactId> <scope>provided</scope> </dependency> + + <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <scope>provided</scope> </dependency> - <dependency> - <groupId>org.codehaus.sonar</groupId> - <artifactId>sonar-graph</artifactId> - <!-- Set to provided to not be visible by plugins --> - <scope>provided</scope> - </dependency> + + <!-- TODO we can't remove hibernate-annotations, because currently it's used moreover it contains transitive dependency on dom4j, which is used in some plugins --> @@ -88,22 +139,6 @@ <dependency> - <groupId>commons-codec</groupId> - <artifactId>commons-codec</artifactId> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - </dependency> - <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <optional>true</optional> @@ -115,24 +150,6 @@ <scope>provided</scope> </dependency> <dependency> - <groupId>org.codehaus.woodstox</groupId> - <artifactId>woodstox-core-lgpl</artifactId> - <exclusions> - <exclusion> - <groupId>stax</groupId> - <artifactId>stax-api</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.codehaus.woodstox</groupId> - <artifactId>stax2-api</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.staxmate</groupId> - <artifactId>staxmate</artifactId> - </dependency> - <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.0.1</version> |