Upgrade Java version from 17 to 22 with all dependencies #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrade Java version from 17 to 22 with all dependencies
Summary
This PR upgrades the Spring Boot BankApp from Java 17 to Java 22, updating all related dependencies and Docker base images as requested. This is a significant upgrade spanning multiple Java LTS versions (17 → 21 → 22).
Changes made:
java.versionproperty from 17 to 22 inpom.xmlmysql:mysql-connector-java:8.0.33tocom.mysql:mysql-connector-j:9.0.0maven:3.8.3-openjdk-17→maven:3.9-openjdk-22openjdk:17-alpine→eclipse-temurin:22-alpineopenjdk-17-jretoopenjdk-22-jreReview & Testing Checklist for Human
Recommended Test Plan
docker build -t bankapp:java22-test .docker-compose upNotes
mysql:mysql-connector-javatocom.mysql:mysql-connector-jis necessary as the old artifact was deprecatedLink to Devin run: https://app.devin.ai/sessions/1b1ad57bba1d4056a366cc682226a19c
Requested by: Satwik Bebortha (@satwik-cog)