NX-163: replace ClassWorlds with OSGi