Remove karaf dependencies.