{"id":54771,"library":"velocity-engine-core","title":"Apache Velocity Engine Core","description":"Apache Velocity is a general purpose template engine that provides a simple and powerful way to generate dynamic content from templates.","status":"active","version":"2.4.1","language":"java","source_language":null,"source_url":"https://gitbox.apache.org/repos/asf?p=velocity-engine.git","tags":["template-engine","velocity","templating","java"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.velocity</groupId>\n  <artifactId>velocity-engine-core</artifactId>\n  <version>2.4.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.velocity:velocity-engine-core:2.4.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"VelocityEngine","correct":"org.apache.velocity.app.VelocityEngine"}],"quickstart":{"code":"import org.apache.velocity.app.VelocityEngine;\nimport org.apache.velocity.Template;\nimport org.apache.velocity.VelocityContext;\nimport java.io.StringWriter;\n\npublic class Quickstart {\n    public static void main(String[] args) {\n        VelocityEngine ve = new VelocityEngine();\n        ve.init();\n        Template t = ve.getTemplate(\"hello.vm\");\n        VelocityContext context = new VelocityContext();\n        context.put(\"name\", \"World\");\n        StringWriter writer = new StringWriter();\n        t.merge(context, writer);\n        System.out.println(writer.toString());\n    }\n}","lang":"java","description":"Minimal example showing how to initialize VelocityEngine, load a template, and merge it with a context."},"warnings":[],"env_vars":null,"search_vec":"'apach':1,5 'content':23 'core':4 'dynam':22 'engin':3,12,28 'general':9 'generat':21 'java':31 'power':18 'provid':14 'purpos':10 'simpl':16 'templat':11,25,27,30 'template-engin':26 'veloc':2,6,29 'way':19","created_at":"2026-06-15T09:22:48.849821+00:00","updated_at":"2026-06-15T09:22:48.849821+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://velocity.apache.org/engine/devel/","github":null,"docs":"https://appdoc.app/artifact/org.apache.velocity/velocity-engine-core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}