pom.xml 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011
  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.2.1-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/incubator-dolphinscheduler.git</connection>
  40. <developerConnection>scm:git:https://github.com/apache/incubator-dolphinscheduler.git</developerConnection>
  41. <url>https://github.com/apache/incubator-dolphinscheduler</url>
  42. <tag>HEAD</tag>
  43. </scm>
  44. <mailingLists>
  45. <mailingList>
  46. <name>DolphinScheduler Developer List</name>
  47. <post>dev@dolphinscheduler.incubator.apache.org</post>
  48. <subscribe>dev-subscribe@dolphinscheduler.incubator.apache.org</subscribe>
  49. <unsubscribe>dev-unsubscribe@dolphinscheduler.incubator.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. <spring.version>5.1.5.RELEASE</spring.version>
  62. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  63. <java.version>1.8</java.version>
  64. <logback.version>1.2.3</logback.version>
  65. <hadoop.version>2.7.3</hadoop.version>
  66. <quartz.version>2.2.3</quartz.version>
  67. <jackson.version>2.9.8</jackson.version>
  68. <mybatis-plus.version>3.2.0</mybatis-plus.version>
  69. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  70. <cron.utils.version>5.0.5</cron.utils.version>
  71. <fastjson.version>1.2.61</fastjson.version>
  72. <druid.version>1.1.14</druid.version>
  73. <h2.version>1.4.200</h2.version>
  74. <commons.codec.version>1.6</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.7.0</commons.beanutils.version>
  85. <commons.configuration.version>1.10</commons.configuration.version>
  86. <commons.email.version>1.5</commons.email.version>
  87. <poi.version>3.17</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>20.0</guava.version>
  91. <postgresql.version>42.1.4</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.5.0</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. <jsp-2.1.version>6.1.14</jsp-2.1.version>
  98. <spotbugs.version>3.1.12</spotbugs.version>
  99. <checkstyle.version>3.0.0</checkstyle.version>
  100. <apache.rat.version>0.13</apache.rat.version>
  101. <zookeeper.version>3.4.14</zookeeper.version>
  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. </properties>
  121. <dependencyManagement>
  122. <dependencies>
  123. <dependency>
  124. <groupId>com.baomidou</groupId>
  125. <artifactId>mybatis-plus-boot-starter</artifactId>
  126. <version>${mybatis-plus.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.baomidou</groupId>
  130. <artifactId>mybatis-plus</artifactId>
  131. <version>${mybatis-plus.version}</version>
  132. </dependency>
  133. <!-- quartz-->
  134. <dependency>
  135. <groupId>org.quartz-scheduler</groupId>
  136. <artifactId>quartz</artifactId>
  137. <version>${quartz.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.quartz-scheduler</groupId>
  141. <artifactId>quartz-jobs</artifactId>
  142. <version>${quartz.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.cronutils</groupId>
  146. <artifactId>cron-utils</artifactId>
  147. <version>${cron.utils.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>fastjson</artifactId>
  152. <version>${fastjson.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.alibaba</groupId>
  156. <artifactId>druid</artifactId>
  157. <version>${druid.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-starter-parent</artifactId>
  162. <version>${spring.boot.version}</version>
  163. <type>pom</type>
  164. <scope>import</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.springframework</groupId>
  168. <artifactId>spring-core</artifactId>
  169. <version>${spring.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework</groupId>
  173. <artifactId>spring-context</artifactId>
  174. <version>${spring.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.springframework</groupId>
  178. <artifactId>spring-beans</artifactId>
  179. <version>${spring.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.springframework</groupId>
  183. <artifactId>spring-tx</artifactId>
  184. <version>${spring.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-jdbc</artifactId>
  189. <version>${spring.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework</groupId>
  193. <artifactId>spring-test</artifactId>
  194. <version>${spring.version}</version>
  195. <scope>test</scope>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.dolphinscheduler</groupId>
  199. <artifactId>dolphinscheduler-server</artifactId>
  200. <version>${project.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.dolphinscheduler</groupId>
  204. <artifactId>dolphinscheduler-plugin-api</artifactId>
  205. <version>${project.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.dolphinscheduler</groupId>
  209. <artifactId>dolphinscheduler-common</artifactId>
  210. <version>${project.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.apache.dolphinscheduler</groupId>
  214. <artifactId>dolphinscheduler-dao</artifactId>
  215. <version>${project.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.dolphinscheduler</groupId>
  219. <artifactId>dolphinscheduler-api</artifactId>
  220. <version>${project.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.apache.dolphinscheduler</groupId>
  224. <artifactId>dolphinscheduler-remote</artifactId>
  225. <version>${project.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.dolphinscheduler</groupId>
  229. <artifactId>dolphinscheduler-service</artifactId>
  230. <version>${project.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.apache.dolphinscheduler</groupId>
  234. <artifactId>dolphinscheduler-alert</artifactId>
  235. <version>${project.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.curator</groupId>
  239. <artifactId>curator-framework</artifactId>
  240. <version>${curator.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.apache.curator</groupId>
  244. <artifactId>curator-recipes</artifactId>
  245. <version>${curator.version}</version>
  246. <exclusions>
  247. <exclusion>
  248. <groupId>org.apache.zookeeper</groupId>
  249. <artifactId>zookeeper</artifactId>
  250. </exclusion>
  251. </exclusions>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.apache.zookeeper</groupId>
  255. <artifactId>zookeeper</artifactId>
  256. <exclusions>
  257. <exclusion>
  258. <groupId>org.slf4j</groupId>
  259. <artifactId>slf4j-log4j12</artifactId>
  260. </exclusion>
  261. <exclusion>
  262. <artifactId>netty</artifactId>
  263. <groupId>io.netty</groupId>
  264. </exclusion>
  265. <exclusion>
  266. <groupId>com.github.spotbugs</groupId>
  267. <artifactId>spotbugs-annotations</artifactId>
  268. </exclusion>
  269. </exclusions>
  270. <version>${zookeeper.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>commons-codec</groupId>
  274. <artifactId>commons-codec</artifactId>
  275. <version>${commons.codec.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>commons-logging</groupId>
  279. <artifactId>commons-logging</artifactId>
  280. <version>${commons.logging.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.httpcomponents</groupId>
  284. <artifactId>httpclient</artifactId>
  285. <version>${httpclient.version}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.apache.httpcomponents</groupId>
  289. <artifactId>httpcore</artifactId>
  290. <version>${httpcore.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.fasterxml.jackson.core</groupId>
  294. <artifactId>jackson-annotations</artifactId>
  295. <version>${jackson.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>com.fasterxml.jackson.core</groupId>
  299. <artifactId>jackson-databind</artifactId>
  300. <version>${jackson.version}</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>com.fasterxml.jackson.core</groupId>
  304. <artifactId>jackson-core</artifactId>
  305. <version>${jackson.version}</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>junit</groupId>
  309. <artifactId>junit</artifactId>
  310. <version>${junit.version}</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.mockito</groupId>
  314. <artifactId>mockito-core</artifactId>
  315. <version>${mockito.version}</version>
  316. <type>jar</type>
  317. <scope>test</scope>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.powermock</groupId>
  321. <artifactId>powermock-module-junit4</artifactId>
  322. <version>${powermock.version}</version>
  323. <type>jar</type>
  324. <scope>test</scope>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.powermock</groupId>
  328. <artifactId>powermock-api-mockito2</artifactId>
  329. <version>${powermock.version}</version>
  330. <type>jar</type>
  331. <scope>test</scope>
  332. <exclusions>
  333. <exclusion>
  334. <groupId>org.mockito</groupId>
  335. <artifactId>mockito-core</artifactId>
  336. </exclusion>
  337. </exclusions>
  338. </dependency>
  339. <dependency>
  340. <groupId>mysql</groupId>
  341. <artifactId>mysql-connector-java</artifactId>
  342. <version>${mysql.connector.version}</version>
  343. <scope>test</scope>
  344. </dependency>
  345. <dependency>
  346. <groupId>com.h2database</groupId>
  347. <artifactId>h2</artifactId>
  348. <version>${h2.version}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.slf4j</groupId>
  352. <artifactId>slf4j-api</artifactId>
  353. <version>${slf4j.api.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.slf4j</groupId>
  357. <artifactId>slf4j-log4j12</artifactId>
  358. <version>${slf4j.log4j12.version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>commons-collections</groupId>
  362. <artifactId>commons-collections</artifactId>
  363. <version>${commons.collections.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>commons-httpclient</groupId>
  367. <artifactId>commons-httpclient</artifactId>
  368. <version>${commons.httpclient}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>commons-beanutils</groupId>
  372. <artifactId>commons-beanutils</artifactId>
  373. <version>${commons.beanutils.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>commons-configuration</groupId>
  377. <artifactId>commons-configuration</artifactId>
  378. <version>${commons.configuration.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>ch.qos.logback</groupId>
  382. <artifactId>logback-classic</artifactId>
  383. <version>${logback.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>ch.qos.logback</groupId>
  387. <artifactId>logback-core</artifactId>
  388. <version>${logback.version}</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.apache.commons</groupId>
  392. <artifactId>commons-email</artifactId>
  393. <version>${commons.email.version}</version>
  394. </dependency>
  395. <!--excel poi-->
  396. <dependency>
  397. <groupId>org.apache.poi</groupId>
  398. <artifactId>poi</artifactId>
  399. <version>${poi.version}</version>
  400. </dependency>
  401. <!-- hadoop -->
  402. <dependency>
  403. <groupId>org.apache.hadoop</groupId>
  404. <artifactId>hadoop-common</artifactId>
  405. <version>${hadoop.version}</version>
  406. <exclusions>
  407. <exclusion>
  408. <artifactId>slf4j-log4j12</artifactId>
  409. <groupId>org.slf4j</groupId>
  410. </exclusion>
  411. <exclusion>
  412. <artifactId>com.sun.jersey</artifactId>
  413. <groupId>jersey-json</groupId>
  414. </exclusion>
  415. </exclusions>
  416. </dependency>
  417. <dependency>
  418. <groupId>org.apache.hadoop</groupId>
  419. <artifactId>hadoop-client</artifactId>
  420. <version>${hadoop.version}</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>org.apache.hadoop</groupId>
  424. <artifactId>hadoop-hdfs</artifactId>
  425. <version>${hadoop.version}</version>
  426. </dependency>
  427. <dependency>
  428. <groupId>org.apache.hadoop</groupId>
  429. <artifactId>hadoop-yarn-common</artifactId>
  430. <version>${hadoop.version}</version>
  431. </dependency>
  432. <dependency>
  433. <groupId>org.apache.hadoop</groupId>
  434. <artifactId>hadoop-aws</artifactId>
  435. <version>${hadoop.version}</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>org.apache.commons</groupId>
  439. <artifactId>commons-collections4</artifactId>
  440. <version>${commons.collections4.version}</version>
  441. </dependency>
  442. <dependency>
  443. <groupId>com.google.guava</groupId>
  444. <artifactId>guava</artifactId>
  445. <version>${guava.version}</version>
  446. </dependency>
  447. <dependency>
  448. <groupId>org.postgresql</groupId>
  449. <artifactId>postgresql</artifactId>
  450. <version>${postgresql.version}</version>
  451. </dependency>
  452. <dependency>
  453. <groupId>org.apache.hive</groupId>
  454. <artifactId>hive-jdbc</artifactId>
  455. <version>${hive.jdbc.version}</version>
  456. </dependency>
  457. <dependency>
  458. <groupId>commons-io</groupId>
  459. <artifactId>commons-io</artifactId>
  460. <version>${commons.io.version}</version>
  461. </dependency>
  462. <dependency>
  463. <groupId>com.github.oshi</groupId>
  464. <artifactId>oshi-core</artifactId>
  465. <version>${oshi.core.version}</version>
  466. </dependency>
  467. <dependency>
  468. <groupId>ru.yandex.clickhouse</groupId>
  469. <artifactId>clickhouse-jdbc</artifactId>
  470. <version>${clickhouse.jdbc.version}</version>
  471. </dependency>
  472. <dependency>
  473. <groupId>com.microsoft.sqlserver</groupId>
  474. <artifactId>mssql-jdbc</artifactId>
  475. <version>${mssql.jdbc.version}</version>
  476. </dependency>
  477. <dependency>
  478. <groupId>net.jcip</groupId>
  479. <artifactId>jcip-annotations</artifactId>
  480. <version>${jcip.version}</version>
  481. <optional>true</optional>
  482. </dependency>
  483. <!-- for api module -->
  484. <dependency>
  485. <groupId>org.mortbay.jetty</groupId>
  486. <artifactId>jsp-2.1</artifactId>
  487. <version>${jsp-2.1.version}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>javax.servlet</groupId>
  491. <artifactId>servlet-api</artifactId>
  492. <version>${servlet-api.version}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>javax.servlet</groupId>
  496. <artifactId>javax.servlet-api</artifactId>
  497. <version>${javax.servlet.api.version}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>io.springfox</groupId>
  501. <artifactId>springfox-swagger2</artifactId>
  502. <version>${springfox.version}</version>
  503. </dependency>
  504. <dependency>
  505. <groupId>io.springfox</groupId>
  506. <artifactId>springfox-swagger-ui</artifactId>
  507. <version>${springfox.version}</version>
  508. </dependency>
  509. <dependency>
  510. <groupId>com.github.xiaoymin</groupId>
  511. <artifactId>swagger-bootstrap-ui</artifactId>
  512. <version>${swagger.version}</version>
  513. </dependency>
  514. </dependencies>
  515. </dependencyManagement>
  516. <build>
  517. <finalName>apache-dolphinscheduler-incubating-${project.version}</finalName>
  518. <pluginManagement>
  519. <plugins>
  520. <plugin>
  521. <groupId>org.codehaus.mojo</groupId>
  522. <artifactId>rpm-maven-plugin</artifactId>
  523. <version>${rpm-maven-plugion.version}</version>
  524. <inherited>false</inherited>
  525. </plugin>
  526. <plugin>
  527. <groupId>org.apache.maven.plugins</groupId>
  528. <artifactId>maven-compiler-plugin</artifactId>
  529. <configuration>
  530. <source>${java.version}</source>
  531. <target>${java.version}</target>
  532. <testSource>${java.version}</testSource>
  533. <testTarget>${java.version}</testTarget>
  534. </configuration>
  535. <version>${maven-compiler-plugin.version}</version>
  536. </plugin>
  537. <plugin>
  538. <groupId>org.apache.maven.plugins</groupId>
  539. <artifactId>maven-surefire-plugin</artifactId>
  540. </plugin>
  541. <plugin>
  542. <groupId>org.apache.maven.plugins</groupId>
  543. <artifactId>maven-release-plugin</artifactId>
  544. <version>${maven-release-plugin.version}</version>
  545. <configuration>
  546. <tagNameFormat>@{project.version}</tagNameFormat>
  547. </configuration>
  548. </plugin>
  549. <plugin>
  550. <groupId>org.apache.maven.plugins</groupId>
  551. <artifactId>maven-assembly-plugin</artifactId>
  552. <version>${maven-assembly-plugin.version}</version>
  553. </plugin>
  554. <plugin>
  555. <groupId>org.apache.maven.plugins</groupId>
  556. <artifactId>maven-javadoc-plugin</artifactId>
  557. <version>${maven-javadoc-plugin.version}</version>
  558. </plugin>
  559. <plugin>
  560. <groupId>org.apache.maven.plugins</groupId>
  561. <artifactId>maven-source-plugin</artifactId>
  562. <version>${maven-source-plugin.version}</version>
  563. </plugin>
  564. <plugin>
  565. <groupId>org.apache.maven.plugins</groupId>
  566. <artifactId>maven-dependency-plugin</artifactId>
  567. <version>${maven-dependency-plugin.version}</version>
  568. </plugin>
  569. </plugins>
  570. </pluginManagement>
  571. <plugins>
  572. <plugin>
  573. <groupId>org.apache.maven.plugins</groupId>
  574. <artifactId>maven-source-plugin</artifactId>
  575. <executions>
  576. <execution>
  577. <id>attach-sources</id>
  578. <phase>verify</phase>
  579. <goals>
  580. <goal>jar-no-fork</goal>
  581. </goals>
  582. </execution>
  583. </executions>
  584. </plugin>
  585. <plugin>
  586. <groupId>org.apache.maven.plugins</groupId>
  587. <artifactId>maven-javadoc-plugin</artifactId>
  588. <version>${maven-javadoc-plugin.version}</version>
  589. <executions>
  590. <execution>
  591. <id>attach-javadocs</id>
  592. <goals>
  593. <goal>jar</goal>
  594. </goals>
  595. </execution>
  596. </executions>
  597. <configuration>
  598. <aggregate>true</aggregate>
  599. <charset>${project.build.sourceEncoding}</charset>
  600. <encoding>${project.build.sourceEncoding}</encoding>
  601. <docencoding>${project.build.sourceEncoding}</docencoding>
  602. </configuration>
  603. </plugin>
  604. <plugin>
  605. <groupId>org.apache.maven.plugins</groupId>
  606. <artifactId>maven-release-plugin</artifactId>
  607. <version>${maven-release-plugin.version}</version>
  608. <configuration>
  609. <autoVersionSubmodules>true</autoVersionSubmodules>
  610. <tagNameFormat>@{project.version}</tagNameFormat>
  611. <tagBase>${project.version}</tagBase>
  612. <!--<goals>-f pom.xml deploy</goals>-->
  613. </configuration>
  614. <dependencies>
  615. <dependency>
  616. <groupId>org.apache.maven.scm</groupId>
  617. <artifactId>maven-scm-provider-jgit</artifactId>
  618. <version>1.9.5</version>
  619. </dependency>
  620. </dependencies>
  621. </plugin>
  622. <plugin>
  623. <groupId>org.apache.maven.plugins</groupId>
  624. <artifactId>maven-compiler-plugin</artifactId>
  625. <version>${maven-compiler-plugin.version}</version>
  626. <configuration>
  627. <source>${java.version}</source>
  628. <target>${java.version}</target>
  629. <encoding>${project.build.sourceEncoding}</encoding>
  630. <skip>false</skip><!--not skip compile test classes-->
  631. </configuration>
  632. </plugin>
  633. <plugin>
  634. <groupId>org.apache.maven.plugins</groupId>
  635. <artifactId>maven-surefire-plugin</artifactId>
  636. <version>${maven-surefire-plugin.version}</version>
  637. <configuration>
  638. <includes>
  639. <include>**/alert/template/AlertTemplateFactoryTest.java</include>
  640. <include>**/alert/template/impl/DefaultHTMLTemplateTest.java</include>
  641. <include>**/alert/utils/EnterpriseWeChatUtilsTest.java</include>
  642. <include>**/alert/utils/ExcelUtilsTest.java</include>
  643. <include>**/alert/utils/FuncUtilsTest.java</include>
  644. <include>**/alert/utils/JSONUtilsTest.java</include>
  645. <include>**/alert/utils/MailUtilsTest.java</include>
  646. <include>**/alert/plugin/EmailAlertPluginTest.java</include>
  647. <include>**/api/dto/resources/filter/ResourceFilterTest.java</include>
  648. <include>**/api/dto/resources/visitor/ResourceTreeVisitorTest.java</include>
  649. <include>**/api/enums/testGetEnum.java</include>
  650. <include>**/api/enums/StatusTest.java</include>
  651. <include>**/api/exceptions/ApiExceptionHandlerTest.java</include>
  652. <include>**/api/exceptions/ServiceExceptionTest.java</include>
  653. <include>**/api/interceptor/LoginHandlerInterceptorTest.java</include>
  654. <include>**/api/security/PasswordAuthenticatorTest.java</include>
  655. <include>**/api/security/SecurityConfigTest.java</include>
  656. <include>**/api/service/AccessTokenServiceTest.java</include>
  657. <include>**/api/service/AlertGroupServiceTest.java</include>
  658. <include>**/api/service/BaseDAGServiceTest.java</include>
  659. <include>**/api/service/BaseServiceTest.java</include>
  660. <include>**/api/service/DataAnalysisServiceTest.java</include>
  661. <include>**/api/service/DataSourceServiceTest.java</include>
  662. <include>**/api/service/ExecutorService2Test.java</include>
  663. <include>**/api/service/ExecutorServiceTest.java</include>
  664. <include>**/api/service/LoggerServiceTest.java</include>
  665. <include>**/api/service/MonitorServiceTest.java</include>
  666. <include>**/api/service/ProcessDefinitionServiceTest.java</include>
  667. <include>**/api/service/ProcessInstanceServiceTest.java</include>
  668. <include>**/api/service/ProjectServiceTest.java</include>
  669. <include>**/api/service/QueueServiceTest.java</include>
  670. <include>**/api/service/ResourcesServiceTest.java</include>
  671. <include>**/api/service/SchedulerServiceTest.java</include>
  672. <include>**/api/service/SessionServiceTest.java</include>
  673. <include>**/api/service/TaskInstanceServiceTest.java</include>
  674. <include>**/api/service/TenantServiceTest.java</include>
  675. <include>**/api/service/UdfFuncServiceTest.java</include>
  676. <include>**/api/service/UserAlertGroupServiceTest.java</include>
  677. <include>**/api/service/UsersServiceTest.java</include>
  678. <include>**/api/service/WorkerGroupServiceTest.java</include>
  679. <include>**/api/controller/ProcessDefinitionControllerTest.java</include>
  680. <include>**/api/utils/exportprocess/DataSourceParamTest.java</include>
  681. <include>**/api/utils/exportprocess/DependentParamTest.java</include>
  682. <include>**/api/utils/CheckUtilsTest.java</include>
  683. <include>**/api/utils/FileUtilsTest.java</include>
  684. <include>**/api/utils/CheckUtilsTest.java</include>
  685. <include>**/api/utils/CheckUtilsTest.java</include>
  686. <include>**/api/utils/ResultTest.java</include>
  687. <include>**/common/graph/DAGTest.java</include>
  688. <include>**/common/os/OshiTest.java</include>
  689. <include>**/common/os/OSUtilsTest.java</include>
  690. <include>**/common/shell/ShellExecutorTest.java</include>
  691. <include>**/common/task/EntityTestUtils.java</include>
  692. <include>**/common/task/FlinkParametersTest.java</include>
  693. <include>**/common/task/SqoopParameterEntityTest.java</include>
  694. <include>**/common/threadutils/ThreadPoolExecutorsTest.java</include>
  695. <include>**/common/threadutils/ThreadUtilsTest.java</include>
  696. <include>**/common/utils/process/ProcessBuilderForWin32Test.java</include>
  697. <include>**/common/utils/process/ProcessEnvironmentForWin32Test.java</include>
  698. <include>**/common/utils/process/ProcessImplForWin32Test.java</include>
  699. <include>**/common/utils/CollectionUtilsTest.java</include>
  700. <include>**/common/utils/CommonUtilsTest.java</include>
  701. <include>**/common/utils/DateUtilsTest.java</include>
  702. <include>**/common/utils/DependentUtilsTest.java</include>
  703. <include>**/common/utils/EncryptionUtilsTest.java</include>
  704. <include>**/common/utils/FileUtilsTest.java</include>
  705. <include>**/common/utils/IpUtilsTest.java</include>
  706. <include>**/common/utils/JSONUtilsTest.java</include>
  707. <include>**/common/utils/LoggerUtilsTest.java</include>
  708. <include>**/common/utils/OSUtilsTest.java</include>
  709. <include>**/common/utils/ParameterUtilsTest.java</include>
  710. <include>**/common/utils/PreconditionsTest.java</include>
  711. <include>**/common/utils/PropertyUtilsTest.java</include>
  712. <include>**/common/utils/SchemaUtilsTest.java</include>
  713. <include>**/common/utils/ScriptRunnerTest.java</include>
  714. <include>**/common/utils/SensitiveLogUtilsTest.java</include>
  715. <include>**/common/utils/StringTest.java</include>
  716. <include>**/common/utils/StringUtilsTest.java</include>
  717. <include>**/common/utils/TaskParametersUtilsTest.java</include>
  718. <include>**/common/utils/HadoopUtilsTest.java</include>
  719. <include>**/common/utils/HttpUtilsTest.java</include>
  720. <include>**/common/ConstantsTest.java</include>
  721. <include>**/common/utils/HadoopUtils.java</include>
  722. <include>**/common/plugin/FilePluginManagerTest</include>
  723. <include>**/common/plugin/PluginClassLoaderTest</include>
  724. <include>**/dao/mapper/AccessTokenMapperTest.java</include>
  725. <include>**/dao/mapper/AlertGroupMapperTest.java</include>
  726. <include>**/dao/mapper/CommandMapperTest.java</include>
  727. <include>**/dao/mapper/ConnectionFactoryTest.java</include>
  728. <include>**/dao/mapper/DataSourceMapperTest.java</include>
  729. <include>**/remote/RemoveTaskLogResponseCommandTest.java</include>
  730. <include>**/remote/RemoveTaskLogRequestCommandTest.java</include>
  731. <include>**/remote/FastJsonSerializerTest.java</include>
  732. <include>**/remote/NettyRemotingClientTest.java</include>
  733. <include>**/remote/ResponseFutureTest.java</include>
  734. <include>**/server/log/LoggerServerTest.java</include>
  735. <include>**/server/log/MasterLogFilterTest.java</include>
  736. <include>**/server/log/SensitiveDataConverterTest.java</include>
  737. <include>**/server/log/TaskLogDiscriminatorTest.java</include>
  738. <include>**/server/log/TaskLogFilterTest.java</include>
  739. <include>**/server/log/WorkerLogFilterTest.java</include>
  740. <include>**/server/master/consumer/TaskPriorityQueueConsumerTest.java</include>
  741. <include>**/server/master/runner/MasterTaskExecThreadTest.java</include>
  742. <include>**/server/master/dispatch/executor/NettyExecutorManagerTest.java</include>
  743. <include>**/server/master/dispatch/host/assign/LowerWeightRoundRobinTest.java</include>
  744. <include>**/server/master/dispatch/host/assign/RandomSelectorTest.java</include>
  745. <include>**/server/master/dispatch/host/assign/RoundRobinSelectorTest.java</include>
  746. <include>**/server/master/register/MasterRegistryTest.java</include>
  747. <include>**/server/master/AlertManagerTest.java</include>
  748. <include>**/server/master/MasterCommandTest.java</include>
  749. <include>**/server/master/DependentTaskTest.java</include>
  750. <include>**/server/master/ConditionsTaskTest.java</include>
  751. <include>**/server/master/MasterExecThreadTest.java</include>
  752. <include>**/server/master/ParamsTest.java</include>
  753. <include>**/server/register/ZookeeperNodeManagerTest.java</include>
  754. <include>**/server/utils/DataxUtilsTest.java</include>
  755. <include>**/server/utils/ExecutionContextTestUtils.java</include>
  756. <include>**/server/utils/FlinkArgsUtilsTest.java</include>
  757. <include>**/server/utils/ParamUtilsTest.java</include>
  758. <include>**/server/utils/ProcessUtilsTest.java</include>
  759. <include>**/server/utils/SparkArgsUtilsTest.java</include>
  760. <include>**/server/worker/processor/TaskCallbackServiceTest.java</include>
  761. <include>**/server/worker/registry/WorkerRegistryTest.java</include>
  762. <include>**/server/worker/shell/ShellCommandExecutorTest.java</include>
  763. <include>**/server/worker/sql/SqlExecutorTest.java</include>
  764. <include>**/server/worker/task/spark/SparkTaskTest.java</include>
  765. <include>**/server/worker/task/EnvFileTest.java</include>
  766. <include>**/server/worker/task/spark/SparkTaskTest.java</include>
  767. <include>**/server/worker/EnvFileTest.java</include>
  768. <include>**/service/quartz/cron/CronUtilsTest.java</include>
  769. <include>**/service/zk/DefaultEnsembleProviderTest.java</include>
  770. <include>**/service/zk/ZKServerTest.java</include>
  771. <include>**/service/queue/TaskUpdateQueueTest.java</include>
  772. <include>**/dao/mapper/DataSourceUserMapperTest.java</include>
  773. <include>**/dao/mapper/ErrorCommandMapperTest.java</include>
  774. <include>**/dao/mapper/ProcessDefinitionMapperTest.java</include>
  775. <include>**/dao/mapper/ProcessInstanceMapMapperTest.java</include>
  776. <include>**/dao/mapper/ProcessInstanceMapperTest.java</include>
  777. <include>**/dao/mapper/ProjectMapperTest.java</include>
  778. <include>**/dao/mapper/ProjectUserMapperTest.java</include>
  779. <include>**/dao/mapper/QueueMapperTest.java</include>
  780. <include>**/dao/mapper/ResourceUserMapperTest.java</include>
  781. <include>**/dao/mapper/ScheduleMapperTest.java</include>
  782. <include>**/dao/mapper/SessionMapperTest.java</include>
  783. <include>**/dao/mapper/TaskInstanceMapperTest.java</include>
  784. <include>**/dao/mapper/TenantMapperTest.java</include>
  785. <include>**/dao/mapper/UdfFuncMapperTest.java</include>
  786. <include>**/dao/mapper/UDFUserMapperTest.java</include>
  787. <include>**/dao/mapper/UserAlertGroupMapperTest.java</include>
  788. <include>**/dao/mapper/UserMapperTest.java</include>
  789. <include>**/dao/utils/DagHelperTest.java</include>
  790. <include>**/dao/AlertDaoTest.java</include>
  791. <include>**/dao/upgrade/ProcessDefinitionDaoTest.java</include>
  792. <include>**/dao/upgrade/WokrerGrouopDaoTest.java</include>
  793. <include>**/dao/upgrade/UpgradeDaoTest.java</include>
  794. <include>**/plugin/model/AlertDataTest.java</include>
  795. <include>**/plugin/model/AlertInfoTest.java</include>
  796. <include>**/plugin/utils/PropertyUtilsTest.java</include>
  797. </includes>
  798. <!-- <skip>true</skip> -->
  799. </configuration>
  800. </plugin>
  801. <!-- jenkins plugin jacoco report-->
  802. <plugin>
  803. <groupId>org.jacoco</groupId>
  804. <artifactId>jacoco-maven-plugin</artifactId>
  805. <version>${jacoco.version}</version>
  806. <configuration>
  807. <destFile>target/jacoco.exec</destFile>
  808. <dataFile>target/jacoco.exec</dataFile>
  809. </configuration>
  810. <executions>
  811. <execution>
  812. <id>jacoco-initialize</id>
  813. <goals>
  814. <goal>prepare-agent</goal>
  815. </goals>
  816. </execution>
  817. <execution>
  818. <id>jacoco-site</id>
  819. <phase>test</phase>
  820. <goals>
  821. <goal>report</goal>
  822. </goals>
  823. </execution>
  824. </executions>
  825. </plugin>
  826. <plugin>
  827. <groupId>org.apache.rat</groupId>
  828. <artifactId>apache-rat-plugin</artifactId>
  829. <version>${apache.rat.version}</version>
  830. <configuration>
  831. <excludeSubProjects>false</excludeSubProjects>
  832. <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
  833. <licenses>
  834. <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
  835. <licenseFamilyCategory>AL20</licenseFamilyCategory>
  836. <licenseFamilyName>Apache License, 2.0</licenseFamilyName>
  837. <patterns>
  838. <pattern>Licensed to the Apache Software Foundation (ASF)</pattern>
  839. </patterns>
  840. </license>
  841. </licenses>
  842. <licenseFamilies>
  843. <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
  844. <familyName>Apache License, 2.0</familyName>
  845. </licenseFamily>
  846. </licenseFamilies>
  847. <excludes>
  848. <exclude>**/node_modules/**</exclude>
  849. <exclude>**/node/**</exclude>
  850. <exclude>**/dist/**</exclude>
  851. <exclude>**/licenses/**</exclude>
  852. <exclude>**/src/sass/common/_animation.scss</exclude>
  853. <exclude>**/src/sass/common/_normalize.scss</exclude>
  854. <exclude>.github/**</exclude>
  855. <exclude>sql/soft_version</exclude>
  856. <exclude>**/common/utils/ScriptRunner.java</exclude>
  857. <exclude>**/*.json</exclude>
  858. <!-- document files -->
  859. <exclude>**/*.md</exclude>
  860. <excldue>**/*.MD</excldue>
  861. <exclude>**/*.txt</exclude>
  862. <exclude>**/docs/**</exclude>
  863. <exclude>**/*.babelrc</exclude>
  864. <exclude>**/*.eslintrc</exclude>
  865. <exclude>**/.mvn/jvm.config</exclude>
  866. <exclude>**/.mvn/wrapper/**</exclude>
  867. </excludes>
  868. <consoleOutput>true</consoleOutput>
  869. </configuration>
  870. </plugin>
  871. <plugin>
  872. <groupId>com.github.spotbugs</groupId>
  873. <artifactId>spotbugs-maven-plugin</artifactId>
  874. <version>${spotbugs.version}</version>
  875. <configuration>
  876. <xmlOutput>true</xmlOutput>
  877. <threshold>medium</threshold>
  878. <effort>default</effort>
  879. <excludeFilterFile>dev-config/spotbugs-exclude.xml</excludeFilterFile>
  880. <failOnError>true</failOnError>
  881. </configuration>
  882. <dependencies>
  883. <dependency>
  884. <groupId>com.github.spotbugs</groupId>
  885. <artifactId>spotbugs</artifactId>
  886. <version>4.0.0-beta4</version>
  887. </dependency>
  888. </dependencies>
  889. </plugin>
  890. <plugin>
  891. <groupId>org.apache.maven.plugins</groupId>
  892. <artifactId>maven-checkstyle-plugin</artifactId>
  893. <version>${checkstyle.version}</version>
  894. <dependencies>
  895. <dependency>
  896. <groupId>com.puppycrawl.tools</groupId>
  897. <artifactId>checkstyle</artifactId>
  898. <version>8.18</version>
  899. </dependency>
  900. </dependencies>
  901. <configuration>
  902. <consoleOutput>true</consoleOutput>
  903. <encoding>UTF-8</encoding>
  904. <configLocation>style/checkstyle.xml</configLocation>
  905. <suppressionsLocation>style/checkstyle-suppressions.xml</suppressionsLocation>
  906. <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
  907. <failOnViolation>true</failOnViolation>
  908. <violationSeverity>warning</violationSeverity>
  909. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  910. <sourceDirectories>
  911. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  912. </sourceDirectories>
  913. <excludes>**\/generated-sources\/</excludes>
  914. <skip>true</skip>
  915. </configuration>
  916. <executions>
  917. <execution>
  918. <phase>compile</phase>
  919. <goals>
  920. <goal>check</goal>
  921. </goals>
  922. </execution>
  923. </executions>
  924. </plugin>
  925. <plugin>
  926. <groupId>org.codehaus.mojo</groupId>
  927. <artifactId>cobertura-maven-plugin</artifactId>
  928. <version>${cobertura-maven-plugin.version}</version>
  929. <configuration>
  930. <check>
  931. </check>
  932. <aggregate>true</aggregate>
  933. <outputDirectory>./target/cobertura</outputDirectory>
  934. <encoding>${project.build.sourceEncoding}</encoding>
  935. <quiet>true</quiet>
  936. <format>xml</format>
  937. <instrumentation>
  938. <ignoreTrivial>true</ignoreTrivial>
  939. </instrumentation>
  940. </configuration>
  941. </plugin>
  942. </plugins>
  943. </build>
  944. <modules>
  945. <module>dolphinscheduler-ui</module>
  946. <module>dolphinscheduler-server</module>
  947. <module>dolphinscheduler-common</module>
  948. <module>dolphinscheduler-api</module>
  949. <module>dolphinscheduler-dao</module>
  950. <module>dolphinscheduler-alert</module>
  951. <module>dolphinscheduler-dist</module>
  952. <module>dolphinscheduler-remote</module>
  953. <module>dolphinscheduler-service</module>
  954. <module>dolphinscheduler-plugin-api</module>
  955. </modules>
  956. </project>