diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-15 23:32:14 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-19 12:02:10 +0100 |
commit | 7cf57c2495bd16c2e7056c0ff47fc962a8ff432f (patch) | |
tree | a4a0124029e70fbcc45d00429da495d0058b7a49 /sonar-plugin-api/pom.xml | |
parent | 6658f59ae96921016438eeeab136a4eb4e5703af (diff) | |
download | sonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.tar.gz sonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.zip |
SONAR-5700 New logging API to remove coupling on SLF4J
Diffstat (limited to 'sonar-plugin-api/pom.xml')
-rw-r--r-- | sonar-plugin-api/pom.xml | 48 |
1 files changed, 35 insertions, 13 deletions
diff --git a/sonar-plugin-api/pom.xml b/sonar-plugin-api/pom.xml index 6eeb77a9630..fef2a0bed26 100644 --- a/sonar-plugin-api/pom.xml +++ b/sonar-plugin-api/pom.xml @@ -34,10 +34,22 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-colorizer</artifactId> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-duplications</artifactId> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> @@ -46,6 +58,12 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-squid</artifactId> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> </dependency> <!-- TODO we can't remove hibernate-annotations, because currently it's used @@ -54,11 +72,16 @@ <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> + <scope>provided</scope> <exclusions> <exclusion> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> </exclusions> </dependency> @@ -96,18 +119,12 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl-over-slf4j</artifactId> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>log4j-over-slf4j</artifactId> + <optional>true</optional> </dependency> <dependency> <groupId>xpp3</groupId> <artifactId>xpp3</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.woodstox</groupId> @@ -133,6 +150,16 @@ <version>3.0.1</version> <optional>true</optional> </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <optional>true</optional> + </dependency> <!-- unit tests --> <dependency> @@ -141,11 +168,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <scope>test</scope> |