Upgrade from Java 17 to Java 21#22
Open
devin-ai-integration[bot] wants to merge 1 commit intodevelop-7.0.xfrom
Open
Upgrade from Java 17 to Java 21#22devin-ai-integration[bot] wants to merge 1 commit intodevelop-7.0.xfrom
devin-ai-integration[bot] wants to merge 1 commit intodevelop-7.0.xfrom
Conversation
- Update maven-compiler-plugin source/target/release from 17 to 21 in root pom.xml - Update maven-compiler-plugin source/target from 17 to 21 in common/pom.xml - Update maven-compiler-plugin source/target from 17 to 21 in admin/broadleaf-admin-module/pom.xml - Update gmavenplus-plugin targetBytecode from 17 to 21 in root pom.xml - Update Jenkinsfile to use maven-jdk21 build agent Co-Authored-By: Joao Esteves <joao.esteves@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 from Java 17 to Java 21
Upgrades the entire BroadleafCommerce framework build toolchain from Java 17 to Java 21.
A Brief Overview
Java 21 is the latest LTS release, bringing virtual threads, pattern matching, record patterns, and other language/runtime improvements. This PR updates all compiler and CI configurations to target Java 21.
Changes
pom.xml: Updatedmaven-compiler-pluginsource/target/release from 17 → 21; updatedgmavenplus-plugintargetBytecode from 17 → 21common/pom.xml: Updatedmaven-compiler-pluginsource/target from 17 → 21admin/broadleaf-admin-module/pom.xml: Updatedmaven-compiler-pluginsource/target from 17 → 21Jenkinsfile: Updated build agent frommaven-jdk17→maven-jdk21Verification
mvn clean install -DskipTestscompleted successfully (BUILD SUCCESS) across all 12 reactor modules with Java 21.Additional context
Link to Devin session: https://app.devin.ai/sessions/e785efeb1f5f4c86ad99e543f8a2bfe4
Requested by: @joao-cognition
Devin Review