I made once a maven plugin which reprocesses jar files.
It allows to remove extra content such as comments and directories.
In addition, it handles nested zip files to increase their compress-ability.
And all the features can be toggled individually.