Browse Source
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 #3252pull/3/MERGE
Kirs
4 years ago
committed by
GitHub
8 changed files with 89 additions and 1 deletions
@ -0,0 +1,67 @@ |
|||||||
|
<!-- |
||||||
|
~ Licensed to the Apache Software Foundation (ASF) under one or more |
||||||
|
~ contributor license agreements. See the NOTICE file distributed with |
||||||
|
~ this work for additional information regarding copyright ownership. |
||||||
|
~ The ASF licenses this file to You under the Apache License, Version 2.0 |
||||||
|
~ (the "License"); you may not use this file except in compliance with |
||||||
|
~ the License. You may obtain a copy of the License at |
||||||
|
~ |
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
~ |
||||||
|
~ Unless required by applicable law or agreed to in writing, software |
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
~ See the License for the specific language governing permissions and |
||||||
|
~ limitations under the License. |
||||||
|
--> |
||||||
|
<runtime> |
||||||
|
<!-- Target --> |
||||||
|
<archive name="${project.artifactId}-${project.version}.tar.gz" hardLinkIncludes="**/*.jar"/> |
||||||
|
<!-- Notices --> |
||||||
|
<fileSet to="/"> |
||||||
|
<directory path="${basedir}/../"> |
||||||
|
<include>DISCLAIMER</include> |
||||||
|
<include>install.sh</include> |
||||||
|
<include>LICENSE</include> |
||||||
|
<include>NOTICE</include> |
||||||
|
</directory> |
||||||
|
|
||||||
|
</fileSet> |
||||||
|
|
||||||
|
<!-- Server --> |
||||||
|
<artifactSet to="bin"> |
||||||
|
<artifact id="io.airlift:launcher:tar.gz:bin:${dep.packaging.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
<artifact id="io.airlift:launcher:tar.gz:properties:${dep.packaging.version}"> |
||||||
|
<unpack filter="true"/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
|
||||||
|
<!-- Plugins --> |
||||||
|
<artifactSet to="lib/plugin/alert/email"> |
||||||
|
<artifact id="${project.groupId}:dolphinscheduler-alert-email:zip:${project.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
<artifactSet to="lib/plugin/alert/script"> |
||||||
|
<artifact id="${project.groupId}:dolphinscheduler-alert-script:zip:${project.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
<artifactSet to="lib/plugin/alert/wechat"> |
||||||
|
<artifact id="${project.groupId}:dolphinscheduler-alert-wechat:zip:${project.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
<artifactSet to="lib/plugin/alert/dingtalk"> |
||||||
|
<artifact id="${project.groupId}:dolphinscheduler-alert-dingtalk:zip:${project.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
<artifactSet to="lib/plugin/alert/http"> |
||||||
|
<artifact id="${project.groupId}:dolphinscheduler-alert-http:zip:${project.version}"> |
||||||
|
<unpack/> |
||||||
|
</artifact> |
||||||
|
</artifactSet> |
||||||
|
</runtime> |
Loading…
Reference in new issue