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