micronaut-projects / micronaut-cache

This project includes caching support for Micronaut
Apache License 2.0
29 stars 31 forks source link

micronaut-ehcache implementation missing support for jarkarta-api #815

Open aozmen121 opened 3 days ago

aozmen121 commented 3 days ago

Expected Behavior

Should support jakarta-api and annotations to replace javax.

Actual Behaviour

Build fails as micronaut-cache does not to support jakarta-api and annotations, and throws conflict exception:

      > Module 'org.ehcache:ehcache' has been rejected:
           Cannot select module with conflict on capability 'org.ehcache.modules:ehcache-impl:3.10.8' also provided by [org.ehcache:ehcache:3.10.8(runtimeElements), org.ehcache:ehcache:3.10.8(jakartaRuntimeElements)]

Steps To Reproduce

Environment Information

JDK 17 micronaut-cache v5.0.1

Example Application

No response

Version

Micronaut Platform 4.6.3