pom.xml 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <groupId>org.apache.dolphinscheduler</groupId>
  22. <artifactId>dolphinscheduler</artifactId>
  23. <version>1.3.6-SNAPSHOT</version>
  24. <packaging>pom</packaging>
  25. <name>${project.artifactId}</name>
  26. <url>http://dolphinscheduler.apache.org</url>
  27. <description>Dolphin Scheduler is a distributed and easy-to-expand visual DAG workflow scheduling system, dedicated
  28. to solving the complex dependencies in data processing, making the scheduling system out of the box for data
  29. processing.
  30. </description>
  31. <licenses>
  32. <license>
  33. <name>Apache License 2.0</name>
  34. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  35. <distribution>repo</distribution>
  36. </license>
  37. </licenses>
  38. <scm>
  39. <connection>scm:git:https://github.com/apache/dolphinscheduler.git</connection>
  40. <developerConnection>scm:git:https://github.com/apache/dolphinscheduler.git</developerConnection>
  41. <url>https://github.com/apache/dolphinscheduler</url>
  42. <tag>HEAD</tag>
  43. </scm>
  44. <mailingLists>
  45. <mailingList>
  46. <name>DolphinScheduler Developer List</name>
  47. <post>dev@dolphinscheduler.apache.org</post>
  48. <subscribe>dev-subscribe@dolphinscheduler.apache.org</subscribe>
  49. <unsubscribe>dev-unsubscribe@dolphinscheduler.apache.org</unsubscribe>
  50. </mailingList>
  51. </mailingLists>
  52. <parent>
  53. <groupId>org.apache</groupId>
  54. <artifactId>apache</artifactId>
  55. <version>21</version>
  56. </parent>
  57. <properties>
  58. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  59. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  60. <curator.version>4.3.0</curator.version>
  61. <zookeeper.version>3.4.14</zookeeper.version>
  62. <spring.version>5.1.19.RELEASE</spring.version>
  63. <spring.boot.version>2.1.18.RELEASE</spring.boot.version>
  64. <java.version>1.8</java.version>
  65. <logback.version>1.2.3</logback.version>
  66. <hadoop.version>2.7.3</hadoop.version>
  67. <quartz.version>2.3.0</quartz.version>
  68. <jackson.version>2.10.5</jackson.version>
  69. <mybatis-plus.version>3.2.0</mybatis-plus.version>
  70. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  71. <cron.utils.version>5.0.5</cron.utils.version>
  72. <druid.version>1.1.22</druid.version>
  73. <h2.version>1.4.200</h2.version>
  74. <commons.codec.version>1.11</commons.codec.version>
  75. <commons.logging.version>1.1.1</commons.logging.version>
  76. <httpclient.version>4.4.1</httpclient.version>
  77. <httpcore.version>4.4.1</httpcore.version>
  78. <junit.version>4.12</junit.version>
  79. <mysql.connector.version>5.1.34</mysql.connector.version>
  80. <slf4j.api.version>1.7.5</slf4j.api.version>
  81. <slf4j.log4j12.version>1.7.5</slf4j.log4j12.version>
  82. <commons.collections.version>3.2.2</commons.collections.version>
  83. <commons.httpclient>3.0.1</commons.httpclient>
  84. <commons.beanutils.version>1.9.4</commons.beanutils.version>
  85. <commons.configuration.version>1.10</commons.configuration.version>
  86. <commons.email.version>1.5</commons.email.version>
  87. <poi.version>4.1.2</poi.version>
  88. <javax.servlet.api.version>3.1.0</javax.servlet.api.version>
  89. <commons.collections4.version>4.1</commons.collections4.version>
  90. <guava.version>24.1-jre</guava.version>
  91. <postgresql.version>42.2.5</postgresql.version>
  92. <hive.jdbc.version>2.1.0</hive.jdbc.version>
  93. <commons.io.version>2.4</commons.io.version>
  94. <oshi.core.version>3.9.1</oshi.core.version>
  95. <clickhouse.jdbc.version>0.1.52</clickhouse.jdbc.version>
  96. <mssql.jdbc.version>6.1.0.jre8</mssql.jdbc.version>
  97. <presto.jdbc.version>0.238.1</presto.jdbc.version>
  98. <spotbugs.version>3.1.12</spotbugs.version>
  99. <checkstyle.version>3.1.2</checkstyle.version>
  100. <zookeeper.version>3.4.14</zookeeper.version>
  101. <curator.test>2.12.0</curator.test>
  102. <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
  103. <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
  104. <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
  105. <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
  106. <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
  107. <maven-source-plugin.version>2.4</maven-source-plugin.version>
  108. <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
  109. <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
  110. <rpm-maven-plugion.version>2.2.0</rpm-maven-plugion.version>
  111. <jacoco.version>0.8.4</jacoco.version>
  112. <jcip.version>1.0</jcip.version>
  113. <maven.deploy.skip>false</maven.deploy.skip>
  114. <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
  115. <mockito.version>2.21.0</mockito.version>
  116. <powermock.version>2.0.2</powermock.version>
  117. <servlet-api.version>2.5</servlet-api.version>
  118. <swagger.version>1.9.3</swagger.version>
  119. <springfox.version>2.9.2</springfox.version>
  120. <swagger-models.version>1.5.24</swagger-models.version>
  121. <guava-retry.version>2.0.0</guava-retry.version>
  122. <dep.airlift.version>0.184</dep.airlift.version>
  123. <dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
  124. <protostuff.version>1.7.2</protostuff.version>
  125. <reflections.version>0.9.12</reflections.version>
  126. <byte-buddy.version>1.9.16</byte-buddy.version>
  127. </properties>
  128. <dependencyManagement>
  129. <dependencies>
  130. <dependency>
  131. <groupId>com.baomidou</groupId>
  132. <artifactId>mybatis-plus-boot-starter</artifactId>
  133. <version>${mybatis-plus.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.baomidou</groupId>
  137. <artifactId>mybatis-plus</artifactId>
  138. <version>${mybatis-plus.version}</version>
  139. </dependency>
  140. <!-- quartz-->
  141. <dependency>
  142. <groupId>org.quartz-scheduler</groupId>
  143. <artifactId>quartz</artifactId>
  144. <version>${quartz.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.quartz-scheduler</groupId>
  148. <artifactId>quartz-jobs</artifactId>
  149. <version>${quartz.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.cronutils</groupId>
  153. <artifactId>cron-utils</artifactId>
  154. <version>${cron.utils.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.alibaba</groupId>
  158. <artifactId>druid</artifactId>
  159. <version>${druid.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-starter-parent</artifactId>
  164. <version>${spring.boot.version}</version>
  165. <type>pom</type>
  166. <scope>import</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework</groupId>
  170. <artifactId>spring-core</artifactId>
  171. <version>${spring.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.springframework</groupId>
  175. <artifactId>spring-context</artifactId>
  176. <version>${spring.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.springframework</groupId>
  180. <artifactId>spring-beans</artifactId>
  181. <version>${spring.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework</groupId>
  185. <artifactId>spring-tx</artifactId>
  186. <version>${spring.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework</groupId>
  190. <artifactId>spring-jdbc</artifactId>
  191. <version>${spring.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework</groupId>
  195. <artifactId>spring-test</artifactId>
  196. <version>${spring.version}</version>
  197. <scope>test</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.apache.dolphinscheduler</groupId>
  201. <artifactId>dolphinscheduler-server</artifactId>
  202. <version>${project.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.dolphinscheduler</groupId>
  206. <artifactId>dolphinscheduler-standalone-server</artifactId>
  207. <version>${project.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.dolphinscheduler</groupId>
  211. <artifactId>dolphinscheduler-common</artifactId>
  212. <version>${project.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.dolphinscheduler</groupId>
  216. <artifactId>dolphinscheduler-alert-plugin</artifactId>
  217. <version>${project.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.dolphinscheduler</groupId>
  221. <artifactId>dolphinscheduler-registry-plugin</artifactId>
  222. <version>${project.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.dolphinscheduler</groupId>
  226. <artifactId>dolphinscheduler-dao</artifactId>
  227. <version>${project.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.dolphinscheduler</groupId>
  231. <artifactId>dolphinscheduler-api</artifactId>
  232. <version>${project.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.dolphinscheduler</groupId>
  236. <artifactId>dolphinscheduler-remote</artifactId>
  237. <version>${project.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.dolphinscheduler</groupId>
  241. <artifactId>dolphinscheduler-service</artifactId>
  242. <version>${project.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.dolphinscheduler</groupId>
  246. <artifactId>dolphinscheduler-alert</artifactId>
  247. <version>${project.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.dolphinscheduler</groupId>
  251. <artifactId>dolphinscheduler-spi</artifactId>
  252. <version>${project.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.apache.curator</groupId>
  256. <artifactId>curator-framework</artifactId>
  257. <version>${curator.version}</version>
  258. <exclusions>
  259. <exclusion>
  260. <groupId>org.slf4j</groupId>
  261. <artifactId>slf4j-log4j12</artifactId>
  262. </exclusion>
  263. </exclusions>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.zookeeper</groupId>
  267. <artifactId>zookeeper</artifactId>
  268. <version>${zookeeper.version}</version>
  269. <exclusions>
  270. <exclusion>
  271. <groupId>org.slf4j</groupId>
  272. <artifactId>slf4j-log4j12</artifactId>
  273. </exclusion>
  274. <exclusion>
  275. <artifactId>netty</artifactId>
  276. <groupId>io.netty</groupId>
  277. </exclusion>
  278. <exclusion>
  279. <groupId>com.github.spotbugs</groupId>
  280. <artifactId>spotbugs-annotations</artifactId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.curator</groupId>
  286. <artifactId>curator-client</artifactId>
  287. <version>${curator.version}</version>
  288. <exclusions>
  289. <exclusion>
  290. <groupId>log4j-1.2-api</groupId>
  291. <artifactId>org.apache.logging.log4j</artifactId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.apache.curator</groupId>
  297. <artifactId>curator-recipes</artifactId>
  298. <version>${curator.version}</version>
  299. <exclusions>
  300. <exclusion>
  301. <groupId>org.apache.zookeeper</groupId>
  302. <artifactId>zookeeper</artifactId>
  303. </exclusion>
  304. </exclusions>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.apache.curator</groupId>
  308. <artifactId>curator-test</artifactId>
  309. <version>${curator.test}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>commons-codec</groupId>
  313. <artifactId>commons-codec</artifactId>
  314. <version>${commons.codec.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>commons-logging</groupId>
  318. <artifactId>commons-logging</artifactId>
  319. <version>${commons.logging.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.httpcomponents</groupId>
  323. <artifactId>httpclient</artifactId>
  324. <version>${httpclient.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.apache.httpcomponents</groupId>
  328. <artifactId>httpcore</artifactId>
  329. <version>${httpcore.version}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.fasterxml.jackson.core</groupId>
  333. <artifactId>jackson-annotations</artifactId>
  334. <version>${jackson.version}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>com.fasterxml.jackson.core</groupId>
  338. <artifactId>jackson-databind</artifactId>
  339. <version>${jackson.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.fasterxml.jackson.core</groupId>
  343. <artifactId>jackson-core</artifactId>
  344. <version>${jackson.version}</version>
  345. </dependency>
  346. <!--protostuff-->
  347. <!-- https://mvnrepository.com/artifact/io.protostuff/protostuff-core -->
  348. <dependency>
  349. <groupId>io.protostuff</groupId>
  350. <artifactId>protostuff-core</artifactId>
  351. <version>${protostuff.version}</version>
  352. </dependency>
  353. <!-- https://mvnrepository.com/artifact/io.protostuff/protostuff-runtime -->
  354. <dependency>
  355. <groupId>io.protostuff</groupId>
  356. <artifactId>protostuff-runtime</artifactId>
  357. <version>${protostuff.version}</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>net.bytebuddy</groupId>
  361. <artifactId>byte-buddy</artifactId>
  362. <version>${byte-buddy.version}</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>org.reflections</groupId>
  366. <artifactId>reflections</artifactId>
  367. <version>${reflections.version}</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>junit</groupId>
  371. <artifactId>junit</artifactId>
  372. <version>${junit.version}</version>
  373. </dependency>
  374. <dependency>
  375. <groupId>org.mockito</groupId>
  376. <artifactId>mockito-core</artifactId>
  377. <version>${mockito.version}</version>
  378. <type>jar</type>
  379. <scope>test</scope>
  380. </dependency>
  381. <dependency>
  382. <groupId>org.powermock</groupId>
  383. <artifactId>powermock-module-junit4</artifactId>
  384. <version>${powermock.version}</version>
  385. <type>jar</type>
  386. <scope>test</scope>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.powermock</groupId>
  390. <artifactId>powermock-api-mockito2</artifactId>
  391. <version>${powermock.version}</version>
  392. <type>jar</type>
  393. <scope>test</scope>
  394. <exclusions>
  395. <exclusion>
  396. <groupId>org.mockito</groupId>
  397. <artifactId>mockito-core</artifactId>
  398. </exclusion>
  399. </exclusions>
  400. </dependency>
  401. <dependency>
  402. <groupId>org.jacoco</groupId>
  403. <artifactId>org.jacoco.agent</artifactId>
  404. <version>${jacoco.version}</version>
  405. <classifier>runtime</classifier>
  406. <scope>test</scope>
  407. </dependency>
  408. <dependency>
  409. <groupId>mysql</groupId>
  410. <artifactId>mysql-connector-java</artifactId>
  411. <version>${mysql.connector.version}</version>
  412. <scope>test</scope>
  413. </dependency>
  414. <dependency>
  415. <groupId>com.h2database</groupId>
  416. <artifactId>h2</artifactId>
  417. <version>${h2.version}</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>org.slf4j</groupId>
  421. <artifactId>slf4j-api</artifactId>
  422. <version>${slf4j.api.version}</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>org.slf4j</groupId>
  426. <artifactId>slf4j-log4j12</artifactId>
  427. <version>${slf4j.log4j12.version}</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>commons-collections</groupId>
  431. <artifactId>commons-collections</artifactId>
  432. <version>${commons.collections.version}</version>
  433. </dependency>
  434. <dependency>
  435. <groupId>commons-httpclient</groupId>
  436. <artifactId>commons-httpclient</artifactId>
  437. <version>${commons.httpclient}</version>
  438. </dependency>
  439. <dependency>
  440. <groupId>commons-beanutils</groupId>
  441. <artifactId>commons-beanutils</artifactId>
  442. <version>${commons.beanutils.version}</version>
  443. </dependency>
  444. <dependency>
  445. <groupId>commons-configuration</groupId>
  446. <artifactId>commons-configuration</artifactId>
  447. <version>${commons.configuration.version}</version>
  448. </dependency>
  449. <dependency>
  450. <groupId>ch.qos.logback</groupId>
  451. <artifactId>logback-classic</artifactId>
  452. <version>${logback.version}</version>
  453. </dependency>
  454. <dependency>
  455. <groupId>ch.qos.logback</groupId>
  456. <artifactId>logback-core</artifactId>
  457. <version>${logback.version}</version>
  458. </dependency>
  459. <dependency>
  460. <groupId>org.apache.commons</groupId>
  461. <artifactId>commons-email</artifactId>
  462. <version>${commons.email.version}</version>
  463. </dependency>
  464. <!--excel poi-->
  465. <dependency>
  466. <groupId>org.apache.poi</groupId>
  467. <artifactId>poi</artifactId>
  468. <version>${poi.version}</version>
  469. </dependency>
  470. <dependency>
  471. <groupId>org.apache.poi</groupId>
  472. <artifactId>poi-ooxml</artifactId>
  473. <version>${poi.version}</version>
  474. </dependency>
  475. <!-- hadoop -->
  476. <dependency>
  477. <groupId>org.apache.hadoop</groupId>
  478. <artifactId>hadoop-common</artifactId>
  479. <version>${hadoop.version}</version>
  480. <exclusions>
  481. <exclusion>
  482. <artifactId>slf4j-log4j12</artifactId>
  483. <groupId>org.slf4j</groupId>
  484. </exclusion>
  485. <exclusion>
  486. <artifactId>com.sun.jersey</artifactId>
  487. <groupId>jersey-json</groupId>
  488. </exclusion>
  489. </exclusions>
  490. </dependency>
  491. <dependency>
  492. <groupId>org.apache.hadoop</groupId>
  493. <artifactId>hadoop-client</artifactId>
  494. <version>${hadoop.version}</version>
  495. </dependency>
  496. <dependency>
  497. <groupId>org.apache.hadoop</groupId>
  498. <artifactId>hadoop-hdfs</artifactId>
  499. <version>${hadoop.version}</version>
  500. </dependency>
  501. <dependency>
  502. <groupId>org.apache.hadoop</groupId>
  503. <artifactId>hadoop-yarn-common</artifactId>
  504. <version>${hadoop.version}</version>
  505. </dependency>
  506. <dependency>
  507. <groupId>org.apache.hadoop</groupId>
  508. <artifactId>hadoop-aws</artifactId>
  509. <version>${hadoop.version}</version>
  510. </dependency>
  511. <dependency>
  512. <groupId>org.apache.commons</groupId>
  513. <artifactId>commons-collections4</artifactId>
  514. <version>${commons.collections4.version}</version>
  515. </dependency>
  516. <dependency>
  517. <groupId>com.google.guava</groupId>
  518. <artifactId>guava</artifactId>
  519. <version>${guava.version}</version>
  520. </dependency>
  521. <dependency>
  522. <groupId>org.postgresql</groupId>
  523. <artifactId>postgresql</artifactId>
  524. <version>${postgresql.version}</version>
  525. </dependency>
  526. <dependency>
  527. <groupId>org.apache.hive</groupId>
  528. <artifactId>hive-jdbc</artifactId>
  529. <version>${hive.jdbc.version}</version>
  530. </dependency>
  531. <dependency>
  532. <groupId>commons-io</groupId>
  533. <artifactId>commons-io</artifactId>
  534. <version>${commons.io.version}</version>
  535. </dependency>
  536. <dependency>
  537. <groupId>com.github.oshi</groupId>
  538. <artifactId>oshi-core</artifactId>
  539. <version>${oshi.core.version}</version>
  540. </dependency>
  541. <dependency>
  542. <groupId>ru.yandex.clickhouse</groupId>
  543. <artifactId>clickhouse-jdbc</artifactId>
  544. <version>${clickhouse.jdbc.version}</version>
  545. </dependency>
  546. <dependency>
  547. <groupId>com.microsoft.sqlserver</groupId>
  548. <artifactId>mssql-jdbc</artifactId>
  549. <version>${mssql.jdbc.version}</version>
  550. </dependency>
  551. <dependency>
  552. <groupId>com.facebook.presto</groupId>
  553. <artifactId>presto-jdbc</artifactId>
  554. <version>${presto.jdbc.version}</version>
  555. </dependency>
  556. <dependency>
  557. <groupId>net.jcip</groupId>
  558. <artifactId>jcip-annotations</artifactId>
  559. <version>${jcip.version}</version>
  560. <optional>true</optional>
  561. </dependency>
  562. <dependency>
  563. <groupId>javax.servlet</groupId>
  564. <artifactId>servlet-api</artifactId>
  565. <version>${servlet-api.version}</version>
  566. </dependency>
  567. <dependency>
  568. <groupId>javax.servlet</groupId>
  569. <artifactId>javax.servlet-api</artifactId>
  570. <version>${javax.servlet.api.version}</version>
  571. </dependency>
  572. <dependency>
  573. <groupId>io.springfox</groupId>
  574. <artifactId>springfox-swagger2</artifactId>
  575. <version>${springfox.version}</version>
  576. </dependency>
  577. <dependency>
  578. <groupId>io.springfox</groupId>
  579. <artifactId>springfox-swagger-ui</artifactId>
  580. <version>${springfox.version}</version>
  581. </dependency>
  582. <dependency>
  583. <groupId>io.swagger</groupId>
  584. <artifactId>swagger-models</artifactId>
  585. <version>${swagger-models.version}</version>
  586. </dependency>
  587. <dependency>
  588. <groupId>com.github.xiaoymin</groupId>
  589. <artifactId>swagger-bootstrap-ui</artifactId>
  590. <version>${swagger.version}</version>
  591. </dependency>
  592. <dependency>
  593. <groupId>com.github.rholder</groupId>
  594. <artifactId>guava-retrying</artifactId>
  595. <version>${guava-retry.version}</version>
  596. </dependency>
  597. <dependency>
  598. <groupId>org.sonatype.aether</groupId>
  599. <artifactId>aether-api</artifactId>
  600. <version>1.13.1</version>
  601. </dependency>
  602. <dependency>
  603. <groupId>io.airlift.resolver</groupId>
  604. <artifactId>resolver</artifactId>
  605. <version>1.5</version>
  606. </dependency>
  607. <dependency>
  608. <groupId>org.ow2.asm</groupId>
  609. <artifactId>asm</artifactId>
  610. <version>6.2.1</version>
  611. </dependency>
  612. <dependency>
  613. <groupId>javax.activation</groupId>
  614. <artifactId>activation</artifactId>
  615. <version>1.1</version>
  616. </dependency>
  617. <dependency>
  618. <groupId>com.sun.mail</groupId>
  619. <artifactId>javax.mail</artifactId>
  620. <version>1.6.2</version>
  621. </dependency>
  622. </dependencies>
  623. </dependencyManagement>
  624. <build>
  625. <finalName>apache-dolphinscheduler-${project.version}</finalName>
  626. <pluginManagement>
  627. <plugins>
  628. <plugin>
  629. <groupId>org.apache.dolphinscheduler</groupId>
  630. <artifactId>dolphinscheduler-maven-plugin</artifactId>
  631. <version>1.0.0</version>
  632. <extensions>true</extensions>
  633. </plugin>
  634. <plugin>
  635. <groupId>ca.vanzyl.maven.plugins</groupId>
  636. <artifactId>provisio-maven-plugin</artifactId>
  637. <version>1.0.4</version>
  638. <extensions>true</extensions>
  639. </plugin>
  640. <plugin>
  641. <groupId>org.codehaus.mojo</groupId>
  642. <artifactId>rpm-maven-plugin</artifactId>
  643. <version>${rpm-maven-plugion.version}</version>
  644. <inherited>false</inherited>
  645. </plugin>
  646. <plugin>
  647. <groupId>org.apache.maven.plugins</groupId>
  648. <artifactId>maven-compiler-plugin</artifactId>
  649. <configuration>
  650. <source>${java.version}</source>
  651. <target>${java.version}</target>
  652. <testSource>${java.version}</testSource>
  653. <testTarget>${java.version}</testTarget>
  654. </configuration>
  655. <version>${maven-compiler-plugin.version}</version>
  656. </plugin>
  657. <plugin>
  658. <groupId>org.apache.maven.plugins</groupId>
  659. <artifactId>maven-surefire-plugin</artifactId>
  660. </plugin>
  661. <plugin>
  662. <groupId>org.apache.maven.plugins</groupId>
  663. <artifactId>maven-release-plugin</artifactId>
  664. <version>${maven-release-plugin.version}</version>
  665. <configuration>
  666. <tagNameFormat>@{project.version}</tagNameFormat>
  667. </configuration>
  668. </plugin>
  669. <plugin>
  670. <groupId>org.apache.maven.plugins</groupId>
  671. <artifactId>maven-assembly-plugin</artifactId>
  672. <version>${maven-assembly-plugin.version}</version>
  673. </plugin>
  674. <plugin>
  675. <groupId>org.apache.maven.plugins</groupId>
  676. <artifactId>maven-javadoc-plugin</artifactId>
  677. <version>${maven-javadoc-plugin.version}</version>
  678. <configuration>
  679. <source>8</source>
  680. <failOnError>false</failOnError>
  681. </configuration>
  682. </plugin>
  683. <plugin>
  684. <groupId>org.apache.maven.plugins</groupId>
  685. <artifactId>maven-source-plugin</artifactId>
  686. <version>${maven-source-plugin.version}</version>
  687. </plugin>
  688. <plugin>
  689. <groupId>org.apache.maven.plugins</groupId>
  690. <artifactId>maven-dependency-plugin</artifactId>
  691. <version>${maven-dependency-plugin.version}</version>
  692. </plugin>
  693. </plugins>
  694. </pluginManagement>
  695. <plugins>
  696. <plugin>
  697. <groupId>org.apache.dolphinscheduler</groupId>
  698. <artifactId>dolphinscheduler-maven-plugin</artifactId>
  699. <extensions>true</extensions>
  700. <!--<configuration>-->
  701. <!--<allowedProvidedDependencies>-->
  702. <!--<allowedProvidedDependency>org.apache.dolphinscheduler:dolphinscheduler-common</allowedProvidedDependency>-->
  703. <!--</allowedProvidedDependencies>-->
  704. <!--</configuration>-->
  705. </plugin>
  706. <plugin>
  707. <groupId>ca.vanzyl.maven.plugins</groupId>
  708. <artifactId>provisio-maven-plugin</artifactId>
  709. <extensions>true</extensions>
  710. </plugin>
  711. <plugin>
  712. <groupId>org.apache.maven.plugins</groupId>
  713. <artifactId>maven-source-plugin</artifactId>
  714. <executions>
  715. <execution>
  716. <id>attach-sources</id>
  717. <phase>verify</phase>
  718. <goals>
  719. <goal>jar-no-fork</goal>
  720. </goals>
  721. </execution>
  722. </executions>
  723. </plugin>
  724. <plugin>
  725. <groupId>org.apache.maven.plugins</groupId>
  726. <artifactId>maven-javadoc-plugin</artifactId>
  727. <version>${maven-javadoc-plugin.version}</version>
  728. <executions>
  729. <execution>
  730. <id>attach-javadocs</id>
  731. <goals>
  732. <goal>jar</goal>
  733. </goals>
  734. </execution>
  735. </executions>
  736. <configuration>
  737. <aggregate>true</aggregate>
  738. <charset>${project.build.sourceEncoding}</charset>
  739. <encoding>${project.build.sourceEncoding}</encoding>
  740. <docencoding>${project.build.sourceEncoding}</docencoding>
  741. </configuration>
  742. </plugin>
  743. <plugin>
  744. <groupId>org.apache.maven.plugins</groupId>
  745. <artifactId>maven-release-plugin</artifactId>
  746. <version>${maven-release-plugin.version}</version>
  747. <configuration>
  748. <autoVersionSubmodules>true</autoVersionSubmodules>
  749. <tagNameFormat>@{project.version}</tagNameFormat>
  750. <tagBase>${project.version}</tagBase>
  751. <!--<goals>-f pom.xml deploy</goals>-->
  752. </configuration>
  753. <dependencies>
  754. <dependency>
  755. <groupId>org.apache.maven.scm</groupId>
  756. <artifactId>maven-scm-provider-jgit</artifactId>
  757. <version>1.9.5</version>
  758. </dependency>
  759. </dependencies>
  760. </plugin>
  761. <plugin>
  762. <groupId>org.apache.maven.plugins</groupId>
  763. <artifactId>maven-compiler-plugin</artifactId>
  764. <version>${maven-compiler-plugin.version}</version>
  765. <configuration>
  766. <source>${java.version}</source>
  767. <target>${java.version}</target>
  768. <encoding>${project.build.sourceEncoding}</encoding>
  769. <skip>false</skip><!--not skip compile test classes-->
  770. </configuration>
  771. </plugin>
  772. <plugin>
  773. <groupId>org.apache.maven.plugins</groupId>
  774. <artifactId>maven-surefire-plugin</artifactId>
  775. <version>${maven-surefire-plugin.version}</version>
  776. <configuration>
  777. <systemPropertyVariables>
  778. <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
  779. </systemPropertyVariables>
  780. <includes>
  781. <!--registry plugin -->
  782. <include>**/plugin/registry/zookeeper/ZookeeperRegistryTest.java</include>
  783. <!-- API -->
  784. <include>**/api/controller/ProjectControllerTest.java</include>
  785. <include>**/api/controller/QueueControllerTest.java</include>
  786. <include>**/api/configuration/TrafficConfigurationTest.java</include>
  787. <include>**/api/controller/ProcessDefinitionControllerTest.java</include>
  788. <include>**/api/controller/TenantControllerTest.java</include>
  789. <include>**/api/controller/SchedulerControllerTest.java</include>
  790. <include>**/api/dto/resources/filter/ResourceFilterTest.java</include>
  791. <include>**/api/dto/resources/visitor/ResourceTreeVisitorTest.java</include>
  792. <includeDataxTaskTest>**/api/enums/testGetEnum.java</includeDataxTaskTest>
  793. <include>**/api/enums/StatusTest.java</include>
  794. <include>**/api/exceptions/ApiExceptionHandlerTest.java</include>
  795. <include>**/api/exceptions/ServiceExceptionTest.java</include>
  796. <include>**/api/interceptor/LocaleChangeInterceptorTest.java</include>
  797. <include>**/api/interceptor/LoginHandlerInterceptorTest.java</include>
  798. <include>**/api/interceptor/RateLimitInterceptorTest.java</include>
  799. <include>**/api/security/impl/pwd/PasswordAuthenticatorTest.java</include>
  800. <include>**/api/security/impl/ldap/LdapAuthenticatorTest.java</include>
  801. <include>**/api/security/SecurityConfigLDAPTest.java</include>
  802. <include>**/api/security/SecurityConfigPasswordTest.java</include>
  803. <include>**/api/service/AccessTokenServiceTest.java</include>
  804. <include>**/api/service/AlertGroupServiceTest.java</include>
  805. <include>**/api/service/BaseDAGServiceTest.java</include>
  806. <include>**/api/service/BaseServiceTest.java</include>
  807. <include>**/api/service/DataAnalysisServiceTest.java</include>
  808. <include>**/api/service/AlertPluginInstanceServiceTest.java</include>
  809. <include>**/api/service/DataSourceServiceTest.java</include>
  810. <include>**/api/service/ExecutorService2Test.java</include>
  811. <include>**/api/service/ExecutorServiceTest.java</include>
  812. <include>**/api/service/LoggerServiceTest.java</include>
  813. <include>**/api/service/MonitorServiceTest.java</include>
  814. <include>**/api/service/ProcessDefinitionServiceTest.java</include>
  815. <include>**/api/service/ProcessTaskRelationServiceImplTest.java</include>
  816. <include>**/api/service/TaskDefinitionServiceImplTest.java</include>
  817. <include>**/api/service/ProcessInstanceServiceTest.java</include>
  818. <include>**/api/service/ProjectServiceTest.java</include>
  819. <include>**/api/service/QueueServiceTest.java</include>
  820. <include>**/api/service/ResourcesServiceTest.java</include>
  821. <include>**/api/service/SchedulerServiceTest.java</include>
  822. <include>**/api/service/SessionServiceTest.java</include>
  823. <include>**/api/service/TaskInstanceServiceTest.java</include>
  824. <include>**/api/service/TenantServiceTest.java</include>
  825. <include>**/api/service/UdfFuncServiceTest.java</include>
  826. <include>**/api/service/UiPluginServiceTest.java</include>
  827. <include>**/api/service/UserAlertGroupServiceTest.java</include>
  828. <include>**/api/service/UsersServiceTest.java</include>
  829. <include>**/api/service/WorkerGroupServiceTest.java</include>
  830. <include>**/api/service/WorkFlowLineageServiceTest.java</include>
  831. <include>**/api/service/EnvironmentServiceTest.java</include>
  832. <include>**/api/service/EnvironmentWorkerGroupRelationServiceTest.java</include>
  833. <include>**/api/controller/ProcessDefinitionControllerTest.java</include>
  834. <include>**/api/controller/TaskInstanceControllerTest.java</include>
  835. <include>**/api/controller/WorkFlowLineageControllerTest.java</include>
  836. <include>**/api/controller/EnvironmentControllerTest.java</include>
  837. <include>**/api/utils/exportprocess/DataSourceParamTest.java</include>
  838. <include>**/api/utils/exportprocess/DependentParamTest.java</include>
  839. <include>**/api/utils/CheckUtilsTest.java</include>
  840. <include>**/api/utils/FileUtilsTest.java</include>
  841. <include>**/api/utils/CheckUtilsTest.java</include>
  842. <include>**/api/utils/CheckUtilsTest.java</include>
  843. <include>**/api/utils/ResultTest.java</include>
  844. <include>**/common/graph/DAGTest.java</include>
  845. <include>**/common/os/OshiTest.java</include>
  846. <include>**/common/shell/ShellExecutorTest.java</include>
  847. <include>**/common/task/DataxParametersTest.java</include>
  848. <include>**/common/task/EntityTestUtils.java</include>
  849. <include>**/common/task/FlinkParametersTest.java</include>
  850. <include>**/common/task/HttpParametersTest.java</include>
  851. <include>**/common/task/SparkParametersTest.java</include>
  852. <include>**/common/task/SqlParametersTest.java</include>
  853. <include>**/common/task/SqoopParameterEntityTest.java</include>
  854. <include>**/common/threadutils/ThreadPoolExecutorsTest.java</include>
  855. <include>**/common/threadutils/ThreadUtilsTest.java</include>
  856. <include>**/common/utils/CollectionUtilsTest.java</include>
  857. <include>**/common/utils/CommonUtilsTest.java</include>
  858. <include>**/common/utils/DateUtilsTest.java</include>
  859. <include>**/common/utils/DependentUtilsTest.java</include>
  860. <include>**/common/utils/EncryptionUtilsTest.java</include>
  861. <include>**/common/utils/FileUtilsTest.java</include>
  862. <include>**/common/utils/JSONUtilsTest.java</include>
  863. <include>**/common/utils/LoggerUtilsTest.java</include>
  864. <include>**/common/utils/NetUtilsTest.java</include>
  865. <include>**/common/utils/ParameterUtilsTest.java</include>
  866. <include>**/common/utils/TimePlaceholderUtilsTest.java</include>
  867. <include>**/common/utils/PreconditionsTest.java</include>
  868. <include>**/common/utils/PropertyUtilsTest.java</include>
  869. <include>**/common/utils/SchemaUtilsTest.java</include>
  870. <include>**/common/utils/ScriptRunnerTest.java</include>
  871. <include>**/common/utils/SensitiveLogUtilsTest.java</include>
  872. <include>**/common/utils/StringTest.java</include>
  873. <include>**/common/utils/StringUtilsTest.java</include>
  874. <include>**/common/utils/TaskParametersUtilsTest.java</include>
  875. <include>**/common/utils/VarPoolUtilsTest.java</include>
  876. <include>**/common/utils/HadoopUtilsTest.java</include>
  877. <include>**/common/utils/HttpUtilsTest.java</include>
  878. <include>**/common/utils/KerberosHttpClientTest.java</include>
  879. <include>**/common/utils/HiveConfUtilsTest.java</include>
  880. <include>**/common/ConstantsTest.java</include>
  881. <include>**/common/utils/HadoopUtils.java</include>
  882. <include>**/common/utils/RetryerUtilsTest.java</include>
  883. <include>**/common/datasource/clickhouse/ClickHouseDatasourceProcessorTest.java</include>
  884. <include>**/common/datasource/db2/Db2DatasourceProcessorTest.java</include>
  885. <include>**/common/datasource/hive/HiveDatasourceProcessorTest.java</include>
  886. <include>**/common/datasource/mysql/MysqlDatasourceProcessorTest.java</include>
  887. <include>**/common/datasource/oracle/OracleDatasourceProcessorTest.java</include>
  888. <include>**/common/datasource/postgresql/PostgreSqlDatasourceProcessorTest.java</include>
  889. <include>**/common/datasource/presto/PrestoDatasourceProcessorTest.java</include>
  890. <include>**/common/datasource/spark/SparkDatasourceProcessorTest.java</include>
  891. <include>**/common/datasource/sqlserver/SqlServerDatasourceProcessorTest.java</include>
  892. <include>**/common/datasource/DatasourceUtilTest.java</include>
  893. <include>**/common/enums/ExecutionStatusTest</include>
  894. <include>**/dao/mapper/AccessTokenMapperTest.java</include>
  895. <include>**/dao/mapper/AlertGroupMapperTest.java</include>
  896. <include>**/dao/mapper/CommandMapperTest.java</include>
  897. <include>**/dao/mapper/ConnectionFactoryTest.java</include>
  898. <include>**/dao/mapper/DataSourceMapperTest.java</include>
  899. <include>**/dao/datasource/MySQLDataSourceTest.java</include>
  900. <include>**/dao/entity/TaskInstanceTest.java</include>
  901. <include>**/dao/entity/UdfFuncTest.java</include>
  902. <include>**/remote/command/alert/AlertSendRequestCommandTest.java</include>
  903. <include>**/remote/command/alert/AlertSendResponseCommandTest.java</include>
  904. <include>**/remote/command/future/ResponseFutureTest.java</include>
  905. <include>**/remote/command/log/RemoveTaskLogRequestCommandTest.java</include>
  906. <include>**/remote/command/log/RemoveTaskLogResponseCommandTest.java</include>
  907. <include>**/remote/command/log/GetLogBytesRequestCommandTest.java</include>
  908. <include>**/remote/command/log/GetLogBytesResponseCommandTest.java</include>
  909. <include>**/remote/command/log/ViewLogRequestCommandTest.java</include>
  910. <include>**/remote/utils/HostTest.java</include>
  911. <include>**/remote/utils/NettyUtilTest.java</include>
  912. <include>**/remote/NettyRemotingClientTest.java</include>
  913. <include>**/rpc/RpcTest.java</include>
  914. <include>**/server/log/LoggerServerTest.java</include>
  915. <include>**/server/entity/SQLTaskExecutionContextTest.java</include>
  916. <include>**/server/log/MasterLogFilterTest.java</include>
  917. <include>**/server/log/SensitiveDataConverterTest.java</include>
  918. <include>**/server/log/LoggerRequestProcessorTest.java</include>
  919. <!--<include>**/server/log/TaskLogDiscriminatorTest.java</include>-->
  920. <include>**/server/log/TaskLogFilterTest.java</include>
  921. <include>**/server/log/WorkerLogFilterTest.java</include>
  922. <include>**/server/master/cache/impl/TaskInstanceCacheManagerImplTest.java</include>
  923. <include>**/server/master/config/MasterConfigTest.java</include>
  924. <include>**/server/master/consumer/TaskPriorityQueueConsumerTest.java</include>
  925. <include>**/server/master/runner/MasterTaskExecThreadTest.java</include>
  926. <!--<include>**/server/master/dispatch/executor/NettyExecutorManagerTest.java</include>-->
  927. <include>**/server/master/dispatch/host/assign/LowerWeightRoundRobinTest.java</include>
  928. <include>**/server/master/dispatch/host/assign/RandomSelectorTest.java</include>
  929. <include>**/server/master/dispatch/host/assign/RoundRobinSelectorTest.java</include>
  930. <include>**/server/master/dispatch/host/assign/HostWorkerTest.java</include>
  931. <include>**/server/master/registry/MasterRegistryClientTest.java</include>
  932. <include>**/server/master/registry/ServerNodeManagerTest.java</include>
  933. <include>**/server/master/dispatch/host/assign/RoundRobinHostManagerTest.java</include>
  934. <include>**/server/master/MasterCommandTest.java</include>
  935. <include>**/server/master/DependentTaskTest.java</include>
  936. <include>**/server/master/ConditionsTaskTest.java</include>
  937. <include>**/server/master/SwitchTaskTest.java</include>
  938. <include>**/server/master/MasterExecThreadTest.java</include>
  939. <include>**/server/master/ParamsTest.java</include>
  940. <include>**/server/master/SubProcessTaskTest.java</include>
  941. <include>**/server/master/processor/TaskAckProcessorTest.java</include>
  942. <include>**/server/master/processor/TaskKillResponseProcessorTest.java</include>
  943. <include>**/server/master/processor/queue/TaskResponseServiceTest.java</include>
  944. <include>**/server/master/zk/ZKMasterClientTest.java</include>
  945. <include>**/server/registry/ZookeeperRegistryCenterTest.java</include>
  946. <include>**/server/utils/DataxUtilsTest.java</include>
  947. <include>**/server/utils/ExecutionContextTestUtils.java</include>
  948. <include>**/server/utils/FlinkArgsUtilsTest.java</include>
  949. <include>**/server/utils/LogUtilsTest.java</include>
  950. <include>**/server/utils/MapReduceArgsUtilsTest.java</include>
  951. <include>**/server/utils/ParamUtilsTest.java</include>
  952. <include>**/server/utils/ProcessUtilsTest.java</include>
  953. <include>**/server/utils/SparkArgsUtilsTest.java</include>
  954. <include>**/server/worker/processor/TaskCallbackServiceTest.java</include>
  955. <include>**/server/worker/processor/TaskExecuteProcessorTest.java</include>
  956. <include>**/server/worker/registry/WorkerRegistryTest.java</include>
  957. <include>**/server/worker/shell/ShellCommandExecutorTest.java</include>
  958. <include>**/server/worker/sql/SqlExecutorTest.java</include>
  959. <include>**/server/worker/task/spark/SparkTaskTest.java</include>
  960. <include>**/server/worker/task/spark/SparkTaskTest.java</include>
  961. <include>**/server/worker/task/datax/DataxTaskTest.java</include>
  962. <!--<include>**/server/worker/task/http/HttpTaskTest.java</include>-->
  963. <include>**/server/worker/task/sqoop/SqoopTaskTest.java</include>
  964. <include>**/server/worker/task/processdure/ProcedureTaskTest.java</include>
  965. <include>**/server/worker/task/shell/ShellTaskTest.java</include>
  966. <include>**/server/worker/task/TaskManagerTest.java</include>
  967. <include>**/server/worker/task/PythonCommandExecutorTest.java</include>
  968. <include>**/server/worker/task/TaskParamsTest.java</include>
  969. <include>**/server/worker/task/ShellTaskReturnTest.java</include>
  970. <include>**/server/worker/task/sql/SqlTaskTest.java</include>
  971. <include>**/server/worker/runner/TaskExecuteThreadTest.java</include>
  972. <include>**/server/worker/runner/WorkerManagerThreadTest.java</include>
  973. <include>**/service/quartz/cron/CronUtilsTest.java</include>
  974. <include>**/service/process/ProcessServiceTest.java</include>
  975. <include>**/service/registry/RegistryClientTest.java</include>
  976. <include>**/service/registry/RegistryPluginTest.java</include>
  977. <include>**/service/queue/TaskUpdateQueueTest.java</include>
  978. <include>**/service/queue/PeerTaskInstancePriorityQueueTest.java</include>
  979. <include>**/service/log/LogClientServiceTest.java</include>
  980. <include>**/service/alert/AlertClientServiceTest.java</include>
  981. <include>**/service/alert/ProcessAlertManagerTest.java</include>
  982. <include>**/dao/mapper/DataSourceUserMapperTest.java</include>
  983. <!--<iTaskUpdateQueueConsumerThreadnclude>**/dao/mapper/ErrorCommandMapperTest.java</iTaskUpdateQueueConsumerThreadnclude>-->
  984. <include>**/dao/mapper/ProcessDefinitionMapperTest.java</include>
  985. <include>**/dao/mapper/ProcessInstanceMapMapperTest.java</include>
  986. <include>**/dao/mapper/ProcessInstanceMapperTest.java</include>
  987. <include>**/dao/mapper/ProjectMapperTest.java</include>
  988. <include>**/dao/mapper/ProjectUserMapperTest.java</include>
  989. <include>**/dao/mapper/QueueMapperTest.java</include>
  990. <include>**/dao/mapper/ResourceUserMapperTest.java</include>
  991. <include>**/dao/mapper/ScheduleMapperTest.java</include>
  992. <include>**/dao/mapper/SessionMapperTest.java</include>
  993. <include>**/dao/mapper/TaskInstanceMapperTest.java</include>
  994. <include>**/dao/mapper/TenantMapperTest.java</include>
  995. <include>**/dao/mapper/UdfFuncMapperTest.java</include>
  996. <include>**/dao/mapper/UDFUserMapperTest.java</include>
  997. <include>**/dao/mapper/UserMapperTest.java</include>
  998. <include>**/dao/mapper/AlertPluginInstanceMapperTest.java</include>
  999. <include>**/dao/mapper/PluginDefineTest.java</include>
  1000. <include>**/dao/utils/DagHelperTest.java</include>
  1001. <include>**/dao/AlertDaoTest.java</include>
  1002. <include>**/dao/datasource/OracleDataSourceTest.java</include>
  1003. <include>**/dao/datasource/HiveDataSourceTest.java</include>
  1004. <include>**/dao/datasource/BaseDataSourceTest.java</include>
  1005. <include>**/dao/upgrade/ProcessDefinitionDaoTest.java</include>
  1006. <include>**/dao/upgrade/WokrerGrouopDaoTest.java</include>
  1007. <include>**/dao/upgrade/UpgradeDaoTest.java</include>
  1008. <include>**/plugin/alert/email/EmailAlertChannelFactoryTest.java</include>
  1009. <include>**/plugin/alert/email/EmailAlertChannelTest.java</include>
  1010. <include>**/plugin/alert/email/ExcelUtilsTest.java</include>
  1011. <include>**/plugin/alert/email/template/DefaultHTMLTemplateTest.java</include>
  1012. <include>**/plugin/alert/dingtalk/DingTalkSenderTest.java</include>
  1013. <include>**/plugin/alert/dingtalk/DingTalkAlertChannelFactoryTest.java</include>
  1014. <include>**/plugin/alert/wechat/WeChatSenderTest.java</include>
  1015. <include>**/plugin/alert/wechat/WeChatAlertChannelFactoryTest.java</include>
  1016. <include>**/plugin/alert/script/ProcessUtilsTest.java</include>
  1017. <include>**/plugin/alert/script/ScriptAlertChannelFactoryTest.java</include>
  1018. <include>**/plugin/alert/script/ScriptSenderTest.java</include>
  1019. <include>**/plugin/alert/http/HttpAlertChannelFactoryTest.java</include>
  1020. <include>**/plugin/alert/http/HttpAlertChannelTest.java</include>
  1021. <include>**/plugin/alert/feishu/FeiShuAlertChannelFactoryTest.java</include>
  1022. <include>**/plugin/alert/feishu/FeiShuSenderTest.java</include>
  1023. <include>**/plugin/alert/http/HttpAlertPluginTest.java</include>
  1024. <include>**/plugin/alert/http/HttpSenderTest.java</include>
  1025. <include>**/plugin/alert/slack/SlackAlertChannelFactoryTest.java</include>
  1026. <include>**/plugin/alert/slack/SlackAlertPluginTest.java</include>
  1027. <include>**/plugin/alert/slack/SlackSenderTest.java</include>
  1028. <include>**/spi/params/PluginParamsTransferTest.java</include>
  1029. <include>**/spi/plugin/DolphinSchedulerPluginLoaderTest.java</include>
  1030. <include>**/alert/plugin/EmailAlertPluginTest.java</include>
  1031. <include>**/alert/plugin/AlertPluginManagerTest.java</include>
  1032. <include>**/alert/plugin/DolphinPluginLoaderTest.java</include>
  1033. <include>**/alert/utils/FuncUtilsTest.java</include>
  1034. <include>**/alert/processor/AlertRequestProcessorTest.java</include>
  1035. <include>**/alert/runner/AlertSenderTest.java</include>
  1036. <include>**/alert/AlertServerTest.java</include>
  1037. <include>**/plugin/task/tis/TISTaskTest.java</include>
  1038. </includes>
  1039. <!-- <skip>true</skip> -->
  1040. </configuration>
  1041. </plugin>
  1042. <!-- jenkins plugin jacoco report-->
  1043. <plugin>
  1044. <groupId>org.jacoco</groupId>
  1045. <artifactId>jacoco-maven-plugin</artifactId>
  1046. <version>${jacoco.version}</version>
  1047. <configuration>
  1048. <dataFile>${project.build.directory}/jacoco.exec</dataFile>
  1049. </configuration>
  1050. <executions>
  1051. <execution>
  1052. <id>default-instrument</id>
  1053. <goals>
  1054. <goal>instrument</goal>
  1055. </goals>
  1056. </execution>
  1057. <execution>
  1058. <id>default-restore-instrumented-classes</id>
  1059. <goals>
  1060. <goal>restore-instrumented-classes</goal>
  1061. </goals>
  1062. </execution>
  1063. <execution>
  1064. <id>default-report</id>
  1065. <goals>
  1066. <goal>report</goal>
  1067. </goals>
  1068. </execution>
  1069. </executions>
  1070. </plugin>
  1071. <plugin>
  1072. <groupId>com.github.spotbugs</groupId>
  1073. <artifactId>spotbugs-maven-plugin</artifactId>
  1074. <version>${spotbugs.version}</version>
  1075. <configuration>
  1076. <xmlOutput>true</xmlOutput>
  1077. <threshold>medium</threshold>
  1078. <effort>default</effort>
  1079. <excludeFilterFile>dev-config/spotbugs-exclude.xml</excludeFilterFile>
  1080. <failOnError>true</failOnError>
  1081. </configuration>
  1082. <dependencies>
  1083. <dependency>
  1084. <groupId>com.github.spotbugs</groupId>
  1085. <artifactId>spotbugs</artifactId>
  1086. <version>4.0.0-beta4</version>
  1087. </dependency>
  1088. </dependencies>
  1089. </plugin>
  1090. <plugin>
  1091. <groupId>org.apache.maven.plugins</groupId>
  1092. <artifactId>maven-checkstyle-plugin</artifactId>
  1093. <version>${checkstyle.version}</version>
  1094. <dependencies>
  1095. <dependency>
  1096. <groupId>com.puppycrawl.tools</groupId>
  1097. <artifactId>checkstyle</artifactId>
  1098. <version>8.45</version>
  1099. </dependency>
  1100. </dependencies>
  1101. <configuration>
  1102. <consoleOutput>true</consoleOutput>
  1103. <encoding>UTF-8</encoding>
  1104. <configLocation>style/checkstyle.xml</configLocation>
  1105. <failOnViolation>true</failOnViolation>
  1106. <violationSeverity>warning</violationSeverity>
  1107. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  1108. <sourceDirectories>
  1109. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  1110. </sourceDirectories>
  1111. <excludes>**\/generated-sources\/</excludes>
  1112. </configuration>
  1113. <executions>
  1114. <execution>
  1115. <phase>compile</phase>
  1116. <goals>
  1117. <goal>check</goal>
  1118. </goals>
  1119. </execution>
  1120. </executions>
  1121. </plugin>
  1122. <plugin>
  1123. <groupId>org.codehaus.mojo</groupId>
  1124. <artifactId>cobertura-maven-plugin</artifactId>
  1125. <version>${cobertura-maven-plugin.version}</version>
  1126. <configuration>
  1127. <check>
  1128. </check>
  1129. <aggregate>true</aggregate>
  1130. <outputDirectory>./target/cobertura</outputDirectory>
  1131. <encoding>${project.build.sourceEncoding}</encoding>
  1132. <quiet>true</quiet>
  1133. <format>xml</format>
  1134. <instrumentation>
  1135. <ignoreTrivial>true</ignoreTrivial>
  1136. </instrumentation>
  1137. </configuration>
  1138. </plugin>
  1139. </plugins>
  1140. </build>
  1141. <modules>
  1142. <module>dolphinscheduler-spi</module>
  1143. <module>dolphinscheduler-alert-plugin</module>
  1144. <module>dolphinscheduler-registry-plugin</module>
  1145. <module>dolphinscheduler-task-plugin</module>
  1146. <module>dolphinscheduler-ui</module>
  1147. <module>dolphinscheduler-server</module>
  1148. <module>dolphinscheduler-common</module>
  1149. <module>dolphinscheduler-api</module>
  1150. <module>dolphinscheduler-dao</module>
  1151. <module>dolphinscheduler-alert</module>
  1152. <module>dolphinscheduler-dist</module>
  1153. <module>dolphinscheduler-remote</module>
  1154. <module>dolphinscheduler-service</module>
  1155. <module>dolphinscheduler-microbench</module>
  1156. <module>dolphinscheduler-standalone-server</module>
  1157. </modules>
  1158. </project>