ClasspathCrawler matches suportedNames against full path of file
Other crawlers only use the last part of the path, i.e. the file name, for matching with the supportedNames
, but ClasspathCrawler
uses the whole path. This creates issues when the regular expression include ^
. By default CelestialBodyFactory
includes a ^
in the supported names regular expression. ClasspathCrawler
should be updated to just use the last component of the path like ZipJarCrawler
and the other crawlers do.
A workaround is to use a zip file on the class path since ZipJarCrawler
does correctly handle file names.