peh / grails-babel-asset-pipeline

babel.js transformation for grails-asset-pipeline
7 stars 2 forks source link

Transitive plugin dependency exports logback-classic dependency #9

Open robertoschwald opened 8 years ago

robertoschwald commented 8 years ago

This clashes in Grails 2.x with SLF4j bindings:

 Error SLF4J: Class path contains multiple SLF4J bindings.
| Error SLF4J: Found binding in [jar:file:/Users/dx/.grails/wrapper/2.4.4/grails-2.4.4/dist/grails-plugin-log4j-2.4.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: Found binding in [jar:file:/Users/dx/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
| Error SLF4J: Actual binding is of type [org.slf4j.impl.GrailsSlf4jLoggerFactory]

Dependency tree:

+--- org.grails.plugins:babel-asset-pipeline:1.4.2
|    \--- net.errbuddy.plugins:babel-asset-pipeline:1.4.2
|         \--- ch.qos.logback:logback-classic:1.1.3
|              \--- ch.qos.logback:logback-core:1.1.3
robertoschwald commented 8 years ago

Using 1.4.5 would fix the issue, but does not work in Grails 2.x due to #11