From 0f31152aeedf56e3a16883ded012952dbcacfc6b Mon Sep 17 00:00:00 2001 From: Kirs Date: Wed, 23 Dec 2020 13:45:40 +0800 Subject: [PATCH] [Feature-#3252][build]plugins need put in plugins dir when install (#4259) Update maven build, put the alert plugins in the ${install_dir}/lib/plugin/alert/${plugin_module_name} directory (assembly build and rpm build). Note: When adding a new plug-in, it must be reflected in provisio/dolphinscheduler.xml. this closes #3252 --- .../dolphinscheduler-alert-dingtalk/pom.xml | 4 ++ .../dolphinscheduler-alert-email/pom.xml | 4 ++ .../dolphinscheduler-alert-http/pom.xml | 4 ++ .../dolphinscheduler-alert-script/pom.xml | 4 ++ .../dolphinscheduler-alert-wechat/pom.xml | 3 + dolphinscheduler-dist/pom.xml | 2 +- .../src/main/provisio/dolphinscheduler.xml | 67 +++++++++++++++++++ pom.xml | 2 + 8 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml index 7ccd69aa01..1f9c46e5f8 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml @@ -75,4 +75,8 @@ + + dolphinscheduler-alert-dingtalk-${project.version} + + \ No newline at end of file diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml index 61b8371be8..fcc1469dde 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml @@ -121,4 +121,8 @@ + + dolphinscheduler-alert-email-${project.version} + + \ No newline at end of file diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml index 21440d86ed..ce2e0c0478 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml @@ -69,4 +69,8 @@ + + dolphinscheduler-alert-http-${project.version} + + \ No newline at end of file diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml index c1ba5aa260..6b3277fe61 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml @@ -72,4 +72,8 @@ + + dolphinscheduler-alert-script-${project.version} + + \ No newline at end of file diff --git a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml index 1362e1a651..2e729ba09d 100644 --- a/dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml +++ b/dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml @@ -72,4 +72,7 @@ + + dolphinscheduler-alert-wechat-${project.version} + \ No newline at end of file diff --git a/dolphinscheduler-dist/pom.xml b/dolphinscheduler-dist/pom.xml index b193dd85c8..e5f3d54a75 100644 --- a/dolphinscheduler-dist/pom.xml +++ b/dolphinscheduler-dist/pom.xml @@ -25,7 +25,7 @@ 4.0.0 dolphinscheduler-dist - pom + provisio ${project.artifactId} true diff --git a/dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml b/dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml new file mode 100644 index 0000000000..615965cf9a --- /dev/null +++ b/dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml @@ -0,0 +1,67 @@ + + + + + + + + DISCLAIMER + install.sh + LICENSE + NOTICE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9c154bd7f2..a2aed2974e 100644 --- a/pom.xml +++ b/pom.xml @@ -119,6 +119,8 @@ 1.9.3 2.9.2 2.0.0 + 0.184 + ${dep.airlift.version}