Added missing optional dependencies to be able to load graph DB under
OSGi.