For the ones who confuses the log level severity always, I invent this :)
Trade In Warrior
TRACE << DEBUG << INFO << WARN << ERROR
Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts
30 July 2014
22 April 2014
how to merge files inside meta-inf/services
In normal conditions, for maven users, fastest way to create uberJar that contains all of your dependencies is to use maven-assembly-plugin like the one below;
However, The problem with this usage is if you are calling ServiceLoader.loadServices , highly likely you will have more then one resource file with the same packaging, in this case shade plugin will suit you better to create uberJar as it is simply merges content of the same packages.
However, The problem with this usage is if you are calling ServiceLoader.loadServices , highly likely you will have more then one resource file with the same packaging, in this case shade plugin will suit you better to create uberJar as it is simply merges content of the same packages.
14 April 2014
Subscribe to:
Posts (Atom)