diff --git a/tools/docker/build/scaleph-seatunnel/install-plugin.sh b/tools/docker/build/scaleph-seatunnel/install-plugin.sh index 02b01b584..b66c99477 100755 --- a/tools/docker/build/scaleph-seatunnel/install-plugin.sh +++ b/tools/docker/build/scaleph-seatunnel/install-plugin.sh @@ -31,9 +31,9 @@ if [ -n "$1" ]; then fi echo "Install SeaTunnel plugin dependencis" -mkdir ${SEATUNNEL_HOME}/plugins/mysql-cdc/lib +mkdir -p ${SEATUNNEL_HOME}/plugins/mysql-cdc/lib ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=8.0.28 -Ddest=${SEATUNNEL_HOME}/plugins/mysql-cdc/lib -mkdir ${SEATUNNEL_HOME}/plugins/jdbc/lib +mkdir -p ${SEATUNNEL_HOME}/plugins/jdbc/lib ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=mysql -DartifactId=mysql-connector-java -Dversion=8.0.28 -Ddest=${SEATUNNEL_HOME}/plugins/jdbc/lib echo "Install SeaTunnel connectors plugins, usage version is ${version}"