quarkiverse / quarkus-cxf

Quarkus CXF Extension to support SOAP based web services.
Apache License 2.0
71 stars 57 forks source link

Ban `javax.cache:cache-api` #1386

Closed ppalaga closed 1 month ago

ppalaga commented 1 month ago

Some downsteam dependency checks do not like javax dependencies.

javax.cache:cache-api was never a part of Java EE and therefore there is no immediate reason for it to be migrated to the new jakarta namespace. Indeed, there is no jakarta replacement jar available as of now. There is some discussion about having one in https://github.com/jsr107/jsr107spec/issues/415 , but so far, it did not result in any actionable plan.

From the CXF point of view, the above seems to be pretty unimportant. javax.cache:cache-api is pulled via org.apache.cxf:cxf-rt-ws-security and org.ehcache:ehcache where it serves as one of several ways to access the ehcache impl. CXF happens not to use the javax.cache API. My quick tests seem to suggest that it is possible to exclude javax.cache:cache-api from ehcache without replacement.