Browse Source

[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
pull/3/MERGE
Kirs 4 years ago committed by GitHub
parent
commit
0f31152aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml
  2. 4
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml
  3. 4
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml
  4. 4
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml
  5. 3
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml
  6. 2
      dolphinscheduler-dist/pom.xml
  7. 67
      dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml
  8. 2
      pom.xml

4
dolphinscheduler-alert-plugin/dolphinscheduler-alert-dingtalk/pom.xml

@ -75,4 +75,8 @@
</dependency>
</dependencies>
<build>
<finalName>dolphinscheduler-alert-dingtalk-${project.version}</finalName>
</build>
</project>

4
dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/pom.xml

@ -121,4 +121,8 @@
</dependency>
</dependencies>
<build>
<finalName>dolphinscheduler-alert-email-${project.version}</finalName>
</build>
</project>

4
dolphinscheduler-alert-plugin/dolphinscheduler-alert-http/pom.xml

@ -69,4 +69,8 @@
</dependency>
</dependencies>
<build>
<finalName>dolphinscheduler-alert-http-${project.version}</finalName>
</build>
</project>

4
dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/pom.xml

@ -72,4 +72,8 @@
</dependency>
</dependencies>
<build>
<finalName>dolphinscheduler-alert-script-${project.version}</finalName>
</build>
</project>

3
dolphinscheduler-alert-plugin/dolphinscheduler-alert-wechat/pom.xml

@ -72,4 +72,7 @@
</dependencies>
<build>
<finalName>dolphinscheduler-alert-wechat-${project.version}</finalName>
</build>
</project>

2
dolphinscheduler-dist/pom.xml vendored

@ -25,7 +25,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>dolphinscheduler-dist</artifactId>
<packaging>pom</packaging>
<packaging>provisio</packaging>
<name>${project.artifactId}</name>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>

67
dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml vendored

@ -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>

2
pom.xml

@ -119,6 +119,8 @@
<swagger.version>1.9.3</swagger.version>
<springfox.version>2.9.2</springfox.version>
<guava-retry.version>2.0.0</guava-retry.version>
<dep.airlift.version>0.184</dep.airlift.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
</properties>
<dependencyManagement>

Loading…
Cancel
Save