From a61143fe2b03be95877f1d13ac9f91df45ea103c Mon Sep 17 00:00:00 2001 From: "tobias.pobocik" Date: Thu, 2 Oct 2025 10:44:51 +0200 Subject: [PATCH 1/4] Bump spring to 3.4.0 https://github.com/spring-projects/spring-boot/releases/tag/v3.4.0 JIRA: LIGHTY-349 Signed-off-by: Ivan Hrasko Signed-off-by: tobias.pobocik (cherry picked from commit 1ad80269c1a4061353e8d4454eabd7a4649734de) --- lighty-core/lighty-controller-spring-di/pom.xml | 2 +- lighty-examples/lighty-controller-springboot-netconf/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lighty-core/lighty-controller-spring-di/pom.xml b/lighty-core/lighty-controller-spring-di/pom.xml index ca3dae095e..fb21e4ffe4 100644 --- a/lighty-core/lighty-controller-spring-di/pom.xml +++ b/lighty-core/lighty-controller-spring-di/pom.xml @@ -27,7 +27,7 @@ org.springframework.boot spring-boot-dependencies - 3.3.13 + 3.4.10 pom import diff --git a/lighty-examples/lighty-controller-springboot-netconf/pom.xml b/lighty-examples/lighty-controller-springboot-netconf/pom.xml index 533e8a13d6..96f5c32b0a 100644 --- a/lighty-examples/lighty-controller-springboot-netconf/pom.xml +++ b/lighty-examples/lighty-controller-springboot-netconf/pom.xml @@ -11,7 +11,7 @@ org.springframework.boot spring-boot-starter-parent - 3.3.13 + 3.4.10 From 07816a60e07e602e8d99fcbb2144f07f55727cf8 Mon Sep 17 00:00:00 2001 From: Ivan Hrasko Date: Fri, 21 Mar 2025 10:58:13 +0100 Subject: [PATCH 2/4] Set spring.http.client.factory to jdk Spring Boot starting from version 3.4 has changed the way how client factory is selected. Now, we have auto-selected "jetty" for lighty.io. This selection is not fortunate because Spring is compatible with Jetty 12 but lighty.io is using Jetty 9. Thus bumping to Spring Boot 3.4 has introduced bean initialization error during tests. Manually select to use jdk's client to have the same behavior as before. See: Spring Boot uses Jetty 12 since 3.2 https://spring.io/blog/2023/11/23/spring-boot-3-2-0-available-now Info about client selection change in Spring Boot 3.4 https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.4-Release-Notes https://spring.io/blog/2024/11/24/bootiful-34-boot JIRA: LIGHTY-349 Signed-off-by: Ivan Hrasko (cherry picked from commit 2df78b0a6e2452f09505e7ae73d457f2e18f0528) --- .../src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/lighty-examples/lighty-controller-springboot-netconf/src/main/resources/application.properties b/lighty-examples/lighty-controller-springboot-netconf/src/main/resources/application.properties index c4e658f9e2..3e03fa6d4c 100644 --- a/lighty-examples/lighty-controller-springboot-netconf/src/main/resources/application.properties +++ b/lighty-examples/lighty-controller-springboot-netconf/src/main/resources/application.properties @@ -1 +1,2 @@ server.port=8888 +spring.http.client.factory=jdk From e11c4ea15732f5d95e9f308c8bb6901b269243cb Mon Sep 17 00:00:00 2001 From: "tobias.pobocik" Date: Thu, 2 Oct 2025 10:56:40 +0200 Subject: [PATCH 3/4] Bump spotbugs-maven-plugin to 4.8.6.7 https://github.com/spotbugs/spotbugs-maven-plugin/releases/tag/spotbugs-maven-plugin-4.8.6.7 Signed-off-by: tobias.pobocik --- lighty-core/lighty-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighty-core/lighty-parent/pom.xml b/lighty-core/lighty-parent/pom.xml index 7302ab2d0e..ba87ce521e 100644 --- a/lighty-core/lighty-parent/pom.xml +++ b/lighty-core/lighty-parent/pom.xml @@ -210,7 +210,7 @@ com.github.spotbugs spotbugs-maven-plugin - 4.8.6.6 + 4.8.6.7 com.github.spotbugs From fd231394da1ac104a2ef341f4ab52684ff73537e Mon Sep 17 00:00:00 2001 From: "tobias.pobocik" Date: Thu, 2 Oct 2025 10:58:15 +0200 Subject: [PATCH 4/4] Bump checkstyle to 11.0.1 https://checkstyle.org/releasenotes.html#Release_11.0.1 Signed-off-by: tobias.pobocik --- lighty-core/lighty-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighty-core/lighty-parent/pom.xml b/lighty-core/lighty-parent/pom.xml index ba87ce521e..896b99d8f4 100644 --- a/lighty-core/lighty-parent/pom.xml +++ b/lighty-core/lighty-parent/pom.xml @@ -193,7 +193,7 @@ com.puppycrawl.tools checkstyle - 11.0.0 + 11.0.1 com.github.sevntu-checkstyle