You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2023/07/17 14:18:46 UTC

[linkis] branch master updated: Compatible with hive 2.3.3 (#4778)

This is an automated email from the ASF dual-hosted git repository.

peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/master by this push:
     new f9942ed46 Compatible with hive 2.3.3 (#4778)
f9942ed46 is described below

commit f9942ed4661f48ef84c593c9950a49bd0c86b28f
Author: aiceflower <ki...@sina.com>
AuthorDate: Mon Jul 17 22:18:40 2023 +0800

    Compatible with hive 2.3.3 (#4778)
---
 linkis-engineconn-plugins/hive/pom.xml             | 44 ++++++++++++++++++++++
 .../hive/src/main/assembly/distribution.xml        |  6 ---
 2 files changed, 44 insertions(+), 6 deletions(-)

diff --git a/linkis-engineconn-plugins/hive/pom.xml b/linkis-engineconn-plugins/hive/pom.xml
index cdf943333..b79ab7be1 100644
--- a/linkis-engineconn-plugins/hive/pom.xml
+++ b/linkis-engineconn-plugins/hive/pom.xml
@@ -353,4 +353,48 @@
       </plugin>
     </plugins>
   </build>
+  <profiles>
+    <!--hive 2.3.3 by default mvn validate -Dhive.version=2.3.3 -->
+    <profile>
+      <id>hive-jersey-dependencies</id>
+      <activation>
+        <property>
+          <name>hive.version</name>
+          <value>2.3.3</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>com.sun.jersey.contribs</groupId>
+          <artifactId>jersey-apache-client4</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-client</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-server</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-core</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-json</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-servlet</artifactId>
+          <version>${jersey.version}</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>
diff --git a/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml b/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
index bfce3eaa1..667587cff 100644
--- a/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
+++ b/linkis-engineconn-plugins/hive/src/main/assembly/distribution.xml
@@ -66,12 +66,6 @@
                 <exclude>com.google.guava:guava:jar</exclude>
                 <exclude>com.google.protobuf:protobuf-java:jar</exclude>
                 <exclude>com.ning:async-http-client:jar</exclude>
-                <exclude>com.sun.jersey.contribs:jersey-apache-client4:jar</exclude>
-                <exclude>com.sun.jersey:jersey-client:jar</exclude>
-                <exclude>com.sun.jersey:jersey-core:jar</exclude>
-                <exclude>com.sun.jersey:jersey-json:jar</exclude>
-                <exclude>com.sun.jersey:jersey-server:jar</exclude>
-                <exclude>com.sun.jersey:jersey-servlet:jar</exclude>
                 <exclude>com.sun.xml.bind:jaxb-impl:jar</exclude>
                 <exclude>commons-beanutils:commons-beanutils:jar</exclude>
                 <exclude>commons-beanutils:commons-beanutils-core:jar</exclude>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org