[
https://issues.apache.org/jira/browse/HBASE-29820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aman Poonia updated HBASE-29820:
--------------------------------
Description:
* *Velocity 2.4* disallows hyphens in variable names, requiring template
changes.
* Updating the syntax now prepares us for upgrading to newer Velocity versions.
* This improves compatibility with plugins like
{*}maven-remote-resources-plugin{*}, which use the latest Velocity.
* The current setup is pinned to {*}Velocity 1.7{*}, while the latest version
({*}3.3.0{*}) runs on the *Velocity 2.x engine* by default.
was:As per velocity 2.4
[guide|https://velocity.apache.org/engine/2.4/user-guide.html#variables]
variables should not contain hyphen. Moving to this syntax help us when we want
to update our plugin which uses latest velocity. Example of that is
maven-remote-resources-plugin that we use. Currently velocity version is pinned
at 1.7 and the current version out there is 3.3.0 which uses velocity 2.x
engine by default
> Bump the syntax of velocity template to align with velocity 2.x syntax
> ----------------------------------------------------------------------
>
> Key: HBASE-29820
> URL: https://issues.apache.org/jira/browse/HBASE-29820
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 3.0.0-beta-1, 4.0.0-alpha-1, 2.6.4, 2.5.13
> Reporter: Aman Poonia
> Assignee: Aman Poonia
> Priority: Minor
> Labels: pull-request-available
>
> * *Velocity 2.4* disallows hyphens in variable names, requiring template
> changes.
> * Updating the syntax now prepares us for upgrading to newer Velocity
> versions.
> * This improves compatibility with plugins like
> {*}maven-remote-resources-plugin{*}, which use the latest Velocity.
> * The current setup is pinned to {*}Velocity 1.7{*}, while the latest
> version ({*}3.3.0{*}) runs on the *Velocity 2.x engine* by default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)