I\'m in need of creating the minimal jar of utils library for use in Android. I\'m using some methods from apache commons libraries (such as IOUtils
, Stri
The maven plugin you can't remember is probably Apache Maven Shade Plugin, there is minimizeJar
option. As Andreas_D noticed, this won't include classes, loaded with Class.forName
, so you will need to implicity say in configuration, that you need them. Here is how i made maven to include jdbc driver in my single jar:
net.sourceforge.jtds:jtds
**