Skip to content

KIN-13: Upgrade Java to 21 and Spring Boot to 3.5.0#472

Merged
deepthought42 merged 1 commit intomasterfrom
codex/linear-mention-kin-13-upgrade-spring-boot-and-java
Mar 5, 2026
Merged

KIN-13: Upgrade Java to 21 and Spring Boot to 3.5.0#472
deepthought42 merged 1 commit intomasterfrom
codex/linear-mention-kin-13-upgrade-spring-boot-and-java

Conversation

@deepthought42
Copy link
Copy Markdown
Owner

Motivation

  • Bring the project baseline to a modern Java and Spring Boot platform to allow using Spring Boot 3.x and Jakarta namespaces.
  • Prepare dependency BOMs and libraries for Spring Boot 3 compatibility and remove Boot 2-era auto-config packages.
  • Update compilation target to a current LTS/modern JDK to align with the chosen Spring Boot release.

Description

  • Updated pom.xml to set maven.compiler.source/maven.compiler.target to 21 and java.version to 21, and upgraded springboot.version to 3.5.0.
  • Bumped platform BOMs: spring-cloud-dependencies -> 2024.0.0 and spring-cloud-gcp-dependencies -> 6.1.0.
  • Removed the deprecated org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure dependency and migrated resilience4j-spring-boot2 -> resilience4j-spring-boot3.
  • Replaced springdoc-openapi-ui with springdoc-openapi-starter-webmvc-ui (2.8.8) for Spring Boot 3 compatibility.
  • Replaced javax.* imports with jakarta.* in API, config, integration and security classes (17 files updated, including controllers, SimpleCORSFilter, MyLogoutSuccessHandler, and IntegrationProviderFactory).
  • Committed the changes as a single upgrade baseline (commit message: Upgrade to Java 21 and Spring Boot 3 baseline).

Testing

  • Ran mvn -Dexec.skip=true -DskipTests compile, which failed due to inability to resolve BOMs and dependencies because Maven Central requests returned HTTP 403 in this environment, so dependency resolution could not complete.
  • Ran mvn -Dexec.skip=true -DskipTests validate, which likewise failed for the same network/403 reason and reported missing managed dependency versions.
  • Ran repository-wide search/replace and automated source updates for javax -> jakarta substitutions (scripted replacement completed successfully in the workspace).

Codex Task

@cursor
Copy link
Copy Markdown

cursor bot commented Mar 5, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on April 22.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@deepthought42 deepthought42 merged commit 482e4ff into master Mar 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant