From 6b83bee4a0e04298b7b77fb565ede33397d08742 Mon Sep 17 00:00:00 2001
From: senyer <37206562+senyer@users.noreply.github.com>
Date: Sun, 29 Dec 2019 14:58:13 +0800
Subject: [PATCH] Bump version to 0.1.2 (#394)
* Bump version to 0.1.2
* Fix
---
client/pom.xml | 2 +-
common/pom.xml | 2 +-
core/pom.xml | 2 +-
dmeta/pom.xml | 2 +-
fclt/pom.xml | 2 +-
parser/pom.xml | 2 +-
pom.xml | 2 +-
rpc/pom.xml | 2 +-
scripts/install_dst.sh | 8 ++++----
scripts/run_dst_cli.sh | 2 +-
scripts/run_dst_server.sh | 2 +-
server/pom.xml | 2 +-
test/pom.xml | 2 +-
.../java/com/distkv/dst/test/supplier/DmetaTestUtil.java | 2 +-
.../test/java/com/distkv/dst/test/supplier/TestUtil.java | 2 +-
15 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/client/pom.xml b/client/pom.xml
index c6b7bfe82..3c93c5b09 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/common/pom.xml b/common/pom.xml
index f40da3753..bb2467659 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
dst-common
diff --git a/core/pom.xml b/core/pom.xml
index 2621bbf7a..4e01d8364 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/dmeta/pom.xml b/dmeta/pom.xml
index 5c65b95a1..b84a992ca 100644
--- a/dmeta/pom.xml
+++ b/dmeta/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/fclt/pom.xml b/fclt/pom.xml
index 162b6d3d0..b984d378b 100644
--- a/fclt/pom.xml
+++ b/fclt/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/parser/pom.xml b/parser/pom.xml
index 244344d1f..f9233a0fa 100644
--- a/parser/pom.xml
+++ b/parser/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/pom.xml b/pom.xml
index b52e9e2e8..a852cd292 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.distkv
dst-superpom
pom
- 0.1.2-SNAPSHOT
+ 0.1.2
core
server
diff --git a/rpc/pom.xml b/rpc/pom.xml
index d5b1cf278..25fec5ffa 100644
--- a/rpc/pom.xml
+++ b/rpc/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/scripts/install_dst.sh b/scripts/install_dst.sh
index 2d496feb9..ca1209c15 100755
--- a/scripts/install_dst.sh
+++ b/scripts/install_dst.sh
@@ -19,8 +19,8 @@ pushd ..
mvn clean install -DskipTests
popd
-SERVER_JAR=$SCRIPT_DIR/../server/target/dst-server-0.1.2-SNAPSHOT-jar-with-dependencies.jar
-CLIENT_JAR=$SCRIPT_DIR/../client/target/dst-client-0.1.2-SNAPSHOT-jar-with-dependencies.jar
+SERVER_JAR=$SCRIPT_DIR/../server/target/dst-server-0.1.2-jar-with-dependencies.jar
+CLIENT_JAR=$SCRIPT_DIR/../client/target/dst-client-0.1.2-jar-with-dependencies.jar
SERVER_INSTALLING_DEST=/usr/local/dst-all/server
CLIENT_INSTALLING_DEST=/usr/local/dst-all/client
@@ -33,8 +33,8 @@ sudo mkdir -p $CLIENT_INSTALLING_DEST
sudo cp $SCRIPT_DIR/run_dst_server.sh $SERVER_INSTALLING_DEST/dst-server
sudo cp $SCRIPT_DIR/run_dst_cli.sh $CLIENT_INSTALLING_DEST/dst-cli
-sudo cp $SERVER_JAR $SERVER_INSTALLING_DEST/dst-server-0.1.2-SNAPSHOT-jar-with-dependencies.jar
-sudo cp $CLIENT_JAR $CLIENT_INSTALLING_DEST/dst-client-0.1.2-SNAPSHOT-jar-with-dependencies.jar
+sudo cp $SERVER_JAR $SERVER_INSTALLING_DEST/dst-server-0.1.2-jar-with-dependencies.jar
+sudo cp $CLIENT_JAR $CLIENT_INSTALLING_DEST/dst-client-0.1.2-jar-with-dependencies.jar
# create soft link to binaries.
ln -s $SERVER_INSTALLING_DEST/dst-server /usr/local/bin/dst-server
diff --git a/scripts/run_dst_cli.sh b/scripts/run_dst_cli.sh
index e69036a33..3e94c4c25 100644
--- a/scripts/run_dst_cli.sh
+++ b/scripts/run_dst_cli.sh
@@ -12,4 +12,4 @@ fi
SCRIPT_DIR=$(dirname $SCRIPT_ABS)
-java -classpath $SCRIPT_DIR/dst-client-0.1.2-SNAPSHOT-jar-with-dependencies.jar com.distkv.dst.client.commandlinetool.DstCommandLineToolStarter
+java -classpath $SCRIPT_DIR/dst-client-0.1.2-jar-with-dependencies.jar com.distkv.dst.client.commandlinetool.DstCommandLineToolStarter
diff --git a/scripts/run_dst_server.sh b/scripts/run_dst_server.sh
index 08d92d57f..65761185b 100644
--- a/scripts/run_dst_server.sh
+++ b/scripts/run_dst_server.sh
@@ -12,4 +12,4 @@ fi
SCRIPT_DIR=$(dirname $SCRIPT_ABS)
-java -classpath $SCRIPT_DIR/dst-server-0.1.2-SNAPSHOT-jar-with-dependencies.jar com.distkv.dst.server.DstServer
+java -classpath $SCRIPT_DIR/dst-server-0.1.2-jar-with-dependencies.jar com.distkv.dst.server.DstServer
diff --git a/server/pom.xml b/server/pom.xml
index 86b21f785..88adcf58c 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/test/pom.xml b/test/pom.xml
index 402715e20..beded00ae 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -5,7 +5,7 @@
dst-superpom
com.distkv
- 0.1.2-SNAPSHOT
+ 0.1.2
4.0.0
diff --git a/test/src/test/java/com/distkv/dst/test/supplier/DmetaTestUtil.java b/test/src/test/java/com/distkv/dst/test/supplier/DmetaTestUtil.java
index 94fac78ce..a427977f1 100644
--- a/test/src/test/java/com/distkv/dst/test/supplier/DmetaTestUtil.java
+++ b/test/src/test/java/com/distkv/dst/test/supplier/DmetaTestUtil.java
@@ -13,7 +13,7 @@ public class DmetaTestUtil {
private static final Logger LOGGER = LoggerFactory.getLogger(DmetaTestUtil.class);
private static final String SERVER_SUFFIX_JAR_DIR = "dmeta" + File.separator + "target"
- + File.separator + "dst-dmeta-0.1.2-SNAPSHOT-jar-with-dependencies.jar";
+ + File.separator + "dst-dmeta-0.1.2-jar-with-dependencies.jar";
private static final int NODE_NUM = 3;
private static Process[] processes = new Process[NODE_NUM];
diff --git a/test/src/test/java/com/distkv/dst/test/supplier/TestUtil.java b/test/src/test/java/com/distkv/dst/test/supplier/TestUtil.java
index e955cfcae..d002e4c35 100644
--- a/test/src/test/java/com/distkv/dst/test/supplier/TestUtil.java
+++ b/test/src/test/java/com/distkv/dst/test/supplier/TestUtil.java
@@ -14,7 +14,7 @@ public class TestUtil {
private static final int KILL_PROCESS_WAIT_TIMEOUT_SECONDS = 1;
private static final String SUFFIX_JAR_DIR = "server" + File.separator + "target"
- + File.separator + "dst-server-0.1.2-SNAPSHOT-jar-with-dependencies.jar";
+ + File.separator + "dst-server-0.1.2-jar-with-dependencies.jar";
private static Process rpcServerProcess = null;