You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repository navigation
keycloak-admin-client puts both commons-logging and commons-logging-jboss-logging on the runtime classpath #265
The coordinates differ, so neither Maven nor Gradle treats them as versions of the same module, and both jars end up on the classpath.
These classes are defined in both jars, with different bytecode:
Classpath order decides which LogFactory is loaded.
With the Apache jar first, commons-logging-jboss-logging is never used.
With the JBoss jar first, its LogFactory runs next to the Apache jar's remaining impl classes.
Classpath collision checks flag the overlap, so consumers have to exclude one of the two by hand.
Expected behaviour
Only one implementation of the commons-logging API comes in through keycloak-admin-client.
Suggested fix
Exclude commons-logging:commons-logging from the resteasy-client dependency in keycloak-admin-client. commons-logging-jboss-logging provides the full API that httpclient uses.
The Quarkus Keycloak admin client extensions appear to do the same.
How to reproduce
Depend on org.keycloak:keycloak-admin-client:26.0.13 in a plain Maven or Gradle project and list the runtime classpath:
Activity