From 1d201ea3ba466aa7076410370192426d60f17969 Mon Sep 17 00:00:00 2001 From: Richard Eckart de Castilho Date: Fri, 24 Nov 2023 23:28:07 +0100 Subject: [PATCH 1/2] #4150 - Upgrade dependencies - nimbus-jose-jwt 9.36 -> 9.37.1 - commons-dbcp2 2.10.0 -> 2.11.0 - byte-buddy 1.14.9 -> 1.14.10 - commons-io 2.14.0 -> 2.15.0 - commons-text 1.10.0 -> 1.11.0 - commons-lang3 3.13.0 -> 3.14.0 - commons-compress 1.24.0 -> 1.25.0 - mockito 5.5.0 -> 5.7.0 - uimafit 3.4.0 -> 3.5.0 - spring 5.3.30 -> 5.3.31 - spring-boot 2.7.17 -> 2.7.18 - spring-data 2.7.17 -> 2.7.18 - swagger 2.2.16 -> 2.2.19 - jjwt 0.11.5 -> 0.12.3 - log4j 2.20.0 -> 2.22.0 - sentry 6.30.0 -> 6.34.0 - tomcat 9.0.82 -> 9.0.83 - elasticsearch 7.17.14 -> 7.17.15 - jackson 2.15.3 -> 2.16.0 - okhttp 4.11.0 -> 4.12.0 - okio 3.5.0 -> 3.6.0 --- inception/inception-dependencies/pom.xml | 16 +++++------ ...ApiController_Authentication_Jwt_Test.java | 4 +-- pom.xml | 28 +++++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/inception/inception-dependencies/pom.xml b/inception/inception-dependencies/pom.xml index d774f2b5964..f27f0417fdb 100644 --- a/inception/inception-dependencies/pom.xml +++ b/inception/inception-dependencies/pom.xml @@ -175,7 +175,7 @@ com.nimbusds nimbus-jose-jwt - 9.36 + 9.37.1 org.awaitility @@ -458,7 +458,7 @@ org.apache.commons commons-dbcp2 - 2.10.0 + 2.11.0 org.dom4j @@ -676,12 +676,12 @@ net.bytebuddy byte-buddy - 1.14.9 + 1.14.10 net.bytebuddy byte-buddy-agent - 1.14.9 + 1.14.10 org.wicketstuff @@ -961,22 +961,22 @@ commons-io commons-io - 2.14.0 + 2.15.0 org.apache.commons commons-text - 1.10.0 + 1.11.0 org.apache.commons commons-lang3 - 3.13.0 + 3.14.0 org.apache.commons commons-compress - 1.24.0 + 1.25.0 commons-codec diff --git a/inception/inception-remote/src/test/java/de/tudarmstadt/ukp/clarin/webanno/webapp/remoteapi/aero/AeroRemoteApiController_Authentication_Jwt_Test.java b/inception/inception-remote/src/test/java/de/tudarmstadt/ukp/clarin/webanno/webapp/remoteapi/aero/AeroRemoteApiController_Authentication_Jwt_Test.java index 1cd1eb3b438..feb46859d92 100644 --- a/inception/inception-remote/src/test/java/de/tudarmstadt/ukp/clarin/webanno/webapp/remoteapi/aero/AeroRemoteApiController_Authentication_Jwt_Test.java +++ b/inception/inception-remote/src/test/java/de/tudarmstadt/ukp/clarin/webanno/webapp/remoteapi/aero/AeroRemoteApiController_Authentication_Jwt_Test.java @@ -235,10 +235,10 @@ public JwtDecoder jwtDecoder() @Override public Jwt decode(String aToken) { - var parser = Jwts.parserBuilder().build(); + var parser = Jwts.parser().unsecured().build(); var jwt = parser.parse(aToken); - return new Jwt(aToken, null, null, jwt.getHeader(), (Claims) jwt.getBody()); + return new Jwt(aToken, null, null, jwt.getHeader(), (Claims) jwt.getPayload()); } }; } diff --git a/pom.xml b/pom.xml index d324068e5d1..7a89a002598 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ 5.10.1 1.10.1 - 5.5.0 + 5.7.0 3.24.2 2.9.1 @@ -77,25 +77,25 @@ 2.4.0 3.5.0 - 3.4.0 + 3.5.0 0.5.0 2.0.30 - 5.3.30 - 2.7.17 - 2.7.17 + 5.3.31 + 2.7.18 + 2.7.18 5.8.8 1.7.0 - 2.2.16 - 0.11.5 + 2.2.19 + 0.12.3 2.0.9 - 2.20.0 + 2.22.0 3.5.3.Final - 6.30.0 + 6.34.0 - 9.0.82 + 9.0.83 4.0.1 2.7.10 @@ -121,7 +121,7 @@ - 7.17.14 + 7.17.15 @@ -143,10 +143,10 @@ 20230227 2.6.0 - 2.15.3 + 2.16.0 1.33 - 4.11.0 - 3.5.0 + 4.12.0 + 3.6.0 18.18.0 0.2.0 From 99fd954b8f8b51928ab1070b431055fcca91c73b Mon Sep 17 00:00:00 2001 From: Richard Eckart de Castilho Date: Sat, 25 Nov 2023 10:48:56 +0100 Subject: [PATCH 2/2] #34 - Update dependencies - dkpro-parent-pom 30 -> 31 --- .../de/tudarmstadt/ukp/inception/ui/core/about/AboutPage.html | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inception/inception-ui-core/src/main/java/de/tudarmstadt/ukp/inception/ui/core/about/AboutPage.html b/inception/inception-ui-core/src/main/java/de/tudarmstadt/ukp/inception/ui/core/about/AboutPage.html index 3f26c5ebabb..4c96b0439e6 100644 --- a/inception/inception-ui-core/src/main/java/de/tudarmstadt/ukp/inception/ui/core/about/AboutPage.html +++ b/inception/inception-ui-core/src/main/java/de/tudarmstadt/ukp/inception/ui/core/about/AboutPage.html @@ -39,7 +39,7 @@

Dependencies
-
+
diff --git a/pom.xml b/pom.xml index 7a89a002598..e1d8db3e469 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ org.dkpro dkpro-parent-pom - 30 + 31 de.tudarmstadt.ukp.inception.app