Add Import-Package org.osgi.service.repository;resolution:=mandatory as otherwise its made optional for some reason.