From a452a1eca17a36c86180160178dc68fb400cd6bd Mon Sep 17 00:00:00 2001 From: Zhen Wang Date: Sun, 17 Dec 2023 23:43:03 +0800 Subject: [PATCH] Fix missing antlr-runtime dependency of hive engine when using nacos discovery (#5047) --- 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