@@ -27,6 +27,8 @@ buildscript {
2727 common_utils_version = System . getProperty(" common_utils.version" , ' 3.0.0.0-SNAPSHOT' )
2828 kafka_version = ' 3.5.0'
2929
30+ jjwt_version = ' 0.11.5'
31+
3032 if (buildVersionQualifier) {
3133 opensearch_build + = " -${ buildVersionQualifier} "
3234 }
@@ -481,12 +483,29 @@ dependencies {
481483 implementation ' commons-cli:commons-cli:1.3.1'
482484 implementation " org.bouncycastle:bcprov-jdk15to18:${ versions.bouncycastle} "
483485 implementation ' org.ldaptive:ldaptive:1.2.3'
484- implementation ' io.jsonwebtoken:jjwt-api:0.10.8 '
486+
485487 implementation(' org.apache.cxf:cxf-rt-rs-security-jose:3.5.5' ) {
486488 exclude(group : ' jakarta.activation' , module : ' jakarta.activation-api' )
487489 }
488- implementation ' com.github.wnameless:json-flattener:0.5.0'
489- implementation ' com.flipkart.zjsonpatch:zjsonpatch:0.4.4'
490+ // JWT
491+ implementation " io.jsonwebtoken:jjwt-api:${ jjwt_version} "
492+ implementation " io.jsonwebtoken:jjwt-impl:${ jjwt_version} "
493+ implementation " io.jsonwebtoken:jjwt-jackson:${ jjwt_version} "
494+ // JSON flattener
495+ implementation (" com.github.wnameless.json:json-base:2.4.0" ) {
496+ exclude group : " org.glassfish" , module : " jakarta.json"
497+ exclude group : " com.google.code.gson" , module : " gson"
498+ exclude group : " org.json" , module : " json"
499+ }
500+ implementation ' com.github.wnameless.json:json-flattener:0.16.4'
501+ // JSON patch
502+ implementation ' com.flipkart.zjsonpatch:zjsonpatch:0.4.14'
503+ implementation ' org.apache.commons:commons-collections4:4.4'
504+
505+ // JSON path
506+ implementation ' com.jayway.jsonpath:json-path:2.8.0'
507+ implementation ' net.minidev:json-smart:2.4.11'
508+
490509 implementation " org.apache.kafka:kafka-clients:${ kafka_version} "
491510 implementation ' com.onelogin:java-saml:2.5.0'
492511 implementation ' com.onelogin:java-saml-core:2.5.0'
@@ -498,7 +517,6 @@ dependencies {
498517 runtimeOnly ' org.apache.cxf:cxf-rt-security:3.5.5'
499518
500519 runtimeOnly ' com.sun.activation:jakarta.activation:1.2.2'
501- runtimeOnly ' com.eclipsesource.minimal-json:minimal-json:0.9.5'
502520 runtimeOnly ' commons-codec:commons-codec:1.14'
503521 runtimeOnly ' org.cryptacular:cryptacular:1.2.4'
504522 runtimeOnly ' com.google.errorprone:error_prone_annotations:2.3.4'
@@ -527,10 +545,6 @@ dependencies {
527545 implementation ' org.opensaml:opensaml-storage-api:3.4.5'
528546 implementation ' commons-lang:commons-lang:2.4'
529547 implementation ' commons-collections:commons-collections:3.2.2'
530- implementation ' com.jayway.jsonpath:json-path:2.4.0'
531- implementation ' net.minidev:json-smart:2.4.10'
532- runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.10.8'
533- runtimeOnly ' io.jsonwebtoken:jjwt-jackson:0.10.8'
534548 runtimeOnly ' com.google.guava:failureaccess:1.0.1'
535549 runtimeOnly ' org.apache.commons:commons-text:1.10.0'
536550 runtimeOnly ' org.glassfish.jaxb:jaxb-runtime:2.3.4'
0 commit comments