diff --git a/bin/install-plugin.sh b/bin/install-plugin.sh index b8a1cca7149..f8dd59b3679 100755 --- a/bin/install-plugin.sh +++ b/bin/install-plugin.sh @@ -43,18 +43,11 @@ if [ ! -d ${SEATUNNEL_HOME}/connectors ]; echo "create connectors directory" fi -# create the seatunnel connectors directory (for v2) -if [ ! -d ${SEATUNNEL_HOME}/connectors/seatunnel ]; - then - mkdir ${SEATUNNEL_HOME}/connectors/seatunnel - echo "create seatunnel connectors directory" -fi - while read line; do if [ ${line:0:1} != "-" ] && [ ${line:0:1} != "#" ] then echo "install connector : " $line - ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors/seatunnel + ${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors fi done < ${SEATUNNEL_HOME}/config/plugin_config \ No newline at end of file