Planning Java 21 Migration for OpenMRS Modules

Hi @wikumc, @dkayiwa, here’s the current list of modules configured to run with Java 21 on Bamboo CI:

  1. Legacy UI Module
  2. UI Framework Module
  3. Event Module
  4. Address Hierarchy Module
  5. Calculation Module
  6. UI Commons Module
  7. HTML Widgets Module
  8. UI Library Module

To configure additional projects to run on Java 21, follow these steps:

  1. Rename the existing project plan to reflect the GitHub branch being tracked, e.g., X Module 2.x.
  2. Clone one of the Java 21-enabled plans above and update the plan name, e.g., X Module Latest.
  3. Save the cloned plan, disable its initial build, and update the following:
    • Repositories > Git > Repository URL
    • Any relevant Variables, based on the existing module’s reference plan (e.g., X Module 2.x that was renamed in 1).

I’m happy to help configure any additional modules not listed above—please let me know!