VelocityEngine engine = new VelocityEngine();
engine.setProperty("resource.loader", "mojave");
//TODO replace with MojaveResourceLoader
// see org.apache.velocity.tools.view.servlet.WebappLoader
engine.setProperty("mojave.resource.loader.instance", new FileResourceLoader());
Vector<String> path = new Vector<String>();
path.add("src/test/resources/standard/WEB-INF/vm");
engine.setProperty("mojave.resource.loader.path", path);
engine.init();