mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 13:48:10 +08:00
053e548bf3
* improvement:check status of taskInstance from cache * issue5572 use timer instead of while&sleep; consider concurrent modification * use computeifpresent instead of lock * simplify getByTaskInstanceId function * add ut for TaskInstanceCacheManagerImpl; fix bug in TaskInstanceCacheManagerImpl * add Apache license header;add test class in root pom
1205 lines
61 KiB
XML
1205 lines
61 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ 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.
|
|
-->
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler</artifactId>
|
|
<version>1.3.6-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>${project.artifactId}</name>
|
|
<url>http://dolphinscheduler.apache.org</url>
|
|
<description>Dolphin Scheduler is a distributed and easy-to-expand visual DAG workflow scheduling system, dedicated
|
|
to solving the complex dependencies in data processing, making the scheduling system out of the box for data
|
|
processing.
|
|
</description>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>scm:git:https://github.com/apache/dolphinscheduler.git</connection>
|
|
<developerConnection>scm:git:https://github.com/apache/dolphinscheduler.git</developerConnection>
|
|
<url>https://github.com/apache/dolphinscheduler</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>DolphinScheduler Developer List</name>
|
|
<post>dev@dolphinscheduler.apache.org</post>
|
|
<subscribe>dev-subscribe@dolphinscheduler.apache.org</subscribe>
|
|
<unsubscribe>dev-unsubscribe@dolphinscheduler.apache.org</unsubscribe>
|
|
</mailingList>
|
|
</mailingLists>
|
|
<parent>
|
|
<groupId>org.apache</groupId>
|
|
<artifactId>apache</artifactId>
|
|
<version>21</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<curator.version>4.3.0</curator.version>
|
|
<zookeeper.version>3.4.14</zookeeper.version>
|
|
<spring.version>5.1.19.RELEASE</spring.version>
|
|
<spring.boot.version>2.1.18.RELEASE</spring.boot.version>
|
|
<java.version>1.8</java.version>
|
|
<logback.version>1.2.3</logback.version>
|
|
<hadoop.version>2.7.3</hadoop.version>
|
|
<quartz.version>2.3.0</quartz.version>
|
|
<jackson.version>2.10.5</jackson.version>
|
|
<mybatis-plus.version>3.2.0</mybatis-plus.version>
|
|
<mybatis.spring.version>2.0.1</mybatis.spring.version>
|
|
<cron.utils.version>5.0.5</cron.utils.version>
|
|
<druid.version>1.1.22</druid.version>
|
|
<h2.version>1.4.200</h2.version>
|
|
<commons.codec.version>1.11</commons.codec.version>
|
|
<commons.logging.version>1.1.1</commons.logging.version>
|
|
<httpclient.version>4.4.1</httpclient.version>
|
|
<httpcore.version>4.4.1</httpcore.version>
|
|
<junit.version>4.12</junit.version>
|
|
<mysql.connector.version>5.1.34</mysql.connector.version>
|
|
<slf4j.api.version>1.7.5</slf4j.api.version>
|
|
<slf4j.log4j12.version>1.7.5</slf4j.log4j12.version>
|
|
<commons.collections.version>3.2.2</commons.collections.version>
|
|
<commons.httpclient>3.0.1</commons.httpclient>
|
|
<commons.beanutils.version>1.9.4</commons.beanutils.version>
|
|
<commons.configuration.version>1.10</commons.configuration.version>
|
|
<commons.email.version>1.5</commons.email.version>
|
|
<poi.version>4.1.2</poi.version>
|
|
<javax.servlet.api.version>3.1.0</javax.servlet.api.version>
|
|
<commons.collections4.version>4.1</commons.collections4.version>
|
|
<guava.version>24.1-jre</guava.version>
|
|
<postgresql.version>42.2.5</postgresql.version>
|
|
<hive.jdbc.version>2.1.0</hive.jdbc.version>
|
|
<commons.io.version>2.4</commons.io.version>
|
|
<oshi.core.version>3.9.1</oshi.core.version>
|
|
<clickhouse.jdbc.version>0.1.52</clickhouse.jdbc.version>
|
|
<mssql.jdbc.version>6.1.0.jre8</mssql.jdbc.version>
|
|
<presto.jdbc.version>0.238.1</presto.jdbc.version>
|
|
<spotbugs.version>3.1.12</spotbugs.version>
|
|
<checkstyle.version>3.0.0</checkstyle.version>
|
|
<zookeeper.version>3.4.14</zookeeper.version>
|
|
<curator.test>2.12.0</curator.test>
|
|
<frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
|
|
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
|
|
<maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
|
|
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
|
|
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
|
|
<maven-source-plugin.version>2.4</maven-source-plugin.version>
|
|
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
|
|
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
|
|
<rpm-maven-plugion.version>2.2.0</rpm-maven-plugion.version>
|
|
<jacoco.version>0.8.4</jacoco.version>
|
|
<jcip.version>1.0</jcip.version>
|
|
<maven.deploy.skip>false</maven.deploy.skip>
|
|
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
|
|
<mockito.version>2.21.0</mockito.version>
|
|
<powermock.version>2.0.2</powermock.version>
|
|
<servlet-api.version>2.5</servlet-api.version>
|
|
<swagger.version>1.9.3</swagger.version>
|
|
<springfox.version>2.9.2</springfox.version>
|
|
<swagger-models.version>1.5.24</swagger-models.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>
|
|
<protostuff.version>1.7.2</protostuff.version>
|
|
<reflections.version>0.9.12</reflections.version>
|
|
<byte-buddy.version>1.9.16</byte-buddy.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
<!-- quartz-->
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<version>${quartz.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz-jobs</artifactId>
|
|
<version>${quartz.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cronutils</groupId>
|
|
<artifactId>cron-utils</artifactId>
|
|
<version>${cron.utils.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-alert-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-registry-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-dao</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-remote</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-service</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-alert</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-spi</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-framework</artifactId>
|
|
<version>${curator.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
<version>${zookeeper.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>netty</artifactId>
|
|
<groupId>io.netty</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-annotations</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-client</artifactId>
|
|
<version>${curator.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j-1.2-api</groupId>
|
|
<artifactId>org.apache.logging.log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-recipes</artifactId>
|
|
<version>${curator.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-test</artifactId>
|
|
<version>${curator.test}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>${commons.codec.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>${commons.logging.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${httpclient.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>${httpcore.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<!--protostuff-->
|
|
<!-- https://mvnrepository.com/artifact/io.protostuff/protostuff-core -->
|
|
<dependency>
|
|
<groupId>io.protostuff</groupId>
|
|
<artifactId>protostuff-core</artifactId>
|
|
<version>${protostuff.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/io.protostuff/protostuff-runtime -->
|
|
<dependency>
|
|
<groupId>io.protostuff</groupId>
|
|
<artifactId>protostuff-runtime</artifactId>
|
|
<version>${protostuff.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.bytebuddy</groupId>
|
|
<artifactId>byte-buddy</artifactId>
|
|
<version>${byte-buddy.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>${reflections.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
<version>${powermock.version}</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
<version>${powermock.version}</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.connector.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${h2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.log4j12.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>${commons.collections.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-httpclient</groupId>
|
|
<artifactId>commons-httpclient</artifactId>
|
|
<version>${commons.httpclient}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>${commons.beanutils.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-configuration</groupId>
|
|
<artifactId>commons-configuration</artifactId>
|
|
<version>${commons.configuration.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-email</artifactId>
|
|
<version>${commons.email.version}</version>
|
|
</dependency>
|
|
|
|
<!--excel poi-->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- hadoop -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
<version>${hadoop.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>com.sun.jersey</artifactId>
|
|
<groupId>jersey-json</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-client</artifactId>
|
|
<version>${hadoop.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
<version>${hadoop.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
|
<version>${hadoop.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-aws</artifactId>
|
|
<version>${hadoop.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-collections4</artifactId>
|
|
<version>${commons.collections4.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hive</groupId>
|
|
<artifactId>hive-jdbc</artifactId>
|
|
<version>${hive.jdbc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons.io.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<version>${oshi.core.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ru.yandex.clickhouse</groupId>
|
|
<artifactId>clickhouse-jdbc</artifactId>
|
|
<version>${clickhouse.jdbc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>${mssql.jdbc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.facebook.presto</groupId>
|
|
<artifactId>presto-jdbc</artifactId>
|
|
<version>${presto.jdbc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.jcip</groupId>
|
|
<artifactId>jcip-annotations</artifactId>
|
|
<version>${jcip.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>${javax.servlet.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${springfox.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>${swagger-models.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.rholder</groupId>
|
|
<artifactId>guava-retrying</artifactId>
|
|
<version>${guava-retry.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.sonatype.aether</groupId>
|
|
<artifactId>aether-api</artifactId>
|
|
<version>1.13.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.airlift.resolver</groupId>
|
|
<artifactId>resolver</artifactId>
|
|
<version>1.5</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>6.2.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<finalName>apache-dolphinscheduler-${project.version}</finalName>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>ca.vanzyl.maven.plugins</groupId>
|
|
<artifactId>provisio-maven-plugin</artifactId>
|
|
<version>1.0.4</version>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>rpm-maven-plugin</artifactId>
|
|
<version>${rpm-maven-plugion.version}</version>
|
|
<inherited>false</inherited>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<testSource>${java.version}</testSource>
|
|
<testTarget>${java.version}</testTarget>
|
|
</configuration>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
<configuration>
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<source>8</source>
|
|
<failOnError>false</failOnError>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-source-plugin.version}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.dolphinscheduler</groupId>
|
|
<artifactId>dolphinscheduler-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<!--<configuration>-->
|
|
<!--<allowedProvidedDependencies>-->
|
|
<!--<allowedProvidedDependency>org.apache.dolphinscheduler:dolphinscheduler-common</allowedProvidedDependency>-->
|
|
<!--</allowedProvidedDependencies>-->
|
|
<!--</configuration>-->
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>ca.vanzyl.maven.plugins</groupId>
|
|
<artifactId>provisio-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
<charset>${project.build.sourceEncoding}</charset>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<docencoding>${project.build.sourceEncoding}</docencoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
|
<tagBase>${project.version}</tagBase>
|
|
<!--<goals>-f pom.xml deploy</goals>-->
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-provider-jgit</artifactId>
|
|
<version>1.9.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<skip>false</skip><!--not skip compile test classes-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<includes>
|
|
<!--registry plugin -->
|
|
<include>**/plugin/registry/zookeeper/ZookeeperRegistryTest.java</include>
|
|
<!-- API -->
|
|
<include>**/api/controller/ProjectControllerTest.java</include>
|
|
<include>**/api/controller/QueueControllerTest.java</include>
|
|
<include>**/api/configuration/TrafficConfigurationTest.java</include>
|
|
<include>**/api/controller/ProcessDefinitionControllerTest.java</include>
|
|
<include>**/api/controller/TenantControllerTest.java</include>
|
|
<include>**/api/dto/resources/filter/ResourceFilterTest.java</include>
|
|
<include>**/api/dto/resources/visitor/ResourceTreeVisitorTest.java</include>
|
|
<includeDataxTaskTest>**/api/enums/testGetEnum.java</includeDataxTaskTest>
|
|
<include>**/api/enums/StatusTest.java</include>
|
|
<include>**/api/exceptions/ApiExceptionHandlerTest.java</include>
|
|
<include>**/api/exceptions/ServiceExceptionTest.java</include>
|
|
<include>**/api/interceptor/LocaleChangeInterceptorTest.java</include>
|
|
<include>**/api/interceptor/LoginHandlerInterceptorTest.java</include>
|
|
<include>**/api/interceptor/RateLimitInterceptorTest.java</include>
|
|
<include>**/api/security/impl/pwd/PasswordAuthenticatorTest.java</include>
|
|
<include>**/api/security/impl/ldap/LdapAuthenticatorTest.java</include>
|
|
<include>**/api/security/SecurityConfigLDAPTest.java</include>
|
|
<include>**/api/security/SecurityConfigPasswordTest.java</include>
|
|
<include>**/api/service/AccessTokenServiceTest.java</include>
|
|
<include>**/api/service/AlertGroupServiceTest.java</include>
|
|
<include>**/api/service/BaseDAGServiceTest.java</include>
|
|
<include>**/api/service/BaseServiceTest.java</include>
|
|
<include>**/api/service/DataAnalysisServiceTest.java</include>
|
|
<include>**/api/service/AlertPluginInstanceServiceTest.java</include>
|
|
<include>**/api/service/DataSourceServiceTest.java</include>
|
|
<include>**/api/service/ExecutorService2Test.java</include>
|
|
<include>**/api/service/ExecutorServiceTest.java</include>
|
|
<include>**/api/service/LoggerServiceTest.java</include>
|
|
<include>**/api/service/MonitorServiceTest.java</include>
|
|
<include>**/api/service/ProcessDefinitionServiceTest.java</include>
|
|
<include>**/api/service/ProcessTaskRelationServiceImplTest.java</include>
|
|
<include>**/api/service/TaskDefinitionServiceImplTest.java</include>
|
|
<include>**/api/service/ProcessInstanceServiceTest.java</include>
|
|
<include>**/api/service/ProjectServiceTest.java</include>
|
|
<include>**/api/service/QueueServiceTest.java</include>
|
|
<include>**/api/service/ResourcesServiceTest.java</include>
|
|
<include>**/api/service/SchedulerServiceTest.java</include>
|
|
<include>**/api/service/SessionServiceTest.java</include>
|
|
<include>**/api/service/TaskInstanceServiceTest.java</include>
|
|
<include>**/api/service/TenantServiceTest.java</include>
|
|
<include>**/api/service/UdfFuncServiceTest.java</include>
|
|
<include>**/api/service/UiPluginServiceTest.java</include>
|
|
<include>**/api/service/UserAlertGroupServiceTest.java</include>
|
|
<include>**/api/service/UsersServiceTest.java</include>
|
|
<include>**/api/service/WorkerGroupServiceTest.java</include>
|
|
<include>**/api/service/WorkFlowLineageServiceTest.java</include>
|
|
<include>**/api/controller/ProcessDefinitionControllerTest.java</include>
|
|
<include>**/api/controller/TaskInstanceControllerTest.java</include>
|
|
<include>**/api/controller/WorkFlowLineageControllerTest.java</include>
|
|
<include>**/api/utils/exportprocess/DataSourceParamTest.java</include>
|
|
<include>**/api/utils/exportprocess/DependentParamTest.java</include>
|
|
<include>**/api/utils/CheckUtilsTest.java</include>
|
|
<include>**/api/utils/FileUtilsTest.java</include>
|
|
<include>**/api/utils/CheckUtilsTest.java</include>
|
|
<include>**/api/utils/CheckUtilsTest.java</include>
|
|
<include>**/api/utils/ResultTest.java</include>
|
|
<include>**/common/graph/DAGTest.java</include>
|
|
<include>**/common/os/OshiTest.java</include>
|
|
<include>**/common/os/OSUtilsTest.java</include>
|
|
<include>**/common/shell/ShellExecutorTest.java</include>
|
|
<include>**/common/task/DataxParametersTest.java</include>
|
|
<include>**/common/task/EntityTestUtils.java</include>
|
|
<include>**/common/task/FlinkParametersTest.java</include>
|
|
<include>**/common/task/HttpParametersTest.java</include>
|
|
<include>**/common/task/SparkParametersTest.java</include>
|
|
<include>**/common/task/SqlParametersTest.java</include>
|
|
<include>**/common/task/SqoopParameterEntityTest.java</include>
|
|
<include>**/common/threadutils/ThreadPoolExecutorsTest.java</include>
|
|
<include>**/common/threadutils/ThreadUtilsTest.java</include>
|
|
<include>**/common/utils/CollectionUtilsTest.java</include>
|
|
<include>**/common/utils/CommonUtilsTest.java</include>
|
|
<include>**/common/utils/DateUtilsTest.java</include>
|
|
<include>**/common/utils/DependentUtilsTest.java</include>
|
|
<include>**/common/utils/EncryptionUtilsTest.java</include>
|
|
<include>**/common/utils/FileUtilsTest.java</include>
|
|
<include>**/common/utils/JSONUtilsTest.java</include>
|
|
<include>**/common/utils/LoggerUtilsTest.java</include>
|
|
<include>**/common/utils/NetUtilsTest.java</include>
|
|
<include>**/common/utils/OSUtilsTest.java</include>
|
|
<include>**/common/utils/ParameterUtilsTest.java</include>
|
|
<include>**/common/utils/TimePlaceholderUtilsTest.java</include>
|
|
<include>**/common/utils/PreconditionsTest.java</include>
|
|
<include>**/common/utils/PropertyUtilsTest.java</include>
|
|
<include>**/common/utils/SchemaUtilsTest.java</include>
|
|
<include>**/common/utils/ScriptRunnerTest.java</include>
|
|
<include>**/common/utils/SensitiveLogUtilsTest.java</include>
|
|
<include>**/common/utils/StringTest.java</include>
|
|
<include>**/common/utils/StringUtilsTest.java</include>
|
|
<include>**/common/utils/TaskParametersUtilsTest.java</include>
|
|
<include>**/common/utils/VarPoolUtilsTest.java</include>
|
|
<include>**/common/utils/HadoopUtilsTest.java</include>
|
|
<include>**/common/utils/HttpUtilsTest.java</include>
|
|
<include>**/common/utils/KerberosHttpClientTest.java</include>
|
|
<include>**/common/utils/HiveConfUtilsTest.java</include>
|
|
<include>**/common/ConstantsTest.java</include>
|
|
<include>**/common/utils/HadoopUtils.java</include>
|
|
<include>**/common/utils/RetryerUtilsTest.java</include>
|
|
<include>**/common/datasource/clickhouse/ClickHouseDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/db2/Db2DatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/hive/HiveDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/mysql/MysqlDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/oracle/OracleDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/postgresql/PostgreSqlDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/presto/PrestoDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/spark/SparkDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/sqlserver/SqlServerDatasourceProcessorTest.java</include>
|
|
<include>**/common/datasource/DatasourceUtilTest.java</include>
|
|
<include>**/common/enums/ExecutionStatusTest</include>
|
|
<include>**/dao/mapper/AccessTokenMapperTest.java</include>
|
|
<include>**/dao/mapper/AlertGroupMapperTest.java</include>
|
|
<include>**/dao/mapper/CommandMapperTest.java</include>
|
|
<include>**/dao/mapper/ConnectionFactoryTest.java</include>
|
|
<include>**/dao/mapper/DataSourceMapperTest.java</include>
|
|
<include>**/dao/datasource/MySQLDataSourceTest.java</include>
|
|
<include>**/dao/entity/TaskInstanceTest.java</include>
|
|
<include>**/dao/entity/UdfFuncTest.java</include>
|
|
<include>**/remote/command/alert/AlertSendRequestCommandTest.java</include>
|
|
<include>**/remote/command/alert/AlertSendResponseCommandTest.java</include>
|
|
<include>**/remote/command/future/ResponseFutureTest.java</include>
|
|
<include>**/remote/command/log/RemoveTaskLogRequestCommandTest.java</include>
|
|
<include>**/remote/command/log/RemoveTaskLogResponseCommandTest.java</include>
|
|
<include>**/remote/command/log/GetLogBytesRequestCommandTest.java</include>
|
|
<include>**/remote/command/log/GetLogBytesResponseCommandTest.java</include>
|
|
<include>**/remote/command/log/ViewLogRequestCommandTest.java</include>
|
|
<include>**/remote/utils/HostTest.java</include>
|
|
<include>**/remote/utils/NettyUtilTest.java</include>
|
|
<include>**/remote/NettyRemotingClientTest.java</include>
|
|
<include>**/rpc/RpcTest.java</include>
|
|
<include>**/server/log/LoggerServerTest.java</include>
|
|
<include>**/server/entity/SQLTaskExecutionContextTest.java</include>
|
|
<include>**/server/log/MasterLogFilterTest.java</include>
|
|
<include>**/server/log/SensitiveDataConverterTest.java</include>
|
|
<include>**/server/log/LoggerRequestProcessorTest.java</include>
|
|
<!--<include>**/server/log/TaskLogDiscriminatorTest.java</include>-->
|
|
<include>**/server/log/TaskLogFilterTest.java</include>
|
|
<include>**/server/log/WorkerLogFilterTest.java</include>
|
|
<include>**/server/master/cache/impl/TaskInstanceCacheManagerImplTest.java</include>
|
|
<include>**/server/master/config/MasterConfigTest.java</include>
|
|
<include>**/server/master/consumer/TaskPriorityQueueConsumerTest.java</include>
|
|
<include>**/server/master/runner/MasterTaskExecThreadTest.java</include>
|
|
<!--<include>**/server/master/dispatch/executor/NettyExecutorManagerTest.java</include>-->
|
|
<include>**/server/master/dispatch/host/assign/LowerWeightRoundRobinTest.java</include>
|
|
<include>**/server/master/dispatch/host/assign/RandomSelectorTest.java</include>
|
|
<include>**/server/master/dispatch/host/assign/RoundRobinSelectorTest.java</include>
|
|
<include>**/server/master/dispatch/host/assign/HostWorkerTest.java</include>
|
|
<include>**/server/master/registry/MasterRegistryClientTest.java</include>
|
|
<include>**/server/master/registry/ServerNodeManagerTest.java</include>
|
|
<include>**/server/master/dispatch/host/assign/RoundRobinHostManagerTest.java</include>
|
|
<include>**/server/master/MasterCommandTest.java</include>
|
|
<include>**/server/master/DependentTaskTest.java</include>
|
|
<include>**/server/master/ConditionsTaskTest.java</include>
|
|
<include>**/server/master/MasterExecThreadTest.java</include>
|
|
<include>**/server/master/ParamsTest.java</include>
|
|
<include>**/server/master/SubProcessTaskTest.java</include>
|
|
<include>**/server/master/processor/TaskAckProcessorTest.java</include>
|
|
<include>**/server/master/processor/TaskKillResponseProcessorTest.java</include>
|
|
<include>**/server/master/processor/queue/TaskResponseServiceTest.java</include>
|
|
<include>**/server/master/zk/ZKMasterClientTest.java</include>
|
|
<include>**/server/registry/ZookeeperRegistryCenterTest.java</include>
|
|
<include>**/server/utils/DataxUtilsTest.java</include>
|
|
<include>**/server/utils/ExecutionContextTestUtils.java</include>
|
|
<include>**/server/utils/FlinkArgsUtilsTest.java</include>
|
|
<include>**/server/utils/LogUtilsTest.java</include>
|
|
<include>**/server/utils/MapReduceArgsUtilsTest.java</include>
|
|
<include>**/server/utils/ParamUtilsTest.java</include>
|
|
<include>**/server/utils/ProcessUtilsTest.java</include>
|
|
<include>**/server/utils/SparkArgsUtilsTest.java</include>
|
|
<include>**/server/worker/processor/TaskCallbackServiceTest.java</include>
|
|
<include>**/server/worker/processor/TaskExecuteProcessorTest.java</include>
|
|
<include>**/server/worker/registry/WorkerRegistryTest.java</include>
|
|
<include>**/server/worker/shell/ShellCommandExecutorTest.java</include>
|
|
<include>**/server/worker/sql/SqlExecutorTest.java</include>
|
|
<include>**/server/worker/task/spark/SparkTaskTest.java</include>
|
|
<include>**/server/worker/task/spark/SparkTaskTest.java</include>
|
|
<include>**/server/worker/task/datax/DataxTaskTest.java</include>
|
|
<!--<include>**/server/worker/task/http/HttpTaskTest.java</include>-->
|
|
<include>**/server/worker/task/sqoop/SqoopTaskTest.java</include>
|
|
<include>**/server/worker/task/processdure/ProcedureTaskTest.java</include>
|
|
<include>**/server/worker/task/shell/ShellTaskTest.java</include>
|
|
<include>**/server/worker/task/TaskManagerTest.java</include>
|
|
<include>**/server/worker/task/AbstractCommandExecutorTest.java</include>
|
|
<include>**/server/worker/task/PythonCommandExecutorTest.java</include>
|
|
<include>**/server/worker/task/ShellTaskReturnTest.java</include>
|
|
<include>**/server/worker/task/sql/SqlTaskTest.java</include>
|
|
<include>**/server/worker/runner/TaskExecuteThreadTest.java</include>
|
|
<include>**/server/worker/runner/WorkerManagerThreadTest.java</include>
|
|
<include>**/service/quartz/cron/CronUtilsTest.java</include>
|
|
<include>**/service/process/ProcessServiceTest.java</include>
|
|
<include>**/service/registry/RegistryClientTest.java</include>
|
|
<include>**/service/registry/RegistryPluginTest.java</include>
|
|
<include>**/service/queue/TaskUpdateQueueTest.java</include>
|
|
<include>**/service/queue/PeerTaskInstancePriorityQueueTest.java</include>
|
|
<include>**/service/log/LogClientServiceTest.java</include>
|
|
<include>**/service/alert/AlertClientServiceTest.java</include>
|
|
<include>**/service/alert/ProcessAlertManagerTest.java</include>
|
|
<include>**/dao/mapper/DataSourceUserMapperTest.java</include>
|
|
<!--<iTaskUpdateQueueConsumerThreadnclude>**/dao/mapper/ErrorCommandMapperTest.java</iTaskUpdateQueueConsumerThreadnclude>-->
|
|
<include>**/dao/mapper/ProcessDefinitionMapperTest.java</include>
|
|
<include>**/dao/mapper/ProcessInstanceMapMapperTest.java</include>
|
|
<include>**/dao/mapper/ProcessInstanceMapperTest.java</include>
|
|
<include>**/dao/mapper/ProjectMapperTest.java</include>
|
|
<include>**/dao/mapper/ProjectUserMapperTest.java</include>
|
|
<include>**/dao/mapper/QueueMapperTest.java</include>
|
|
<include>**/dao/mapper/ResourceUserMapperTest.java</include>
|
|
<include>**/dao/mapper/ScheduleMapperTest.java</include>
|
|
<include>**/dao/mapper/SessionMapperTest.java</include>
|
|
<include>**/dao/mapper/TaskInstanceMapperTest.java</include>
|
|
<include>**/dao/mapper/TenantMapperTest.java</include>
|
|
<include>**/dao/mapper/UdfFuncMapperTest.java</include>
|
|
<include>**/dao/mapper/UDFUserMapperTest.java</include>
|
|
<include>**/dao/mapper/UserMapperTest.java</include>
|
|
<include>**/dao/mapper/AlertPluginInstanceMapperTest.java</include>
|
|
<include>**/dao/mapper/PluginDefineTest.java</include>
|
|
<include>**/dao/utils/DagHelperTest.java</include>
|
|
<include>**/dao/AlertDaoTest.java</include>
|
|
<include>**/dao/datasource/OracleDataSourceTest.java</include>
|
|
<include>**/dao/datasource/HiveDataSourceTest.java</include>
|
|
<include>**/dao/datasource/BaseDataSourceTest.java</include>
|
|
<include>**/dao/upgrade/ProcessDefinitionDaoTest.java</include>
|
|
<include>**/dao/upgrade/WokrerGrouopDaoTest.java</include>
|
|
<include>**/dao/upgrade/UpgradeDaoTest.java</include>
|
|
<include>**/plugin/alert/email/EmailAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/email/EmailAlertChannelTest.java</include>
|
|
<include>**/plugin/alert/email/ExcelUtilsTest.java</include>
|
|
<include>**/plugin/alert/email/MailUtilsTest.java</include>
|
|
<include>**/plugin/alert/email/template/DefaultHTMLTemplateTest.java</include>
|
|
<include>**/plugin/alert/dingtalk/DingTalkSenderTest.java</include>
|
|
<include>**/plugin/alert/dingtalk/DingTalkAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/wechat/WeChatSenderTest.java</include>
|
|
<include>**/plugin/alert/wechat/WeChatAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/script/ProcessUtilsTest.java</include>
|
|
<include>**/plugin/alert/script/ScriptAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/script/ScriptSenderTest.java</include>
|
|
<include>**/plugin/alert/http/HttpAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/http/HttpAlertChannelTest.java</include>
|
|
<include>**/plugin/alert/feishu/FeiShuAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/feishu/FeiShuSenderTest.java</include>
|
|
<include>**/plugin/alert/http/HttpAlertPluginTest.java</include>
|
|
<include>**/plugin/alert/http/HttpSenderTest.java</include>
|
|
<include>**/plugin/alert/slack/SlackAlertChannelFactoryTest.java</include>
|
|
<include>**/plugin/alert/slack/SlackAlertPluginTest.java</include>
|
|
<include>**/plugin/alert/slack/SlackSenderTest.java</include>
|
|
<include>**/spi/params/PluginParamsTransferTest.java</include>
|
|
<include>**/spi/plugin/DolphinSchedulerPluginLoaderTest.java</include>
|
|
<include>**/alert/plugin/EmailAlertPluginTest.java</include>
|
|
<include>**/alert/plugin/AlertPluginManagerTest.java</include>
|
|
<include>**/alert/plugin/DolphinPluginLoaderTest.java</include>
|
|
<include>**/alert/utils/FuncUtilsTest.java</include>
|
|
<include>**/alert/processor/AlertRequestProcessorTest.java</include>
|
|
<include>**/alert/runner/AlertSenderTest.java</include>
|
|
<include>**/alert/AlertServerTest.java</include>
|
|
</includes>
|
|
<!-- <skip>true</skip> -->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- jenkins plugin jacoco report-->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.version}</version>
|
|
<configuration>
|
|
<destFile>target/jacoco.exec</destFile>
|
|
<dataFile>target/jacoco.exec</dataFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>jacoco-initialize</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>jacoco-site</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs.version}</version>
|
|
<configuration>
|
|
<xmlOutput>true</xmlOutput>
|
|
<threshold>medium</threshold>
|
|
<effort>default</effort>
|
|
<excludeFilterFile>dev-config/spotbugs-exclude.xml</excludeFilterFile>
|
|
<failOnError>true</failOnError>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs</artifactId>
|
|
<version>4.0.0-beta4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${checkstyle.version}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>8.18</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<consoleOutput>true</consoleOutput>
|
|
<encoding>UTF-8</encoding>
|
|
<configLocation>style/checkstyle.xml</configLocation>
|
|
<suppressionsLocation>style/checkstyle-suppressions.xml</suppressionsLocation>
|
|
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
|
|
<failOnViolation>true</failOnViolation>
|
|
<violationSeverity>warning</violationSeverity>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
<sourceDirectories>
|
|
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
|
|
</sourceDirectories>
|
|
<excludes>**\/generated-sources\/</excludes>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>${cobertura-maven-plugin.version}</version>
|
|
<configuration>
|
|
<check>
|
|
</check>
|
|
<aggregate>true</aggregate>
|
|
<outputDirectory>./target/cobertura</outputDirectory>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<quiet>true</quiet>
|
|
<format>xml</format>
|
|
<instrumentation>
|
|
<ignoreTrivial>true</ignoreTrivial>
|
|
</instrumentation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<modules>
|
|
<module>dolphinscheduler-spi</module>
|
|
<module>dolphinscheduler-alert-plugin</module>
|
|
<module>dolphinscheduler-registry-plugin</module>
|
|
<module>dolphinscheduler-ui</module>
|
|
<module>dolphinscheduler-server</module>
|
|
<module>dolphinscheduler-common</module>
|
|
<module>dolphinscheduler-api</module>
|
|
<module>dolphinscheduler-dao</module>
|
|
<module>dolphinscheduler-alert</module>
|
|
<module>dolphinscheduler-dist</module>
|
|
<module>dolphinscheduler-remote</module>
|
|
<module>dolphinscheduler-service</module>
|
|
<module>dolphinscheduler-microbench</module>
|
|
</modules>
|
|
</project>
|