I ended adding a remove-self-excluded-deps instead of modifying add-global-exclusions to add-and-apply-global-exclusions because I think add-and-apply-global-exclusions conveys that it will somehow apply the exclusions to the deps tree there which is misleading.
This fixes https://github.com/technomancy/leiningen/issues/2811
I ended adding a
remove-self-excluded-deps
instead of modifyingadd-global-exclusions
toadd-and-apply-global-exclusions
because I thinkadd-and-apply-global-exclusions
conveys that it will somehow apply the exclusions to the deps tree there which is misleading.