HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final
This commit is contained in:
parent
ff565fddb0
commit
463decd245
|
@ -8,11 +8,15 @@ dependencies {
|
||||||
compile project( ':hibernate-core' )
|
compile project( ':hibernate-core' )
|
||||||
compile( libraries.c3p0 )
|
compile( libraries.c3p0 )
|
||||||
|
|
||||||
|
testCompile project( ':hibernate-testing' )
|
||||||
|
|
||||||
testCompile( libraries.validator ) {
|
testCompile( libraries.validator ) {
|
||||||
// for test runtime
|
// for test runtime
|
||||||
transitive = true
|
transitive = true
|
||||||
}
|
}
|
||||||
testCompile project( ':hibernate-testing' )
|
// EL libraries are provided scope in Validator
|
||||||
|
testRuntime( libraries.expression_language_api )
|
||||||
|
testRuntime( libraries.expression_language_impl )
|
||||||
}
|
}
|
||||||
|
|
||||||
mavenPom {
|
mavenPom {
|
||||||
|
|
|
@ -36,16 +36,19 @@ dependencies {
|
||||||
testCompile( libraries.jandex )
|
testCompile( libraries.jandex )
|
||||||
testCompile( libraries.classmate )
|
testCompile( libraries.classmate )
|
||||||
testCompile( libraries.mockito )
|
testCompile( libraries.mockito )
|
||||||
|
|
||||||
testCompile( libraries.validator ) {
|
testCompile( libraries.validator ) {
|
||||||
// for test runtime
|
// for test runtime
|
||||||
transitive = true
|
transitive = true
|
||||||
}
|
}
|
||||||
|
testRuntime( libraries.expression_language_api )
|
||||||
|
testRuntime( libraries.expression_language_impl )
|
||||||
|
|
||||||
// for testing stored procedure support
|
// for testing stored procedure support
|
||||||
testCompile( libraries.derby )
|
testCompile( libraries.derby )
|
||||||
|
|
||||||
testRuntime( 'jaxen:jaxen:1.1' )
|
testRuntime( 'jaxen:jaxen:1.1' )
|
||||||
testRuntime( libraries.javassist )
|
testRuntime( libraries.javassist )
|
||||||
testRuntime( libraries.unified_el )
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mavenPom {
|
mavenPom {
|
||||||
|
|
|
@ -15,6 +15,7 @@ ext {
|
||||||
bytemanVersion = '2.1.2'
|
bytemanVersion = '2.1.2'
|
||||||
infinispanVersion = '7.2.1.Final'
|
infinispanVersion = '7.2.1.Final'
|
||||||
jnpVersion = '5.0.6.CR1'
|
jnpVersion = '5.0.6.CR1'
|
||||||
|
elVersion = '2.2.4'
|
||||||
|
|
||||||
libraries = [
|
libraries = [
|
||||||
// Ant
|
// Ant
|
||||||
|
@ -69,11 +70,9 @@ ext {
|
||||||
//Maven plugin framework
|
//Maven plugin framework
|
||||||
maven_plugin: 'org.apache.maven:maven-plugin-api:3.0.5',
|
maven_plugin: 'org.apache.maven:maven-plugin-api:3.0.5',
|
||||||
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
|
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
|
||||||
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
|
|
||||||
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
|
||||||
|
|
||||||
// logging for testing
|
|
||||||
log4j: "log4j:log4j:1.2.17",
|
log4j: "log4j:log4j:1.2.17",
|
||||||
junit: "junit:junit:${junitVersion}",
|
junit: "junit:junit:${junitVersion}",
|
||||||
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
|
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
|
||||||
|
@ -81,13 +80,17 @@ ext {
|
||||||
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
|
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
|
||||||
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
|
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
|
||||||
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
|
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
|
||||||
validator: 'org.hibernate:hibernate-validator:5.0.1.Final',
|
|
||||||
h2: "com.h2database:h2:${h2Version}",
|
h2: "com.h2database:h2:${h2Version}",
|
||||||
derby: "org.apache.derby:derby:10.9.1.0",
|
derby: "org.apache.derby:derby:10.9.1.0",
|
||||||
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
|
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
|
||||||
xapool: "com.experlog:xapool:1.5.0",
|
xapool: "com.experlog:xapool:1.5.0",
|
||||||
mockito: 'org.mockito:mockito-core:1.9.0',
|
mockito: 'org.mockito:mockito-core:1.9.0',
|
||||||
|
|
||||||
|
validator: 'org.hibernate:hibernate-validator:5.2.0.CR1',
|
||||||
|
// 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}",
|
||||||
|
|
||||||
// required by Hibernate Validator at test runtime
|
// required by Hibernate Validator at test runtime
|
||||||
unified_el: "org.glassfish:javax.el:3.0-b07",
|
unified_el: "org.glassfish:javax.el:3.0-b07",
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue