How to exclude jar from 'APP-INF/lib' directory?


(Maciek Opała) #1

Hi, How to configure ‘ear’ plugin to exclude a library from ‘APP-INF/lib’ directory? I’ve been looking for two hours but without success.


(Maciek Opała) #2

Really no ideas? Or maybe it’s to trivial to give any response…


(Peter Niederwieser) #3

Simply excluding it from the ‘earlib’ configuration doesn’t work?

configurations.earlib.exclude module: "log4j"