Skip to content

Commit

Permalink
Upgrade slf4j-api and -log4j12 dependencies to 1.6.1
Browse files Browse the repository at this point in the history
Previously depending on 1.5.10 in certain locations, which caused
NoClassDefFoundErrors in EhCacheCacheTests and other tests due to
mismatches between slf4j -api and -log4j12 versions.

With the exception of one transitive dependency via Hibernate 3.3.1.GA,
all slf4j dependencies are now pegged at 1.6.1 (and all tests pass).
  • Loading branch information
cbeams committed Apr 17, 2012
1 parent b09be84 commit fdded07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Expand Up @@ -17,7 +17,6 @@ configure(allprojects) {
sourceCompatibility=1.5
targetCompatibility=1.5

ext.slf4jLog4jVersion = '1.5.10'
ext.aspectjVersion = '1.6.12'

[compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:none']
Expand Down Expand Up @@ -219,7 +218,7 @@ project('spring-context') {
}
compile("joda-time:joda-time:1.6", optional)
compile("net.sf.ehcache:ehcache-core:2.0.0", optional)
compile("org.slf4j:slf4j-api:${slf4jLog4jVersion}", optional)
compile("org.slf4j:slf4j-api:1.6.1", optional)
compile("org.codehaus.jsr166-mirror:jsr166:1.7.0", provided)
testCompile "commons-dbcp:commons-dbcp:1.2.2"
testCompile("javax.xml:jaxrpc-api:1.1")
Expand Down Expand Up @@ -389,7 +388,7 @@ project('spring-webmvc') {
}
compile("javax.servlet:jstl:1.1.2", provided)
compile("org.apache.tomcat:tomcat-servlet-api:7.0.8", provided) // servlet-api 3.0
testCompile("org.slf4j:slf4j-log4j12:${slf4jLog4jVersion}") {
testCompile("org.slf4j:slf4j-log4j12:1.6.1") {
exclude group: 'log4j', module: 'log4j'
}
testCompile "rhino:js:1.7R1"
Expand Down

0 comments on commit fdded07

Please sign in to comment.