I have my own addiction, which I use in my project, and I canβt refuse. It was built in one large thick jar with all the dependent packages collected inside. I mean even the usual ones like slf4j-api, apache-commons, javax packages, etc.
Using it together with my own list of declared dependencies is risky because there is always a race in classloader where the class will be loaded first - my or an obsolete class inside a live flag.
I was wondering if there is a way to solve this problem? How to treat such fatty cans? I am using maven for dependency management.
source share