finos / common-domain-model

The CDM is a model for financial products, trades in those products, and the lifecycle events of those trades. It is an open source standard that aligns data, systems and processes and is available as code in multiple languages for easy implementation across technologies.
Other
124 stars 53 forks source link

Update CDM Build Process to use Java 22 #3004

Open minesh-s-patel opened 3 months ago

minesh-s-patel commented 3 months ago

Background

The Common Domain Model currently uses Java 11 for compilation. The Java 22 compiler is faster and more reliable than java 11 and is the latest supported Java version.

Note - The generated Java code is compiled to Java 8 for community support. This will remain unchanged.

Proposal

Update the GitHub Actions Build Process to use Java 22. Update the parent pom.xml to use Java 22. Keep the 'cdm-java' jar file produced to Java 8. (i.e. no impact to users)

Compatibility

No impact to users of the CDM Jar files. To build the CDM - Java 22 will be required.