Skip to content

Feature ETP-3800: migrate financial bundle to Jakarta/Hibernate 6#992

Open
RomanMagnoli wants to merge 13 commits into
epic/ETP-2587-Y27from
feature/ETP-3800-Y27
Open

Feature ETP-3800: migrate financial bundle to Jakarta/Hibernate 6#992
RomanMagnoli wants to merge 13 commits into
epic/ETP-2587-Y27from
feature/ETP-3800-Y27

Conversation

@RomanMagnoli

Copy link
Copy Markdown
Contributor

Summary

  • migrate the financial bundle modules to Jakarta EE and Hibernate 6 compatible APIs
  • document extra migration edge cases in hibernate-jakarta-migration-guide.md
  • validate the full migration set with ./gradlew compile.complete

Validation

  • ./gradlew compile.complete

Comment thread build.gradle
id 'jacoco'
id 'com.etendoerp.gradleplugin' version '3.0.0-SNAPSHOT'
id 'com.etendoerp.gradleplugin' version '3.0.1-SNAPSHOT'
id 'com.etendoerp.testing.gradleplugin' version '3.0.0-SNAPSHOT'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion

Consider using a stable version of the Etendo Gradle Plugin instead of a SNAPSHOT if one is available and compatible with the Jakarta/Hibernate 6 migration requirements.

  id 'com.etendoerp.gradleplugin' version '3.0.1' // Or a stable Confirmed Stable (CS) version when available

Rationale: Using SNAPSHOT versions is suitable for development but can lead to non-reproducible builds if the snapshot changes. It is recommended to use a stable version for releases.

@etendobot etendobot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested by agent. Please resolve blocking issues.

@RomanMagnoli
RomanMagnoli force-pushed the feature/ETP-3800-Y27 branch from 077880a to 4541a24 Compare April 17, 2026 17:17
env.JAVA_HOME = "/usr/lib/jvm/jdk-17.0.13"
env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.15/bin/apache-tomcat-11.0.15.tar.gz"
env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.21/bin/apache-tomcat-11.0.21.tar.gz"
env.STACK_TYPE = "PRERELEASE 27Q1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion

The update to Tomcat 11.0.21 is correct for the Jakarta migration context. No changes needed.

env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.21/bin/apache-tomcat-11.0.21.tar.gz"

Rationale: Updating the Tomcat version to 11.0.21 is a standard maintenance practice for CI pipelines to include security fixes and performance improvements. This is consistent with the Jakarta/Hibernate 6 migration requirements.

env.JAVA_HOME = "/usr/lib/jvm/jdk-17.0.13"
env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.15/bin/apache-tomcat-11.0.15.tar.gz"
env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.21/bin/apache-tomcat-11.0.21.tar.gz"
env.STACK_TYPE = "PRERELEASE 27Q1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion

Verify the Tomcat version and URL. If Tomcat 11 is intended, consider using the latest stable version (e.g., 11.0.2). If Tomcat 10.1 was intended (which is common for Jakarta EE 10/Hibernate 6 migrations), update both the path and the version number.

env.TOMCAT_URL = "https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.2/bin/apache-tomcat-11.0.2.tar.gz"

Rationale: As of current public releases, Tomcat 11.0.21 does not exist on Apache mirrors (latest stable is 11.0.2). Using an invalid URL will cause the Jenkins pipeline to fail during the download stage. This might be a typo for Tomcat 10.1.21, which is a valid version often used for Jakarta EE 10 migrations, or it should be updated to a valid Tomcat 11 stable version if Jakarta EE 11 features are required.

@RomanMagnoli RomanMagnoli self-assigned this Apr 20, 2026
@RomanMagnoli RomanMagnoli added the enhancement New feature or request label Apr 20, 2026
@Matias-Bernal
Matias-Bernal force-pushed the epic/ETP-2587-Y27 branch 2 times, most recently from 9679384 to 42117be Compare April 22, 2026 18:51
@sonarscanetendo

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants