From 639831a0801c13e43913329680080e13753c291e Mon Sep 17 00:00:00 2001
From: wforget <643348094@qq.com>
Date: Sun, 17 Dec 2023 17:15:20 +0800
Subject: [PATCH] Fix missing antlr-runtime dependency of hive engine when
using nacos discovery
---
linkis-engineconn-plugins/hive/pom.xml | 39 +++++++++++++++++++
.../hive/src/main/assembly/distribution.xml | 1 -
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/linkis-engineconn-plugins/hive/pom.xml b/linkis-engineconn-plugins/hive/pom.xml
index b79ab7be1f..28ae9dd1ce 100644
--- a/linkis-engineconn-plugins/hive/pom.xml
+++ b/linkis-engineconn-plugins/hive/pom.xml
@@ -396,5 +396,44 @@
+
+
+
+ eureka
+
+ true
+
+ discovery
+ eureka
+
+
+
+
+
+ org.antlr
+ antlr-runtime
+ provided
+
+
+
+
+
+ nacos
+
+
+ discovery
+ nacos
+
+
+
+
+
+ org.antlr
+ antlr-runtime
+ compile
+
+
+
+
diff --git a/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml b/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
index 667587cffc..bd9d705013 100644
--- a/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
+++ b/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
@@ -104,7 +104,6 @@
javax.xml.bind:jaxb-api:jar
javax.xml.stream:stax-api:jar
mysql:mysql-connector-java:jar
- org.antlr:antlr-runtime:jar
org.antlr:stringtemplate:jar
org.apache.commons:commons-compress:jar
org.apache.commons:commons-math:jar