Remove restriction or allow configuration option for additional archive types
Java Classpath Scanner
Brought to you by:
sdir
Currently, isArchive in CPScanner restricts archive types to be .jar or .zip. My team uses several custom maven packaging types that are proper extensions of JAR files (i.e they are meant to live on the classpath and have resources loaded directly).
It seems like the preferred solution to this problem might be a setIgnoreExtension config option that allows CPS to simply ignore the extension of the file when determining if it's an archive. It could then silently fail when trying to open non-archives as such. That would provide the lowest impact to existing API and not force anyone to alter how they process classpaths.