diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7210c1e..38744a6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [v5.4.0-SNAPSHOT] - 2024-09-26
- updated pom, maven parent and BOM
+- authorization-client-legacy-jdk8 instead of authorization-client (fix patch problem)
## [v5.3.0] - 2023-12-04
diff --git a/pom.xml b/pom.xml
index 065043f..1a26d2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,11 +31,12 @@
7.0.62
distro
4.13.0
+ authorization-client
aslcore,aslsocial
common-clients,common-configuration-scanner,common-fw-clients,common-gcore-resources,
common-gcore-stubs,common-scope,common-scope-maps,common-uri,discovery-client,ic-client,
- registry-publisher,common-authorization,authorization-client,document-store-lib,
+ registry-publisher,common-authorization,authorization-client-legacy-jdk8,document-store-lib,
accounting-lib,threadlocal-vars-cleaner,common-generic-clients,
event-publisher-library,event-publisher-portal,oidc-library,oidc-library-portal,common-gcube-calls
@@ -137,6 +138,9 @@
${basedir}/Portal-Bundle/gCube/lib/_misc
${staging-plugins-artifactsid}
+
+ ${toreplace-artifactsid}
+
false
false
true
@@ -155,7 +159,7 @@
${basedir}/Portal-Bundle/gCube/lib/_misc
- ${asl-artifactsid},${fws-artifactsid},${snl-artifactsid},${ep-artifactsid},${custom-plugins-artifactsid},social-networking-library
+ ${toreplace-artifactsid},${asl-artifactsid},${fws-artifactsid},${snl-artifactsid},${ep-artifactsid},${custom-plugins-artifactsid},social-networking-library
true
war, gar, tar.gz
false
@@ -178,7 +182,7 @@
-
+
org.apache.maven.plugins
maven-assembly-plugin
@@ -313,7 +317,8 @@
org.gcube.common
- authorization-client
+ authorization-client-legacy-jdk8
+ [2.0.8-SNAPSHOT,3.0.0-SNAPSHOT)
provided