This is an automated email from the ASF dual-hosted git repository.

wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 5c08300148 [Improve] Skip downloading transitive dependency when 
install plugins (#7374)
5c08300148 is described below

commit 5c08300148c65bd9a71358b10d19db7b6c5d84a7
Author: Manhua <[email protected]>
AuthorDate: Wed Aug 21 22:19:36 2024 +0800

    [Improve] Skip downloading transitive dependency when install plugins 
(#7374)
---
 bin/install-plugin.cmd | 2 +-
 bin/install-plugin.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/install-plugin.cmd b/bin/install-plugin.cmd
index 0d1ee99168..be82e001bd 100644
--- a/bin/install-plugin.cmd
+++ b/bin/install-plugin.cmd
@@ -45,7 +45,7 @@ for /f "usebackq delims=" %%a in 
("%SEATUNNEL_HOME%\config\plugin_config") do (
     setlocal enabledelayedexpansion
     if "!line:~0,1!" neq "-" if "!line:~0,1!" neq "#" (
         echo install connector : !line!
-        call "%SEATUNNEL_HOME%\mvnw.cmd" dependency:get 
-DgroupId="org.apache.seatunnel" -DartifactId="!line!" -Dversion="%version%" 
-Ddest="%SEATUNNEL_HOME%\connectors"
+        call "%SEATUNNEL_HOME%\mvnw.cmd" dependency:get -Dtransitive=false 
-DgroupId="org.apache.seatunnel" -DartifactId="!line!" -Dversion="%version%" 
-Ddest="%SEATUNNEL_HOME%\connectors"
     )
     endlocal
 )
diff --git a/bin/install-plugin.sh b/bin/install-plugin.sh
index b5375c2a5e..1938caf30c 100755
--- a/bin/install-plugin.sh
+++ b/bin/install-plugin.sh
@@ -45,7 +45,7 @@ while read line; do
     if [ "$first_char" != "-" ] && [ "$first_char" != "#" ] && [ ! -z 
$first_char ]
        then
                echo "install connector : " $line
-               ${SEATUNNEL_HOME}/mvnw dependency:get 
-DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} 
-Ddest=${SEATUNNEL_HOME}/connectors
+               ${SEATUNNEL_HOME}/mvnw dependency:get -Dtransitive=false 
-DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} 
-Ddest=${SEATUNNEL_HOME}/connectors
     fi
 
 done < ${SEATUNNEL_HOME}/config/plugin_config

Reply via email to