VTL-specific features and guidance
Table of Contents
Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code.
<summary>Language Info for Velocity Template Language (VTL)</summary>
<div class="card">
<ul class="list-group list-group-flush">
<li class="list-group-item">Since PMD 5.1.0</li>
<li class="list-group-item">Implementation: <a href="https://docs.pmd-code.org/apidocs/pmd-velocity/7.0.0-SNAPSHOT/net/sourceforge/pmd/lang/velocity/VmLanguageModule.html#"><code>VmLanguageModule</code></a></li>
<li class="list-group-item">Id: velocity</li>
<li class="list-group-item">PMD: ✔️</li>
<li class="list-group-item">CPD: ✔️</li>
</ul>
</div>
Note:
The language id of the Velocity module was in PMD 6 just “vm”. In PMD 7, this has been changed to “velocity”. Also the
package name of the classes has been changed from vm to “velocity”.