diff --git a/dist/LICENSE-dist.txt b/dist/LICENSE-dist.txt
index 98b11f2166..8ea8259d6f 100644
--- a/dist/LICENSE-dist.txt
+++ b/dist/LICENSE-dist.txt
@@ -883,6 +883,8 @@ The Apache Software License, Version 2.0
- org.hibernate:hibernate-validator:5.1.0.Final (http://validator.hibernate.org/hibernate-validator)
* HikariCP:
- com.zaxxer:HikariCP:3.4.5 (https://github.com/brettwooldridge/HikariCP)
+ * velocity:
+ - org.apache.velocity:velocity-engine-core:2.3 (https://velocity.apache.org/engine/2.3/)
* Hive Common:
- org.apache.hive:hive-common:2.3.7 (https://hive.apache.org/hive-common)
* Hive Llap Client:
diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index 0eb6dea500..e6b2280656 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -613,7 +613,18 @@ under the License.
hive-exec
core
provided
-
+
+
+ org.apache.velocity
+ velocity
+
+
+
+
+ org.apache.velocity
+ velocity-engine-core
+ 2.3
+
org.apache.hadoop
diff --git a/fe/hive-udf/pom.xml b/fe/hive-udf/pom.xml
index 9bf08cad8e..564b399062 100644
--- a/fe/hive-udf/pom.xml
+++ b/fe/hive-udf/pom.xml
@@ -43,9 +43,18 @@ under the License.
org.pentaho
*
-
+
+
+ org.apache.velocity
+ velocity
+
+
+ org.apache.velocity
+ velocity-engine-core
+ 2.3
+
${project.groupId}
fe-common
diff --git a/fe/java-udf/pom.xml b/fe/java-udf/pom.xml
index 272bd2f5ac..d8fc0da715 100644
--- a/fe/java-udf/pom.xml
+++ b/fe/java-udf/pom.xml
@@ -54,8 +54,17 @@ under the License.
org.pentaho
*
+
+ org.apache.velocity
+ velocity
+
+
+ org.apache.velocity
+ velocity-engine-core
+ 2.3
+
org.junit.jupiter