[keycloak-dev] Some packages renamed

Marek Posolda mposolda at redhat.com
Fri Oct 16 10:58:56 EDT 2015


Fuse (OSGI in general) doesn't like when there are 2 jar bundles 
exporting same java packages. Hence I sent PR 
https://github.com/keycloak/keycloak/pull/1750, which (among some minor 
fixes) contains renaming of some packages:

- keycloak-common vs. keycloak-core had same packages. So all packages 
in keycloak-common were put into "org.keycloak.common" (For example 
"org.keycloak.common.util" instead of previous "org.keycloak.util" )

- keycloak-adapter-spi vs. keycloak-adapter-core had same packages. So 
package in keycloak-adapter-spi was renamed to "org.keycloak.adapters.spi"

- keycloak-jetty-spi vs. keycloak-jetty-core had same packages. So 
package in keycloak-jetty-spi was renamed to "org.keycloak.jetty.spi"

We discussed with Stian that it's ok to rename it as keycloak-common and 
keycloak-adapter-spi contains mainly internal util classes and are not 
supposed to be widely used by people. Most important packages 
(especially stuff in keycloak-core ) is unchanged. But still, I am 
likely going to write some note to migration guide.

This change affects quite many classes, especially import. So I suggest 
to rebase before start on something major :-)

Marek


More information about the keycloak-dev mailing list