eclipse / microprofile-rest-client

MicroProfile Rest Client
Apache License 2.0
142 stars 72 forks source link

Align with Jakarta EE 10 #360

Closed OndroMih closed 9 months ago

OndroMih commented 1 year ago

The latest version of MP Rest Client 3.0 and 3.0.1 are based on the microprofile-parent pom version 2.6, which depends on Jakarta EE 9 API dependencies.

Therefore the OSGi manifest specifies Jakarta EE 9 versions of required Jakarta EE API packages and excludes versions in Jakarta EE 10. For example, the package jakarta.enterprise.util from CDI is required with version="[3,4)", and thus excludes CDI 4.0, which is in Jakarta EE 10.

If MP Rest Client 3.0 requires Jakarta EE 10, then the API artifact should be based on a new version of microprofile-parent pom, which requires Jakarta EE 10 dependencies.

If MP Rest Client 3.0 should work with both Jakarta EE 9 and 10, then the OSGi manifest needs to be modified to include also newer versions of dependencies in Jakarta EE 10 (e.g. jakarta.enterprise.util with version="[3,5)")