You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/07/31 15:48:23 UTC

[5/6] git commit: Prevent swagger from importing slf4j

Prevent swagger from importing slf4j

Without this, there will be "multiple SLF4J bindings" exceptions


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/d3407e3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/d3407e3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/d3407e3c

Branch: refs/heads/master
Commit: d3407e3ce07c49fb5f70a5dcaced7842ffa8dc5f
Parents: fd067dc
Author: Richard Downer <ri...@apache.org>
Authored: Tue Jul 22 12:16:36 2014 +0100
Committer: Richard Downer <ri...@apache.org>
Committed: Thu Jul 31 13:23:07 2014 +0100

----------------------------------------------------------------------
 pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/d3407e3c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 82505bf..ec3b713 100644
--- a/pom.xml
+++ b/pom.xml
@@ -344,6 +344,12 @@
                 <groupId>com.wordnik</groupId>
                 <artifactId>swagger-core_2.9.1</artifactId>
                 <version>${swagger.version}</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>org.slf4j</groupId>
+                        <artifactId>slf4j-log4j12</artifactId>
+                    </exclusion>
+                </exclusions>
             </dependency>
             <dependency>
                 <groupId>com.wordnik</groupId>