I don't see a reason for the actuator dependency to be mandatory. If you exclude it the server fails to start. Probably we need some more conditions?