Lombok is required at compile time only. The dependency should be configured as `provided`. See the documentation here: https://projectlombok.org/setup/maven