This is an automated email from the ASF dual-hosted git repository.
lgcareer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 8ef0431 done (#3752)
8ef0431 is described below
commit 8ef043151c5f1a5cc0f87edd08d1614f12b8a421
Author: Hsu Pu <[email protected]>
AuthorDate: Mon Sep 21 16:49:25 2020 +0800
done (#3752)
---
tools/dependencies/check-LICENSE.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/dependencies/check-LICENSE.sh
b/tools/dependencies/check-LICENSE.sh
index d414bd4..0072554 100755
--- a/tools/dependencies/check-LICENSE.sh
+++ b/tools/dependencies/check-LICENSE.sh
@@ -25,7 +25,9 @@ tar -zxf
dolphinscheduler-dist/target/apache-dolphinscheduler*-bin.tar.gz --stri
# 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 '=== Distributed dependencies: ' && ls dist/lib | tee all-dependencies.txt
+echo '=== Distributed dependencies: ' && find dist/lib -name "*.jar" | tee
all-dependencies.txt
+# The prefix "dist/lib/" (9 chars) should be stripped to be ready to compare
+sed -i 's/.\{9\}//' all-dependencies.txt
# Exclude all self modules(jars) to generate all third-party dependencies
echo '=== Third party dependencies: ' && grep -vf self-modules.txt
all-dependencies.txt | tee third-party-dependencies.txt