I want to read a bunch of text files, by loading them as resources using the context classloader.
URL url = Thread.currentThread() .getContextCla
You can try corn-cps
List resources = CPScanner.scanResources(new PackageNameFilter("net.sf.corn.cps.*"), new ResourceNameFilter("*.xml"));
Use the dependecy below in your pom.xml
net.sf.corn corn-cps 1.0.1