HHH-12164 Upgrade Hibernate Validator used for testing to 6.0.7.Final

This commit is contained in:
Guillaume Smet 2017-12-14 10:20:02 +01:00 committed by Andrea Boriero
parent 574378dc6f
commit 8e25e7f350
4 changed files with 10 additions and 12 deletions

View File

@ -15,8 +15,7 @@ dependencies {
transitive = true
}
// EL libraries are provided scope in Validator
testRuntime( libraries.expression_language_api )
testRuntime( libraries.expression_language_impl )
testRuntime( libraries.expression_language )
if (db.equalsIgnoreCase("oracle")) {
dependencies {
@ -59,4 +58,4 @@ mavenPom {
def osgiDescription() {
return mavenPom.description
}
}

View File

@ -94,8 +94,7 @@ dependencies {
testCompile( libraries.derby )
testRuntime( "org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:1.0.0.Final" )
testRuntime( libraries.expression_language_api )
testRuntime( libraries.expression_language_impl )
testRuntime( libraries.expression_language )
testRuntime( 'jaxen:jaxen:1.1' )
testRuntime( libraries.javassist )
testRuntime( libraries.byteBuddy )
@ -243,4 +242,4 @@ test {
beforeTest { descriptor ->
//println "Starting test: " + descriptor
}
}
}

View File

@ -35,8 +35,7 @@ dependencies {
transitive = true
}
testRuntime( libraries.expression_language_api )
testRuntime( libraries.expression_language_impl )
testRuntime( libraries.expression_language )
testRuntime('jaxen:jaxen:1.1')
testRuntime(libraries.javassist)

View File

@ -14,7 +14,9 @@ ext {
bytemanVersion = '4.0.0-BETA5'
infinispanVersion = '8.2.5.Final'
jnpVersion = '5.0.6.CR1'
elVersion = '2.2.4'
hibernateValidatorVersion = '6.0.7.Final'
elVersion = '3.0.1-b08'
cdiVersion = '2.0'
weldVersion = '3.0.0.Final'
@ -109,10 +111,9 @@ ext {
mockito: 'org.mockito:mockito-core:2.7.5',
mockito_inline: 'org.mockito:mockito-inline:2.7.5',
validator: 'org.hibernate:hibernate-validator:5.2.4.Final',
validator: "org.hibernate.validator:hibernate-validator:${hibernateValidatorVersion}",
// EL required by Hibernate Validator at test runtime
expression_language_api: "javax.el:javax.el-api:${elVersion}",
expression_language_impl: "org.glassfish.web:javax.el:${elVersion}",
expression_language: "org.glassfish:javax.el:${elVersion}",
// required by Hibernate Validator at test runtime
unified_el: "org.glassfish:javax.el:3.0-b07",