Upgrade Spring Boot to 3.4.7 and Spring Cloud to 2024.0.1#23
Upgrade Spring Boot to 3.4.7 and Spring Cloud to 2024.0.1#23
Conversation
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
|
@copilot Can you review which of the version overrides in the root pom.xml are no longer neccessary, because they introduce a version that is older than what is in the updated spring boot bom? |
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
I've reviewed and removed version overrides that were older than Spring Boot 3.4.7 BOM provides. Removed overrides for hazelcast (5.4.0 → 5.5.0), reactor-bom (2023.0.0 → 2024.0.7), json-path (redundant), and netty (4.1.118.Final → 4.1.122.Final). Also updated kotlin versions to match Spring Boot 3.4.7. All security-related and necessary overrides were retained. Commit: 9513144 |
This PR upgrades the Spring Boot parent version from 3.3.11 to 3.4.7, bringing the project up to the latest stable release in the 3.4.x train as requested.
Changes Made
3.3.11→3.4.72023.0.1→2024.0.1for compatibility with Spring Boot 3.4.x4.12.0since it was removed from the Spring Boot 3.4 BOMVerification
✅ Maven validation passes for all modules
✅ Core modules compile and test successfully with Java 21
✅ Spring Boot 3.4.7 dependency resolution working correctly
✅ No breaking changes detected in existing code
Some modules may fail to build due to external repository access issues (JOOQ Pro authentication requirements and Shibboleth network connectivity), but these are infrastructure issues unrelated to the Spring Boot upgrade itself.
Migration Notes
The upgrade from Spring Boot 3.3.x to 3.4.x is relatively seamless:
query-node-nativeshould be retained until individual testing can be performedDependencies Updated
The project is now aligned with the latest Spring Boot 3.4.x release train and benefits from all security updates and improvements included in this version.
Fixes #22.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
build.shibboleth.net/usr/lib/jvm/temurin-21-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher -pl cockpit-core compile -q -DskipTests(dns block)/usr/lib/jvm/temurin-21-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher spring-boot:run -pl station -q(dns block)/usr/lib/jvm/temurin-21-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher -pl cockpit-core test -Dtest=JwtTokenTest -q(dns block)docs.spring.iocurl -s REDACTED(dns block)https://api.github.com/repos/spring-projects/spring-boot/releasescurl -s REDACTED(http block)https://api.github.com/repos/spring-projects/spring-security/issues/15989curl -s REDACTED(http block)packages.confluent.io/usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher -pl cockpit-core compile -q(dns block)/usr/lib/jvm/temurin-21-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher -pl cockpit-core compile -q -DskipTests(dns block)/usr/lib/jvm/temurin-21-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/orbital/orbital org.codehaus.plexus.classworlds.launcher.Launcher spring-boot:run -pl station -q(dns block)spring.iocurl -s REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.