Skip to content

Commit

Permalink
[Improve] Skip downloading transitive dependency when install plugins (
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjmh authored Aug 21, 2024
1 parent 570bbb3 commit 5c08300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/install-plugin.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion bin/install-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c08300

Please sign in to comment.