@@ -5,11 +5,27 @@ The purpose of this project is to release HiveServer2 JDBC Driver and HiveServer
5
5
Use directly in Maven.
6
6
7
7
``` xml
8
- <dependency >
9
- <groupId >io.github.linghengqian</groupId >
10
- <artifactId >hive-server2-jdbc-driver</artifactId >
11
- <version >{latest.version}</version >
12
- </dependency >
8
+
9
+ <dependencies >
10
+ <dependency >
11
+ <groupId >io.github.linghengqian</groupId >
12
+ <artifactId >hive-server2-jdbc-driver-thin</artifactId >
13
+ <version >{latest.version}</version >
14
+ </dependency >
15
+ </dependencies >
16
+ ```
17
+
18
+ Or use the Uber JAR of the HiveServer2 JDBC Driver.
19
+
20
+ ``` xml
21
+
22
+ <dependencies >
23
+ <dependency >
24
+ <groupId >io.github.linghengqian</groupId >
25
+ <artifactId >hive-server2-jdbc-driver-uber</artifactId >
26
+ <version >{latest.version}</version >
27
+ </dependency >
28
+ </dependencies >
13
29
```
14
30
15
31
## Background
@@ -21,6 +37,9 @@ but commits are filtered from the master branch.
21
37
In order to conduct faster testing in downstream projects,
22
38
this project was created by an individual developer.
23
39
40
+ It is designed to be easily integrated into the nativeTest form of the GraalVM Native Image of ` apache/shardingsphere `
41
+ or other projects.
42
+
24
43
More background at https://lists.apache.org/thread/63lr45kyh78s64spwsjxjy8zdyzprnz1 .
25
44
26
45
## Release Note
@@ -29,72 +48,4 @@ The current project has not yet carried out any release work.
29
48
30
49
## contribute
31
50
32
- Take Ubuntu WSL 22.04.4 as an example.
33
- It is assumed that ` Git ` is configured, and ` SDKMAN! ` and ` Docker Engine ` are installed.
34
-
35
- ``` shell
36
- sdk install java 8.0.422-tem
37
- sdk install maven 3.9.8
38
- ```
39
-
40
- ### How to test
41
-
42
- - Execute the following command.
43
-
44
- ``` shell
45
- sdk use java 8.0.422-tem
46
- git clone
[email protected] :apache/hive.git
47
- cd ./hive/
48
- git reset --hard b09d76e68bfba6be19733d864b3207f95265d11f
49
- mvn clean install -DskipTests
50
- mvn clean package -pl packaging -DskipTests -Pdocker
51
- cd ../
52
- git clone
[email protected] :linghengqian/hive-server2-jdbc-driver.git
53
- cd ./hive-server2-jdbc-driver/
54
- ./mvnw clean test
55
- ```
56
-
57
- ### How to publish via the central portal
58
-
59
- First set up GPG. Take Ubuntu WSL 22.04.4 as an example.
60
- Take Ubuntu WSL 22.04.4 as an example and provide your real name and email address.
61
-
62
- ``` shell
63
- gpg --gen-key
64
- gpg --list-keys
65
- gpg --keyserver keyserver.ubuntu.com --send-keys {Aloha, your keyid}
66
- ```
67
-
68
- According to https://central.sonatype.org/publish/publish-portal-maven/#credentials ,
69
- use the following command to change the content of ` ~/.m2/setting.xml ` .
70
-
71
- ``` shell
72
- sudo apt install gnome-text-editor gimp vlc nautilus x11-apps -y
73
- gnome-text-editor ~ /.m2/setting.xml
74
- ```
75
-
76
- ``` xml
77
- <settings >
78
- <servers >
79
- <server >
80
- <id >central</id >
81
- <username ><!-- your token username --> </username >
82
- <password ><!-- your token password --> </password >
83
- </server >
84
- </servers >
85
- </settings >
86
- ```
87
-
88
- Then execute the following command.
89
-
90
- ``` shell
91
- sdk use java 8.0.422-tem
92
- git clone
[email protected] :apache/hive.git
93
- cd ./hive/
94
- git reset --hard b09d76e68bfba6be19733d864b3207f95265d11f
95
- mvn clean install -DskipTests
96
- cd ../
97
- git clone
[email protected] :linghengqian/hive-server2-jdbc-driver.git
98
- cd ./hive-server2-jdbc-driver/
99
- ./mvnw -Ppublishing-via-the-central-portal -DskipTests clean deploy
100
- ```
51
+ Refer to [ CONTRIBUTING] ( ./doc/CONTRIBUTING.md ) .
0 commit comments