make sure the core/api package has the correct build dependencies for annotations