dependeny cleanup taken from Eclipse Orbit repository