@Override
    public void execute(EnforcerRuleHelper helper) throws EnforcerRuleException {
        validateDependencies(getAllDependencies(helper), Set.copyOf(allowedDependencies), failOnUnmatched);
        helper.getLog().info("The 'enforceDependencies' validation completed successfully");
    }
Enforces that all expected dependencies are present.
Fails by default for rules that do not match any dependencies.
Similar to the built-in 'bannedDependencies' rule in maven-enforcer-plugin.

@author bjorncs
vespa-enforcer-extensions/src/main/java/com/yahoo/vespa/maven/plugin/enforcer/EnforceDependencies.java