Keycloak-adapter-core POM dependencies


I have written a KeycloakConfigResolver, which I am building with Maven. Therefore, I have added keycloak-adapter-core as a dependency with provided scope, because I expect it to be available in the Web app container. Unfortunately, I had to additionally add keycloak-adapter-spi and keycloak-core as dependencies. These two artifacts are dependencies of keycloak-adapter-core, however with provided scope, which means they do not show up in the transitive dependencies of my project.

I believe the provided scope is wrong for these dependencies and should be compile instead. Do others have an opinion on this?

I have opened KEYCLOAK-17506