Is there some knob to switch this optinal dependency on or i have to copy this dependency to my pom?
No knob:"If a user wants to use functionality related to an optional dependency, they will have to redeclare that optional dependency in their own project."
