File tree 4 files changed +10
-5
lines changed
hive-server2-jdbc-driver-thin
hive-server2-jdbc-driver-uber
4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,19 @@ gnome-text-editor ~/.m2/settings.xml
61
61
</settings >
62
62
```
63
63
64
- Modify the ` project.version ` or ` parent.version ` of all ` pom.xml ` to the version we need to release.
65
-
66
64
Then execute the following command.
65
+ Suppose the release to be released is ` 1.1.0 ` , and the next version is ` 1.2.0-SNAPSHOT ` .
67
66
68
67
``` shell
69
68
sdk use java 8.0.422-tem
70
69
git clone
[email protected] :linghengqian/hive-server2-jdbc-driver.git
71
70
cd ./hive-server2-jdbc-driver/
71
+ ./mvnw versions:set -DnewVersion=1.1.0
72
+ ./mvnw versions:commit
72
73
echo " test" | gpg --clearsign
73
74
./mvnw -T 1.5C -Ppublishing-via-the-central-portal -DskipTests clean deploy
75
+ ./mvnw versions:set -DnewVersion=1.2.0-SNAPSHOT
76
+ ./mvnw versions:commit
74
77
```
78
+
79
+ Log in to https://central.sonatype.com/ and manually approve the publication.
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >io.github.linghengqian</groupId >
8
8
<artifactId >hive-parent</artifactId >
9
- <version >1.1.0 </version >
9
+ <version >1.2.0-SNAPSHOT </version >
10
10
</parent >
11
11
12
12
<artifactId >hive-server2-jdbc-driver-thin</artifactId >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >io.github.linghengqian</groupId >
8
8
<artifactId >hive-parent</artifactId >
9
- <version >1.1.0 </version >
9
+ <version >1.2.0-SNAPSHOT </version >
10
10
</parent >
11
11
12
12
<artifactId >hive-server2-jdbc-driver-uber</artifactId >
Original file line number Diff line number Diff line change 5
5
<modelVersion >4.0.0</modelVersion >
6
6
<groupId >io.github.linghengqian</groupId >
7
7
<artifactId >hive-parent</artifactId >
8
- <version >1.1.0 </version >
8
+ <version >1.2.0-SNAPSHOT </version >
9
9
10
10
<packaging >pom</packaging >
11
11
<name >${project.groupId} :${project.artifactId} </name >
You can’t perform that action at this time.
0 commit comments