nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

Bundling of SLF4J libraries causes collisions #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using jcouchdb in projects which themselves uses SLF4J libraries (including 
logback) will most likely 
casuse "Class path contains multiple SLF4J bindings" 

See http://www.slf4j.org/codes.html#multiple_bindings

Original issue reported on code.google.com by marten.g...@gmail.com on 3 May 2010 at 10:02

GoogleCodeExporter commented 8 years ago
Is this a maven issue? because otherwise, I am not copying libraries anywhere. 
The
source just contains the slf4j jars because they're needed for it to be 
runnable. 

Original comment by ff...@gmx.de on 3 May 2010 at 10:10

GoogleCodeExporter commented 8 years ago
Ah, yes it's a Maven issue.

Original comment by marten.g...@gmail.com on 3 May 2010 at 10:51

GoogleCodeExporter commented 8 years ago
Do you have any idea how to solve this issue? My maven-fu is superficial at 
best. 

Original comment by ff...@gmx.de on 14 May 2010 at 12:11

GoogleCodeExporter commented 8 years ago
added a <scope>test</scope> to the depdency which limits the dependency to test 
only.

Original comment by ff...@gmx.de on 11 Sep 2010 at 9:29