I have a third party jar file that I have to use, but unfortunately it contains an embedded log4j configuration file as a resource. When I include the third party jar as a Maven dependency, I also pick up their log4j configuration, which overrides my own.
Is there a way to tell Maven to include a jar dependency, while excluding a specific resource within that jar?