HHH-6315 Removing slf4j dependency and upgrading Validator version

This commit is contained in:
Hardy Ferentschik 2012-08-03 16:20:16 +02:00
parent 90c0791e03
commit 0ad058f69f
2 changed files with 4 additions and 14 deletions

View File

@ -48,7 +48,6 @@ idea {
// build a map of the dependency artifacts to use. Allows centralized definition of the version of artifacts to
// use. In that respect it serves a role similar to <dependencyManagement> in Maven
slf4jVersion = '1.6.1'
junitVersion = '4.10'
h2Version = '1.2.145'
bytemanVersion = '1.5.2'
@ -91,12 +90,7 @@ libraries = [
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
// logging for testing
slf4j_api: "org.slf4j:slf4j-api:${slf4jVersion}",
slf4j_log4j12: "org.slf4j:slf4j-log4j12:${slf4jVersion}",
jcl_slf4j: "org.slf4j:jcl-over-slf4j:${slf4jVersion}",
jcl_api: 'commons-logging:commons-logging-api:99.0-does-not-exist',
jcl: 'commons-logging:commons-logging:99.0-does-not-exist',
log4j: 'log4j:log4j:1.2.16',
junit: "junit:junit:${junitVersion}",
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
@ -105,7 +99,7 @@ libraries = [
jpa_modelgen: 'org.hibernate:hibernate-jpamodelgen:1.2.0.Final',
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
validator: 'org.hibernate:hibernate-validator:4.2.0.Final',
validator: 'org.hibernate:hibernate-validator:4.3.0.Final',
h2: "com.h2database:h2:${h2Version}"
]
@ -157,11 +151,7 @@ subprojects { subProject ->
testCompile( libraries.byteman_install )
testCompile( libraries.byteman_bmunit )
testCompile files( toolsJar )
testRuntime( libraries.slf4j_api )
testRuntime( libraries.slf4j_log4j12 )
testRuntime( libraries.jcl_slf4j )
testRuntime( libraries.jcl_api )
testRuntime( libraries.jcl )
testRuntime( libraries.log4j )
testRuntime( libraries.javassist )
testRuntime( libraries.h2 )
jbossLoggingTool( libraries.logging_processor )

View File

@ -79,7 +79,7 @@ task buildTutorialZip(type: Zip) {
from 'src/main/docbook/quickstart/tutorials'
expand(
version: project.version,
slf4j: parent.slf4jVersion,
slf4j: '1.6.1',
junit: parent.junitVersion,
h2: parent.h2Version
)