I’m trying to find a “generic” way of excluding a transitive dependency from being included without having to exclude it from all the dependencies that depend on it. For ex
I created an empty jar and created this dependency:
commons-logging commons-logging system ${basedir}/src/lib/empty.jar 0
It is not perfect because from now on you have an empty jar in your compile/test path. But that is just cosmetic.