We have a third party library that transitively pulls in backport-util-concurrent:backport-util-concurrent
. We can use Maven to ban that, but the third party library code imports classes from the edu.emory.mathcs.backport.java.util.concurrent
package.
Does Java or Maven provide a way to force any edu.emory.mathcs.backport.java.util...
import to instead use java.util...
? Preferably that substitution could be forced at both compile time and runtime, so that we can be sure the API is being implemented fully enough to be dropped in without obvious breakage.