Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aozmen121 opened this issue Oct 16, 2024 · 0 comments
Open

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

aozmen121 opened this issue Oct 16, 2024 · 0 comments

Comments

@aozmen121
Copy link

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

  • micronaut service with ehcache implementations
  • Utilize jakarta version of ehcache:
   implementation("org.ehcache:ehcache:3.10.8") {
        capabilities {
            requireCapability("org.ehcache:ehcache-jakarta")
        }
    }

Environment Information

JDK 17
micronaut-cache v5.0.1

Example Application

No response

Version

Micronaut Platform 4.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant