FrankChen021 opened a new pull request, #20030: URL: https://github.com/apache/druid/pull/20030
### Description Upgrade Hibernate Validator from 6.2.5.Final to 9.1.3.Final. Hibernate Validator 9 uses the Jakarta Validation 3.1 API, so this PR performs the coordinated migration required by the attempted dependency upgrade: - Migrates Druid source and test imports from javax.validation.* to jakarta.validation.*. - Updates the managed Jakarta Validation API to 3.1.1. - Replaces the legacy EL API/runtime with Jakarta EL 6.0.1 and Expressly 6.0.0. - Removes the obsolete javax.validation:validation-api dependency. - Updates licenses.yaml and removes obsolete dependency labels. This addresses the provider discovery, bootstrap, strict compilation, and dependency-convergence failures identified in the discussion for PR 19988. #### Release note No user-facing behavior or data format changes are intended. This is a dependency and namespace migration required for the Hibernate Validator upgrade. <hr> ##### Key changed/added classes in this PR * org.apache.druid.guice.ConfigModule * org.apache.druid.guice.JsonConfigurator * org.apache.druid.guice.DruidSecondaryModule <hr> This PR has: - [x] been self-reviewed. - [x] added or updated version, license, or notice information in licenses.yaml. - [x] added or modified tests covering the affected validation/bootstrap paths. ### Validation - Full reactor Maven validation passed on JDK 25 with Checkstyle, PMD, forbidden-API checks, and enforcer dependency convergence. - Full reactor compile/test-compile passed on JDK 25. - Focused processing validation tests passed: 59 tests. - Representative server, services, and SQL bootstrap tests passed. - git diff --check passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
