Skip to content

Commit 463decd

Browse files
committed
HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final
1 parent ff565fd commit 463decd

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

hibernate-c3p0/hibernate-c3p0.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ dependencies {
88
compile project( ':hibernate-core' )
99
compile( libraries.c3p0 )
1010

11+
testCompile project( ':hibernate-testing' )
12+
1113
testCompile( libraries.validator ) {
1214
// for test runtime
1315
transitive = true
1416
}
15-
testCompile project( ':hibernate-testing' )
17+
// EL libraries are provided scope in Validator
18+
testRuntime( libraries.expression_language_api )
19+
testRuntime( libraries.expression_language_impl )
1620
}
1721

1822
mavenPom {

hibernate-core/hibernate-core.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,19 @@ dependencies {
3636
testCompile( libraries.jandex )
3737
testCompile( libraries.classmate )
3838
testCompile( libraries.mockito )
39+
3940
testCompile( libraries.validator ) {
4041
// for test runtime
4142
transitive = true
4243
}
44+
testRuntime( libraries.expression_language_api )
45+
testRuntime( libraries.expression_language_impl )
46+
4347
// for testing stored procedure support
4448
testCompile( libraries.derby )
4549

4650
testRuntime( 'jaxen:jaxen:1.1' )
4751
testRuntime( libraries.javassist )
48-
testRuntime( libraries.unified_el )
4952
}
5053

5154
mavenPom {

libraries.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ext {
1515
bytemanVersion = '2.1.2'
1616
infinispanVersion = '7.2.1.Final'
1717
jnpVersion = '5.0.6.CR1'
18+
elVersion = '2.2.4'
1819

1920
libraries = [
2021
// Ant
@@ -69,25 +70,27 @@ ext {
6970
//Maven plugin framework
7071
maven_plugin: 'org.apache.maven:maven-plugin-api:3.0.5',
7172
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
72-
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
7373

7474
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
7575

76-
// logging for testing
7776
log4j: "log4j:log4j:1.2.17",
7877
junit: "junit:junit:${junitVersion}",
7978
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
8079
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",
8180
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
8281
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
8382
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
84-
validator: 'org.hibernate:hibernate-validator:5.0.1.Final',
8583
h2: "com.h2database:h2:${h2Version}",
8684
derby: "org.apache.derby:derby:10.9.1.0",
8785
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
8886
xapool: "com.experlog:xapool:1.5.0",
8987
mockito: 'org.mockito:mockito-core:1.9.0',
9088

89+
validator: 'org.hibernate:hibernate-validator:5.2.0.CR1',
90+
// EL required by Hibernate Validator at test runtime
91+
expression_language_api: "javax.el:javax.el-api:${elVersion}",
92+
expression_language_impl: "org.glassfish.web:javax.el:${elVersion}",
93+
9194
// required by Hibernate Validator at test runtime
9295
unified_el: "org.glassfish:javax.el:3.0-b07",
9396

0 commit comments

Comments
 (0)