diff --git a/timestamp-batch/build-timestamp-batch-image.sh b/timestamp-batch/build-timestamp-batch-image.sh
new file mode 100755
index 0000000..b6fbd43
--- /dev/null
+++ b/timestamp-batch/build-timestamp-batch-image.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "$TIMESTAMP_BATCH_TASK_VERSION" = "" ]; then
+ TIMESTAMP_BATCH_TASK_VERSION=2.0.2
+fi
+./mvnw -o clean install -DskipTests
+./mvnw -o spring-boot:build-image -DskipTests -Dspring-boot.build-image.imageName=springcloud/timestamp-batch-task:$TIMESTAMP_BATCH_TASK_VERSION
diff --git a/timestamp-batch/pom.xml b/timestamp-batch/pom.xml
index d1aa541..29769ec 100644
--- a/timestamp-batch/pom.xml
+++ b/timestamp-batch/pom.xml
@@ -5,7 +5,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.6.3
+ 2.7.5
io.spring
@@ -16,8 +16,7 @@
8
- 2021.0.0
- 21.1.0.0
+ 2021.0.5
@@ -35,11 +34,6 @@
postgresql
runtime
-
- com.oracle.database.jdbc
- ojdbc8
- runtime
-
org.mariadb.jdbc
mariadb-java-client
@@ -71,13 +65,6 @@
-
- com.oracle.database.jdbc
- ojdbc-bom
- ${oracle-jdbc.version}
- pom
- import
-
org.springframework.cloud
spring-cloud-dependencies
diff --git a/timestamp-task/build-timestamp-image.sh b/timestamp-task/build-timestamp-image.sh
new file mode 100755
index 0000000..6af4008
--- /dev/null
+++ b/timestamp-task/build-timestamp-image.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "$TIMESTAMP_TASK_VERSION" = "" ]; then
+ TIMESTAMP_TASK_VERSION=2.0.2
+fi
+./mvnw -o clean install -DskipTests
+./mvnw -o spring-boot:build-image -DskipTests -Dspring-boot.build-image.imageName=springcloud/timestamp-task:$TIMESTAMP_TASK_VERSION
diff --git a/timestamp-task/pom.xml b/timestamp-task/pom.xml
index f67a85c..9c20437 100644
--- a/timestamp-task/pom.xml
+++ b/timestamp-task/pom.xml
@@ -5,7 +5,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.6.3
+ 2.7.5
io.spring
@@ -16,8 +16,7 @@
8
- 2021.0.0
- 21.1.0.0
+ 2021.0.5
@@ -35,11 +34,6 @@
postgresql
runtime
-
- com.oracle.database.jdbc
- ojdbc8
- runtime
-
org.mariadb.jdbc
mariadb-java-client
@@ -62,13 +56,6 @@
-
- com.oracle.database.jdbc
- ojdbc-bom
- ${oracle-jdbc.version}
- pom
- import
-
org.springframework.cloud
spring-cloud-dependencies