[keycloak-dev] How to add a dependency to keycloak server distribution build?
Thomas Darimont
thomas.darimont at googlemail.com
Mon Jul 31 11:28:02 EDT 2017
Hello,
(sorry hit send to fast...)
how can I add a new dependency to the keycloak modules/system/layers/base
when building
a server-distribution?
I need to add org.apache.commons:commons-collections4 for the PatriciaTrie
which I need for
my BlacklistPasswordPolicyProvider: [0]
I tried adding a dependency to keycloak/dependencies/server-all/pom.xml but
I still get
CNFEs if I try to run the server from the dist-build.
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.collections4.trie.PatriciaTrie
from [Module "org.keycloak.keycloak-server-spi-private" from local module
loader @282ba1e (finder: local module finder @13b6d03 (roots:
/home/tom/dev/playground/keycloak/keycloak-3.3.0.CR1-
SNAPSHOT/modules,/home/tom/dev/playground/keycloak/
keycloak-3.3.0.CR1-SNAPSHOT/modules/system/layers/keycloak,/home/tom/dev/
playground/keycloak/keycloak-3.3.0.CR1-SNAPSHOT/modules/
system/layers/base))]
Cheers,
Thomas
[0] https://github.com/thomasdarimont/keycloak/commit/
59a84df2f70623f11bd4d78771a4b91422fa0286
More information about the keycloak-dev
mailing list