From e280cf306febc2b7c343fe6b7feb9c45d4d80c34 Mon Sep 17 00:00:00 2001 From: SbloodyS <460888207@qq.com> Date: Fri, 13 Sep 2024 16:56:39 +0800 Subject: [PATCH] improvement 16096 --- dolphinscheduler-standalone-server/src/main/bin/start.sh | 2 +- tools/dependencies/check-LICENSE.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-standalone-server/src/main/bin/start.sh b/dolphinscheduler-standalone-server/src/main/bin/start.sh index a3369c7c23b3..1285dc7aabcc 100755 --- a/dolphinscheduler-standalone-server/src/main/bin/start.sh +++ b/dolphinscheduler-standalone-server/src/main/bin/start.sh @@ -54,7 +54,7 @@ for jar in $(find $DOLPHINSCHEDULER_HOME/plugins/* -name "*.jar"); do CP=$CP:"$jar" done -for jar in $(find $DOLPHINSCHEDULER_HOME/standalone-server/libs/* -name "*.jar"); do +for jar in $(find $DOLPHINSCHEDULER_HOME/standalone-server/libs/dolphinscheduler-standalone-server*.jar -name "*.jar"); do CP=$CP:"$jar" done diff --git a/tools/dependencies/check-LICENSE.sh b/tools/dependencies/check-LICENSE.sh index 9c1d58f88900..eaeb6fe3f3ab 100755 --- a/tools/dependencies/check-LICENSE.sh +++ b/tools/dependencies/check-LICENSE.sh @@ -26,7 +26,9 @@ tar -zxf dolphinscheduler-dist/target/apache-dolphinscheduler*-bin.tar.gz --stri # List all modules(jars) that belong to the DolphinScheduler itself, these will be ignored when checking the dependency # licenses -echo '=== Self modules: ' && ./mvnw --batch-mode --quiet -Dexec.executable='echo' -Dexec.args='${project.artifactId}-${project.version}*.jar' exec:exec | tee self-modules.txt +echo '=== Self modules: ' && ./mvnw --batch-mode --quiet -Dexec.executable='echo' -Dexec.args='${project.artifactId}-${project.version}.jar' exec:exec | tee self-modules.txt + +echo '=== Self modules: ' && ./mvnw --batch-mode --quiet -Dexec.executable='echo' -Dexec.args='${project.artifactId}-${project.version}-shade.jar' exec:exec | tee -a self-modules.txt echo '=== Distributed dependencies: ' && find dist -name "*.jar" -exec basename {} \; | sort | uniq | tee all-dependencies.txt