private static URL getResourceUrl(String resource) {
			String ref = resource.substring(11);
			ClassLoader cl = Thread.currentThread().getContextClassLoader();
			if (cl == null) {
				cl = ClasspathResourceRef.class.getClassLoader();
			}
			return cl.getResource(ref);
		}
A <code>ResourceResolver</code> that, when given a resource string which
looks like a classpath URL, will look up the referenced resource and, if it's
a file on the local file system return a direct reference to that file or if
it's a JAR resource it will create a copy of it in the cache and return a
reference to that.
src/main/java/dev/jbang/source/resolvers/ClasspathResourceResolver.java