pom.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <modelVersion>4.0.0</modelVersion>
  20. <groupId>org.apache.dolphinscheduler</groupId>
  21. <artifactId>dolphinscheduler</artifactId>
  22. <version>1.2.1-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>${project.artifactId}</name>
  25. <url>http://dolphinscheduler.apache.org</url>
  26. <description>Dolphin Scheduler is a distributed and easy-to-expand visual DAG workflow scheduling system, dedicated to solving the complex dependencies in data processing, making the scheduling system out of the box for data processing.</description>
  27. <licenses>
  28. <license>
  29. <name>Apache License 2.0</name>
  30. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  31. <distribution>repo</distribution>
  32. </license>
  33. </licenses>
  34. <scm>
  35. <connection>scm:git:https://github.com/apache/incubator-dolphinscheduler.git</connection>
  36. <developerConnection>scm:git:https://github.com/apache/incubator-dolphinscheduler.git</developerConnection>
  37. <url>https://github.com/apache/incubator-dolphinscheduler</url>
  38. <tag>HEAD</tag>
  39. </scm>
  40. <mailingLists>
  41. <mailingList>
  42. <name>DolphinScheduler Developer List</name>
  43. <post>dev@dolphinscheduler.incubator.apache.org</post>
  44. <subscribe>dev-subscribe@dolphinscheduler.incubator.apache.org</subscribe>
  45. <unsubscribe>dev-unsubscribe@dolphinscheduler.incubator.apache.org</unsubscribe>
  46. </mailingList>
  47. </mailingLists>
  48. <parent>
  49. <groupId>org.apache</groupId>
  50. <artifactId>apache</artifactId>
  51. <version>21</version>
  52. </parent>
  53. <properties>
  54. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  55. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  56. <curator.version>2.12.0</curator.version>
  57. <spring.version>5.1.5.RELEASE</spring.version>
  58. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  59. <java.version>1.8</java.version>
  60. <logback.version>1.2.3</logback.version>
  61. <hadoop.version>2.7.3</hadoop.version>
  62. <quartz.version>2.2.3</quartz.version>
  63. <jackson.version>2.9.8</jackson.version>
  64. <mybatis-plus.version>3.2.0</mybatis-plus.version>
  65. <lombok.version>1.18.4</lombok.version>
  66. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  67. <cron.utils.version>5.0.5</cron.utils.version>
  68. <fastjson.version>1.2.61</fastjson.version>
  69. <druid.version>1.1.14</druid.version>
  70. <h2.version>1.3.163</h2.version>
  71. <commons.codec.version>1.6</commons.codec.version>
  72. <commons.logging.version>1.1.1</commons.logging.version>
  73. <httpclient.version>4.4.1</httpclient.version>
  74. <httpcore.version>4.4.1</httpcore.version>
  75. <junit.version>4.12</junit.version>
  76. <mysql.connector.version>5.1.34</mysql.connector.version>
  77. <slf4j.api.version>1.7.5</slf4j.api.version>
  78. <slf4j.log4j12.version>1.7.5</slf4j.log4j12.version>
  79. <commons.collections.version>3.2.2</commons.collections.version>
  80. <commons.lang.version>2.3</commons.lang.version>
  81. <commons.lang3.version>3.5</commons.lang3.version>
  82. <commons.httpclient>3.0.1</commons.httpclient>
  83. <commons.beanutils.version>1.7.0</commons.beanutils.version>
  84. <commons.configuration.version>1.10</commons.configuration.version>
  85. <commons.email.version>1.5</commons.email.version>
  86. <poi.version>3.17</poi.version>
  87. <freemarker.version>2.3.21</freemarker.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.version>6.1.14</jsp.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.18.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. <jasper-runtime.version>5.5.23</jasper-runtime.version>
  118. <servlet-api.version>2.5</servlet-api.version>
  119. <swagger.version>1.9.3</swagger.version>
  120. <springfox.version>2.9.2</springfox.version>
  121. </properties>
  122. <dependencyManagement>
  123. <dependencies>
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>mybatis-plus-boot-starter</artifactId>
  127. <version>${mybatis-plus.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>mybatis-plus</artifactId>
  132. <version>${mybatis-plus.version}</version>
  133. </dependency>
  134. <!-- quartz-->
  135. <dependency>
  136. <groupId>org.quartz-scheduler</groupId>
  137. <artifactId>quartz</artifactId>
  138. <version>${quartz.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.quartz-scheduler</groupId>
  142. <artifactId>quartz-jobs</artifactId>
  143. <version>${quartz.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.cronutils</groupId>
  147. <artifactId>cron-utils</artifactId>
  148. <version>${cron.utils.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.alibaba</groupId>
  152. <artifactId>fastjson</artifactId>
  153. <version>${fastjson.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>druid</artifactId>
  158. <version>${druid.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-parent</artifactId>
  163. <version>${spring.boot.version}</version>
  164. <type>pom</type>
  165. <scope>import</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.springframework</groupId>
  169. <artifactId>spring-core</artifactId>
  170. <version>${spring.version}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.springframework</groupId>
  174. <artifactId>spring-context</artifactId>
  175. <version>${spring.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.springframework</groupId>
  179. <artifactId>spring-beans</artifactId>
  180. <version>${spring.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-tx</artifactId>
  185. <version>${spring.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework</groupId>
  189. <artifactId>spring-jdbc</artifactId>
  190. <version>${spring.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-test</artifactId>
  195. <version>${spring.version}</version>
  196. <scope>test</scope>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.h2database</groupId>
  200. <artifactId>h2</artifactId>
  201. <version>${h2.version}</version>
  202. <scope>test</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.dolphinscheduler</groupId>
  206. <artifactId>dolphinscheduler-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-dao</artifactId>
  217. <version>${project.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.dolphinscheduler</groupId>
  221. <artifactId>dolphinscheduler-api</artifactId>
  222. <version>${project.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.dolphinscheduler</groupId>
  226. <artifactId>dolphinscheduler-rpc</artifactId>
  227. <version>${project.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.dolphinscheduler</groupId>
  231. <artifactId>dolphinscheduler-alert</artifactId>
  232. <version>${project.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.curator</groupId>
  236. <artifactId>curator-framework</artifactId>
  237. <version>${curator.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.curator</groupId>
  241. <artifactId>curator-recipes</artifactId>
  242. <version>${curator.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.zookeeper</groupId>
  246. <artifactId>zookeeper</artifactId>
  247. <exclusions>
  248. <exclusion>
  249. <groupId>org.slf4j</groupId>
  250. <artifactId>slf4j-log4j12</artifactId>
  251. </exclusion>
  252. <exclusion>
  253. <artifactId>netty</artifactId>
  254. <groupId>io.netty</groupId>
  255. </exclusion>
  256. <exclusion>
  257. <groupId>com.github.spotbugs</groupId>
  258. <artifactId>spotbugs-annotations</artifactId>
  259. </exclusion>
  260. </exclusions>
  261. <version>${zookeeper.version}</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>commons-codec</groupId>
  265. <artifactId>commons-codec</artifactId>
  266. <version>${commons.codec.version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>commons-logging</groupId>
  270. <artifactId>commons-logging</artifactId>
  271. <version>${commons.logging.version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.apache.httpcomponents</groupId>
  275. <artifactId>httpclient</artifactId>
  276. <version>${httpclient.version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.httpcomponents</groupId>
  280. <artifactId>httpcore</artifactId>
  281. <version>${httpcore.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.fasterxml.jackson.core</groupId>
  285. <artifactId>jackson-annotations</artifactId>
  286. <version>${jackson.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.fasterxml.jackson.core</groupId>
  290. <artifactId>jackson-databind</artifactId>
  291. <version>${jackson.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.fasterxml.jackson.core</groupId>
  295. <artifactId>jackson-core</artifactId>
  296. <version>${jackson.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>junit</groupId>
  300. <artifactId>junit</artifactId>
  301. <version>${junit.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.mockito</groupId>
  305. <artifactId>mockito-core</artifactId>
  306. <version>${mockito.version}</version>
  307. <type>jar</type>
  308. <scope>test</scope>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.powermock</groupId>
  312. <artifactId>powermock-module-junit4</artifactId>
  313. <version>${powermock.version}</version>
  314. <type>jar</type>
  315. <scope>test</scope>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.powermock</groupId>
  319. <artifactId>powermock-api-mockito2</artifactId>
  320. <version>${powermock.version}</version>
  321. <type>jar</type>
  322. <scope>test</scope>
  323. <exclusions>
  324. <exclusion>
  325. <groupId>org.mockito</groupId>
  326. <artifactId>mockito-core</artifactId>
  327. </exclusion>
  328. </exclusions>
  329. </dependency>
  330. <dependency>
  331. <groupId>mysql</groupId>
  332. <artifactId>mysql-connector-java</artifactId>
  333. <version>${mysql.connector.version}</version>
  334. <scope>test</scope>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.slf4j</groupId>
  338. <artifactId>slf4j-api</artifactId>
  339. <version>${slf4j.api.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.slf4j</groupId>
  343. <artifactId>slf4j-log4j12</artifactId>
  344. <version>${slf4j.log4j12.version}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>commons-collections</groupId>
  348. <artifactId>commons-collections</artifactId>
  349. <version>${commons.collections.version}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>commons-httpclient</groupId>
  353. <artifactId>commons-httpclient</artifactId>
  354. <version>${commons.httpclient}</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>commons-beanutils</groupId>
  358. <artifactId>commons-beanutils</artifactId>
  359. <version>${commons.beanutils.version}</version>
  360. </dependency>
  361. <dependency>
  362. <groupId>commons-configuration</groupId>
  363. <artifactId>commons-configuration</artifactId>
  364. <version>${commons.configuration.version}</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>ch.qos.logback</groupId>
  368. <artifactId>logback-classic</artifactId>
  369. <version>${logback.version}</version>
  370. </dependency>
  371. <dependency>
  372. <groupId>ch.qos.logback</groupId>
  373. <artifactId>logback-core</artifactId>
  374. <version>${logback.version}</version>
  375. </dependency>
  376. <dependency>
  377. <groupId>org.apache.commons</groupId>
  378. <artifactId>commons-email</artifactId>
  379. <version>${commons.email.version}</version>
  380. </dependency>
  381. <!--excel poi-->
  382. <dependency>
  383. <groupId>org.apache.poi</groupId>
  384. <artifactId>poi</artifactId>
  385. <version>${poi.version}</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>org.freemarker</groupId>
  389. <artifactId>freemarker</artifactId>
  390. <version>${freemarker.version}</version>
  391. </dependency>
  392. <!-- hadoop -->
  393. <dependency>
  394. <groupId>org.apache.hadoop</groupId>
  395. <artifactId>hadoop-common</artifactId>
  396. <version>${hadoop.version}</version>
  397. <exclusions>
  398. <exclusion>
  399. <artifactId>slf4j-log4j12</artifactId>
  400. <groupId>org.slf4j</groupId>
  401. </exclusion>
  402. <exclusion>
  403. <artifactId>com.sun.jersey</artifactId>
  404. <groupId>jersey-json</groupId>
  405. </exclusion>
  406. </exclusions>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.apache.hadoop</groupId>
  410. <artifactId>hadoop-client</artifactId>
  411. <version>${hadoop.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>org.apache.hadoop</groupId>
  415. <artifactId>hadoop-hdfs</artifactId>
  416. <version>${hadoop.version}</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.apache.hadoop</groupId>
  420. <artifactId>hadoop-yarn-common</artifactId>
  421. <version>${hadoop.version}</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.apache.hadoop</groupId>
  425. <artifactId>hadoop-aws</artifactId>
  426. <version>${hadoop.version}</version>
  427. </dependency>
  428. <dependency>
  429. <groupId>javax.servlet</groupId>
  430. <artifactId>javax.servlet-api</artifactId>
  431. <version>${javax.servlet.api.version}</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>org.apache.commons</groupId>
  435. <artifactId>commons-collections4</artifactId>
  436. <version>${commons.collections4.version}</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>com.google.guava</groupId>
  440. <artifactId>guava</artifactId>
  441. <version>${guava.version}</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>org.postgresql</groupId>
  445. <artifactId>postgresql</artifactId>
  446. <version>${postgresql.version}</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>org.apache.hive</groupId>
  450. <artifactId>hive-jdbc</artifactId>
  451. <version>${hive.jdbc.version}</version>
  452. </dependency>
  453. <dependency>
  454. <groupId>commons-io</groupId>
  455. <artifactId>commons-io</artifactId>
  456. <version>${commons.io.version}</version>
  457. </dependency>
  458. <dependency>
  459. <groupId>com.github.oshi</groupId>
  460. <artifactId>oshi-core</artifactId>
  461. <version>${oshi.core.version}</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>ru.yandex.clickhouse</groupId>
  465. <artifactId>clickhouse-jdbc</artifactId>
  466. <version>${clickhouse.jdbc.version}</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>com.microsoft.sqlserver</groupId>
  470. <artifactId>mssql-jdbc</artifactId>
  471. <version>${mssql.jdbc.version}</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>net.jcip</groupId>
  475. <artifactId>jcip-annotations</artifactId>
  476. <version>${jcip.version}</version>
  477. <optional>true</optional>
  478. </dependency>
  479. <dependency>
  480. <groupId>tomcat</groupId>
  481. <artifactId>jasper-runtime</artifactId>
  482. <version>${jasper-runtime.version}</version>
  483. </dependency>
  484. <dependency>
  485. <groupId>javax.servlet</groupId>
  486. <artifactId>servlet-api</artifactId>
  487. <version>${servlet-api.version}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>io.springfox</groupId>
  491. <artifactId>springfox-swagger2</artifactId>
  492. <version>${springfox.version}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>io.springfox</groupId>
  496. <artifactId>springfox-swagger-ui</artifactId>
  497. <version>${springfox.version}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>com.github.xiaoymin</groupId>
  501. <artifactId>swagger-bootstrap-ui</artifactId>
  502. <version>${swagger.version}</version>
  503. </dependency>
  504. </dependencies>
  505. </dependencyManagement>
  506. <build>
  507. <finalName>apache-dolphinscheduler-incubating-${project.version}</finalName>
  508. <pluginManagement>
  509. <plugins>
  510. <plugin>
  511. <groupId>org.codehaus.mojo</groupId>
  512. <artifactId>rpm-maven-plugin</artifactId>
  513. <version>${rpm-maven-plugion.version}</version>
  514. <inherited>false</inherited>
  515. </plugin>
  516. <plugin>
  517. <groupId>org.apache.maven.plugins</groupId>
  518. <artifactId>maven-compiler-plugin</artifactId>
  519. <configuration>
  520. <source>${java.version}</source>
  521. <target>${java.version}</target>
  522. <testSource>${java.version}</testSource>
  523. <testTarget>${java.version}</testTarget>
  524. </configuration>
  525. <version>${maven-compiler-plugin.version}</version>
  526. </plugin>
  527. <plugin>
  528. <groupId>org.apache.maven.plugins</groupId>
  529. <artifactId>maven-surefire-plugin</artifactId>
  530. </plugin>
  531. <plugin>
  532. <groupId>org.apache.maven.plugins</groupId>
  533. <artifactId>maven-release-plugin</artifactId>
  534. <version>${maven-release-plugin.version}</version>
  535. <configuration>
  536. <tagNameFormat>@{project.version}</tagNameFormat>
  537. </configuration>
  538. </plugin>
  539. <plugin>
  540. <groupId>org.apache.maven.plugins</groupId>
  541. <artifactId>maven-assembly-plugin</artifactId>
  542. <version>${maven-assembly-plugin.version}</version>
  543. </plugin>
  544. <plugin>
  545. <groupId>org.apache.maven.plugins</groupId>
  546. <artifactId>maven-javadoc-plugin</artifactId>
  547. <version>${maven-javadoc-plugin.version}</version>
  548. </plugin>
  549. <plugin>
  550. <groupId>org.apache.maven.plugins</groupId>
  551. <artifactId>maven-source-plugin</artifactId>
  552. <version>${maven-source-plugin.version}</version>
  553. </plugin>
  554. <plugin>
  555. <groupId>org.apache.maven.plugins</groupId>
  556. <artifactId>maven-dependency-plugin</artifactId>
  557. <version>${maven-dependency-plugin.version}</version>
  558. </plugin>
  559. </plugins>
  560. </pluginManagement>
  561. <plugins>
  562. <plugin>
  563. <groupId>org.apache.maven.plugins</groupId>
  564. <artifactId>maven-source-plugin</artifactId>
  565. <executions>
  566. <execution>
  567. <id>attach-sources</id>
  568. <phase>verify</phase>
  569. <goals>
  570. <goal>jar-no-fork</goal>
  571. </goals>
  572. </execution>
  573. </executions>
  574. </plugin>
  575. <plugin>
  576. <groupId>org.apache.maven.plugins</groupId>
  577. <artifactId>maven-javadoc-plugin</artifactId>
  578. <version>${maven-javadoc-plugin.version}</version>
  579. <executions>
  580. <execution>
  581. <id>attach-javadocs</id>
  582. <goals>
  583. <goal>jar</goal>
  584. </goals>
  585. </execution>
  586. </executions>
  587. <configuration>
  588. <aggregate>true</aggregate>
  589. <charset>${project.build.sourceEncoding}</charset>
  590. <encoding>${project.build.sourceEncoding}</encoding>
  591. <docencoding>${project.build.sourceEncoding}</docencoding>
  592. </configuration>
  593. </plugin>
  594. <plugin>
  595. <groupId>org.apache.maven.plugins</groupId>
  596. <artifactId>maven-release-plugin</artifactId>
  597. <version>${maven-release-plugin.version}</version>
  598. <configuration>
  599. <autoVersionSubmodules>true</autoVersionSubmodules>
  600. <tagNameFormat>@{project.version}</tagNameFormat>
  601. <tagBase>${project.version}</tagBase>
  602. <!--<goals>-f pom.xml deploy</goals>-->
  603. </configuration>
  604. <dependencies>
  605. <dependency>
  606. <groupId>org.apache.maven.scm</groupId>
  607. <artifactId>maven-scm-provider-jgit</artifactId>
  608. <version>1.9.5</version>
  609. </dependency>
  610. </dependencies>
  611. </plugin>
  612. <plugin>
  613. <groupId>org.apache.maven.plugins</groupId>
  614. <artifactId>maven-compiler-plugin</artifactId>
  615. <version>${maven-compiler-plugin.version}</version>
  616. <configuration>
  617. <source>${java.version}</source>
  618. <target>${java.version}</target>
  619. <encoding>${project.build.sourceEncoding}</encoding>
  620. <skip>false</skip><!--not skip compile test classes-->
  621. </configuration>
  622. </plugin>
  623. <plugin>
  624. <groupId>org.apache.maven.plugins</groupId>
  625. <artifactId>maven-surefire-plugin</artifactId>
  626. <version>${maven-surefire-plugin.version}</version>
  627. <configuration>
  628. <includes>
  629. <include>**/common/utils/*.java</include>
  630. <include>**/common/threadutils/*.java</include>
  631. <include>**/common/graph/*.java</include>
  632. <include>**/common/queue/*.java</include>
  633. <include>**/api/utils/CheckUtilsTest.java</include>
  634. <include>**/api/utils/FileUtilsTest.java</include>
  635. <include>**/api/enums/*.java</include>
  636. <include>**/api/service/AccessTokenServiceTest.java</include>
  637. <include>**/api/service/QueueServiceTest.java</include>
  638. <include>**/api/service/MonitorServiceTest.java</include>
  639. <include>**/api/service/SessionServiceTest.java</include>
  640. <include>**/api/service/UsersServiceTest.java</include>
  641. <include>**/api/service/TenantServiceTest.java</include>
  642. <include>**/api/service/WorkerGroupServiceTest.java</include>
  643. <include>**/api/service/AlertGroupServiceTest.java</include>
  644. <include>**/api/service/ProjectServiceTest.java</include>
  645. <include>**/api/service/ProcessDefinitionServiceTest.java</include>
  646. <include>**/api/service/UdfFuncServiceTest.java</include>
  647. <include>**/api/service/ResourcesServiceTest.java</include>
  648. <include>**/alert/utils/ExcelUtilsTest.java</include>
  649. <include>**/alert/utils/FuncUtilsTest.java</include>
  650. <include>**/alert/utils/JSONUtilsTest.java</include>
  651. <include>**/alert/utils/PropertyUtilsTest.java</include>
  652. <include>**/server/utils/SparkArgsUtilsTest.java</include>
  653. <include>**/server/utils/FlinkArgsUtilsTest.java</include>
  654. <include>**/server/utils/ParamUtilsTest.java</include>
  655. <include>**/dao/mapper/AccessTokenMapperTest.java</include>
  656. <include>**/dao/mapper/AlertGroupMapperTest.java</include>
  657. <include>**/dao/mapper/AlertMapperTest.java</include>
  658. <include>**/dao/mapper/CommandMapperTest.java</include>
  659. <include>**/alert/template/AlertTemplateFactoryTest.java</include>
  660. <include>**/alert/template/impl/DefaultHTMLTemplateTest.java</include>
  661. </includes>
  662. <!-- <skip>true</skip> -->
  663. </configuration>
  664. </plugin>
  665. <!-- jenkins plugin jacoco report-->
  666. <plugin>
  667. <groupId>org.jacoco</groupId>
  668. <artifactId>jacoco-maven-plugin</artifactId>
  669. <version>${jacoco.version}</version>
  670. <configuration>
  671. <destFile>target/jacoco.exec</destFile>
  672. <dataFile>target/jacoco.exec</dataFile>
  673. </configuration>
  674. <executions>
  675. <execution>
  676. <id>jacoco-initialize</id>
  677. <goals>
  678. <goal>prepare-agent</goal>
  679. </goals>
  680. </execution>
  681. <execution>
  682. <id>jacoco-site</id>
  683. <phase>test</phase>
  684. <goals>
  685. <goal>report</goal>
  686. </goals>
  687. </execution>
  688. </executions>
  689. </plugin>
  690. <plugin>
  691. <groupId>org.apache.rat</groupId>
  692. <artifactId>apache-rat-plugin</artifactId>
  693. <version>${apache.rat.version}</version>
  694. <configuration>
  695. <includes>
  696. <include>**/*.java</include>
  697. <include>**/dolphinscheduler-ui/src/**/*.scss</include>
  698. <include>**/dolphinscheduler-ui/src/**/*.css</include>
  699. <include>**/dolphinscheduler-ui/src/**/*.vue</include>
  700. <include>**/dolphinscheduler-ui/src/**/*.js</include>
  701. <include>**/dolphinscheduler-ui/src/**/*.html</include>
  702. </includes>
  703. <excludes>
  704. <exclude>**/dolphinscheduler-ui/src/lib/**</exclude>
  705. <exclude>**/dolphinscheduler-ui/src/js/module/util/cookie.js</exclude>
  706. <exclude>**/dolphinscheduler-ui/src/font/awesome/font-awesome.css</exclude>
  707. <exclude>**/dolphinscheduler-ui/src/sass/common/_animation.scss</exclude>
  708. <exclude>**/dolphinscheduler-ui/src/sass/common/_normalize.scss</exclude>
  709. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/es5.js</exclude>
  710. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/base.css</exclude>
  711. <exclude>**/dolphinscheduler-ui/src/view/common/outro.inc</exclude>
  712. <exclude>**/dolphinscheduler-ui/src/view/common/meta.inc</exclude>
  713. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/3rd.css</exclude>
  714. <exclude>**/dolphinscheduler-rpc/src/main/java/org/apache/dolphinscheduler/rpc/LogViewServiceGrpc.java</exclude>
  715. </excludes>
  716. <consoleOutput>true</consoleOutput>
  717. </configuration>
  718. </plugin>
  719. <plugin>
  720. <groupId>com.github.spotbugs</groupId>
  721. <artifactId>spotbugs-maven-plugin</artifactId>
  722. <version>${spotbugs.version}</version>
  723. <configuration>
  724. <xmlOutput>true</xmlOutput>
  725. <threshold>medium</threshold>
  726. <effort>default</effort>
  727. <excludeFilterFile>dev-config/spotbugs-exclude.xml</excludeFilterFile>
  728. <failOnError>true</failOnError>
  729. </configuration>
  730. <dependencies>
  731. <dependency>
  732. <groupId>com.github.spotbugs</groupId>
  733. <artifactId>spotbugs</artifactId>
  734. <version>4.0.0-beta4</version>
  735. </dependency>
  736. </dependencies>
  737. </plugin>
  738. <plugin>
  739. <groupId>org.apache.maven.plugins</groupId>
  740. <artifactId>maven-checkstyle-plugin</artifactId>
  741. <version>${checkstyle.version}</version>
  742. <dependencies>
  743. <dependency>
  744. <groupId>com.puppycrawl.tools</groupId>
  745. <artifactId>checkstyle</artifactId>
  746. <version>8.18</version>
  747. </dependency>
  748. </dependencies>
  749. <configuration>
  750. <consoleOutput>true</consoleOutput>
  751. <encoding>UTF-8</encoding>
  752. <configLocation>style/checkstyle.xml</configLocation>
  753. <suppressionsLocation>style/checkstyle-suppressions.xml</suppressionsLocation>
  754. <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
  755. <failOnViolation>true</failOnViolation>
  756. <violationSeverity>warning</violationSeverity>
  757. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  758. <sourceDirectories>
  759. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  760. </sourceDirectories>
  761. <excludes>**\/generated-sources\/</excludes>
  762. <skip>true</skip>
  763. </configuration>
  764. <executions>
  765. <execution>
  766. <phase>compile</phase>
  767. <goals>
  768. <goal>check</goal>
  769. </goals>
  770. </execution>
  771. </executions>
  772. </plugin>
  773. <plugin>
  774. <groupId>org.codehaus.mojo</groupId>
  775. <artifactId>cobertura-maven-plugin</artifactId>
  776. <version>${cobertura-maven-plugin.version}</version>
  777. <configuration>
  778. <check>
  779. </check>
  780. <aggregate>true</aggregate>
  781. <outputDirectory>./target/cobertura</outputDirectory>
  782. <encoding>${project.build.sourceEncoding}</encoding>
  783. <quiet>true</quiet>
  784. <format>xml</format>
  785. <instrumentation>
  786. <ignoreTrivial>true</ignoreTrivial>
  787. <ignoreMethodAnnotations>
  788. <ignoreMethodAnnotation>lombok.Generated</ignoreMethodAnnotation>
  789. </ignoreMethodAnnotations>
  790. <excludes>
  791. </excludes>
  792. </instrumentation>
  793. </configuration>
  794. </plugin>
  795. </plugins>
  796. </build>
  797. <modules>
  798. <module>dolphinscheduler-ui</module>
  799. <module>dolphinscheduler-server</module>
  800. <module>dolphinscheduler-common</module>
  801. <module>dolphinscheduler-api</module>
  802. <module>dolphinscheduler-dao</module>
  803. <module>dolphinscheduler-alert</module>
  804. <module>dolphinscheduler-rpc</module>
  805. <module>dolphinscheduler-dist</module>
  806. </modules>
  807. </project>