diff --git a/accsoft-nxcals-common/build.gradle b/accsoft-nxcals-common/build.gradle index 6e9602bae6ebeeee7574c69ab2a9c2aef57cb37e..7be440f6e947c674ed888f775fa24455a373ff84 100644 --- a/accsoft-nxcals-common/build.gradle +++ b/accsoft-nxcals-common/build.gradle @@ -46,10 +46,10 @@ dependencies { // https://mvnrepository.com/artifact/org.aspectj/aspectjrt compile group: 'org.aspectj', name: 'aspectjrt', version: aspectjVersion - compile group: 'org.hibernate', name: 'hibernate-validator', version: hibernateValidator - compile group: 'com.typesafe', name: 'config', version: typesafeConfigVersion + compile group: 'javax.validation', name: 'validation-api', version: javaxValidationApiVersion + // https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client compileOnly('org.apache.hadoop:hadoop-client:' + hadoopApacheVersion){ //Hadoop brings older artifact versions that we need to exclude diff --git a/accsoft-nxcals-service/build.gradle b/accsoft-nxcals-service/build.gradle index 58b4cff55c0f160d976a4f6c01e85d4f7664914c..a58b58155cca4f5ea2e8958470664f971bf8d1b0 100644 --- a/accsoft-nxcals-service/build.gradle +++ b/accsoft-nxcals-service/build.gradle @@ -40,6 +40,7 @@ dependencies { compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: log4jVersion compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: log4jVersion compile group: 'org.springframework.security.kerberos', name: 'spring-security-kerberos-web', version: springSecurityKerberosVersion + compile group: 'org.hibernate', name: 'hibernate-validator', version: hibernateValidator compile group: 'org.hibernate', name: 'hibernate-ehcache', version: hibernateVersion compile group: 'org.hibernate', name: 'hibernate-core', version: hibernateVersion diff --git a/gradle.properties b/gradle.properties index ecbb59a30e539026ff77273ece566dc028318bb0..b393d846d9e4d997ad797c59af5ccb6cec9165a8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -38,6 +38,7 @@ aspectjVersion=1.8.10 avroVersion=1.8.2 kafkaClientsVersion=0.10.1.0 typesafeConfigVersion=1.3.1 +javaxValidationApiVersion=2.0.0.Final hibernateVersion=5.2.10.Final hibernateValidator=6.0.4.Final dropwizardMetricsVersion=3.2.2