Add INDEX.LIST to the filter list when bundling into a jar
Review Request #2342 - Created June 10, 2015 and submitted
Add INDEX.LIST to as a Skip JarRule when creating a fat jar
The INDEX.LIST files are usually created with
jar ias some kind of optimizing step after a .jar file is built.
I found a problem when trying to add
Class-Path:to a manifest file when building a fat jar. The root cause was an INDEX.LIST file from one of the dependent jars that got combined together. When this file is present,
Class-Path:seems to be ignored.
The INDEX.LIST files are scrubbed out by default with the maven shade plugin:
Fixed comments and doc. Also added a '$' to the end of the expression. Retested in our repo and it still works.
Revision 2 (+2)