diff --git a/build.gradle b/build.gradle index a9c3ffd0aa..3a1ca8dff2 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,6 @@ buildscript { common_utils_version = System.getProperty("common_utils.version", '2.9.0.0-SNAPSHOT') kafka_version = '3.7.1' - apache_cxf_version = '4.0.4' open_saml_version = '4.3.2' one_login_java_saml = '2.9.0' jjwt_version = '0.12.6' @@ -590,10 +589,6 @@ dependencies { runtimeOnly 'net.minidev:accessors-smart:2.5.0' - runtimeOnly "org.apache.cxf:cxf-core:${apache_cxf_version}" - implementation "org.apache.cxf:cxf-rt-rs-json-basic:${apache_cxf_version}" - runtimeOnly "org.apache.cxf:cxf-rt-security:${apache_cxf_version}" - runtimeOnly 'com.sun.activation:jakarta.activation:1.2.2' runtimeOnly 'com.eclipsesource.minimal-json:minimal-json:0.9.5' runtimeOnly 'commons-codec:commons-codec:1.17.0' diff --git a/src/test/java/com/amazon/dlic/auth/http/jwt/keybyoidc/CxfTestTools.java b/src/test/java/com/amazon/dlic/auth/http/jwt/keybyoidc/CxfTestTools.java deleted file mode 100644 index b2958193c2..0000000000 --- a/src/test/java/com/amazon/dlic/auth/http/jwt/keybyoidc/CxfTestTools.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -package com.amazon.dlic.auth.http.jwt.keybyoidc; - -import org.apache.cxf.jaxrs.json.basic.JsonMapObject; -import org.apache.cxf.jaxrs.json.basic.JsonMapObjectReaderWriter; - -class CxfTestTools { - - static String toJson(JsonMapObject jsonMapObject) { - return new JsonMapObjectReaderWriter().toJson(jsonMapObject); - } -}