Registry / utility / plexus-velocity

plexus-velocity

JSON →
library2.3.0javamavenunverified

Plexus component integrating Apache Velocity templating engine for text generation.

<dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-velocity</artifactId> <version>2.3.0</version> </dependency>
INSTALL
IMPORT
SIG · PLEXUS-VELOCITY
P
plexus-velocity
utilityjavav2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VelocityComponent
org.codehaus.plexus.velocity.VelocityComponent

Initializes Velocity and merges a template with a context.

import org.codehaus.plexus.velocity.VelocityComponent; import org.apache.velocity.VelocityContext; public class Example { public static void main(String[] args) { VelocityComponent vc = new VelocityComponent(); vc.initialize(); VelocityContext context = new VelocityContext(); context.put("name", "World"); StringWriter writer = new StringWriter(); vc.getTemplate("hello.vm").merge(context, writer); System.out.println(writer.toString()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
plexus-velocity — mvn dependency:get plexus-velocity · libregistry