pom.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  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. <jacoco.version>0.8.4</jacoco.version>
  110. <jcip.version>1.0</jcip.version>
  111. <maven.deploy.skip>false</maven.deploy.skip>
  112. <cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
  113. </properties>
  114. <dependencyManagement>
  115. <dependencies>
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-boot-starter</artifactId>
  119. <version>${mybatis-plus.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.baomidou</groupId>
  123. <artifactId>mybatis-plus</artifactId>
  124. <version>${mybatis-plus.version}</version>
  125. </dependency>
  126. <!-- quartz-->
  127. <dependency>
  128. <groupId>org.quartz-scheduler</groupId>
  129. <artifactId>quartz</artifactId>
  130. <version>${quartz.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.quartz-scheduler</groupId>
  134. <artifactId>quartz-jobs</artifactId>
  135. <version>${quartz.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.cronutils</groupId>
  139. <artifactId>cron-utils</artifactId>
  140. <version>${cron.utils.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.alibaba</groupId>
  144. <artifactId>fastjson</artifactId>
  145. <version>${fastjson.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.alibaba</groupId>
  149. <artifactId>druid</artifactId>
  150. <version>${druid.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-parent</artifactId>
  155. <version>${spring.boot.version}</version>
  156. <type>pom</type>
  157. <scope>import</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-core</artifactId>
  162. <version>${spring.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-context</artifactId>
  167. <version>${spring.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-beans</artifactId>
  172. <version>${spring.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-tx</artifactId>
  177. <version>${spring.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>spring-jdbc</artifactId>
  182. <version>${spring.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-test</artifactId>
  187. <version>${spring.version}</version>
  188. <scope>test</scope>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.h2database</groupId>
  192. <artifactId>h2</artifactId>
  193. <version>${h2.version}</version>
  194. <scope>test</scope>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.dolphinscheduler</groupId>
  198. <artifactId>dolphinscheduler-server</artifactId>
  199. <version>${project.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.dolphinscheduler</groupId>
  203. <artifactId>dolphinscheduler-common</artifactId>
  204. <version>${project.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.dolphinscheduler</groupId>
  208. <artifactId>dolphinscheduler-dao</artifactId>
  209. <version>${project.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.dolphinscheduler</groupId>
  213. <artifactId>dolphinscheduler-api</artifactId>
  214. <version>${project.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.apache.dolphinscheduler</groupId>
  218. <artifactId>dolphinscheduler-rpc</artifactId>
  219. <version>${project.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.apache.dolphinscheduler</groupId>
  223. <artifactId>dolphinscheduler-alert</artifactId>
  224. <version>${project.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.curator</groupId>
  228. <artifactId>curator-framework</artifactId>
  229. <version>${curator.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.curator</groupId>
  233. <artifactId>curator-recipes</artifactId>
  234. <version>${curator.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.zookeeper</groupId>
  238. <artifactId>zookeeper</artifactId>
  239. <exclusions>
  240. <exclusion>
  241. <groupId>org.slf4j</groupId>
  242. <artifactId>slf4j-log4j12</artifactId>
  243. </exclusion>
  244. <exclusion>
  245. <artifactId>netty</artifactId>
  246. <groupId>io.netty</groupId>
  247. </exclusion>
  248. <exclusion>
  249. <groupId>com.github.spotbugs</groupId>
  250. <artifactId>spotbugs-annotations</artifactId>
  251. </exclusion>
  252. </exclusions>
  253. <version>${zookeeper.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>commons-codec</groupId>
  257. <artifactId>commons-codec</artifactId>
  258. <version>${commons.codec.version}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>commons-logging</groupId>
  262. <artifactId>commons-logging</artifactId>
  263. <version>${commons.logging.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.httpcomponents</groupId>
  267. <artifactId>httpclient</artifactId>
  268. <version>${httpclient.version}</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.httpcomponents</groupId>
  272. <artifactId>httpcore</artifactId>
  273. <version>${httpcore.version}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>com.fasterxml.jackson.core</groupId>
  277. <artifactId>jackson-annotations</artifactId>
  278. <version>${jackson.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.fasterxml.jackson.core</groupId>
  282. <artifactId>jackson-databind</artifactId>
  283. <version>${jackson.version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>com.fasterxml.jackson.core</groupId>
  287. <artifactId>jackson-core</artifactId>
  288. <version>${jackson.version}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>junit</groupId>
  292. <artifactId>junit</artifactId>
  293. <version>${junit.version}</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>mysql</groupId>
  297. <artifactId>mysql-connector-java</artifactId>
  298. <version>${mysql.connector.version}</version>
  299. <scope>test</scope>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.slf4j</groupId>
  303. <artifactId>slf4j-api</artifactId>
  304. <version>${slf4j.api.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.slf4j</groupId>
  308. <artifactId>slf4j-log4j12</artifactId>
  309. <version>${slf4j.log4j12.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>commons-collections</groupId>
  313. <artifactId>commons-collections</artifactId>
  314. <version>${commons.collections.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>commons-lang</groupId>
  318. <artifactId>commons-lang</artifactId>
  319. <version>${commons.lang.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.commons</groupId>
  323. <artifactId>commons-lang3</artifactId>
  324. <version>${commons.lang3.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>commons-httpclient</groupId>
  328. <artifactId>commons-httpclient</artifactId>
  329. <version>${commons.httpclient}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>commons-beanutils</groupId>
  333. <artifactId>commons-beanutils</artifactId>
  334. <version>${commons.beanutils.version}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>commons-configuration</groupId>
  338. <artifactId>commons-configuration</artifactId>
  339. <version>${commons.configuration.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>ch.qos.logback</groupId>
  343. <artifactId>logback-classic</artifactId>
  344. <version>${logback.version}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>ch.qos.logback</groupId>
  348. <artifactId>logback-core</artifactId>
  349. <version>${logback.version}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>org.apache.commons</groupId>
  353. <artifactId>commons-email</artifactId>
  354. <version>${commons.email.version}</version>
  355. </dependency>
  356. <!--excel poi-->
  357. <dependency>
  358. <groupId>org.apache.poi</groupId>
  359. <artifactId>poi</artifactId>
  360. <version>${poi.version}</version>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.freemarker</groupId>
  364. <artifactId>freemarker</artifactId>
  365. <version>${freemarker.version}</version>
  366. </dependency>
  367. <!-- hadoop -->
  368. <dependency>
  369. <groupId>org.apache.hadoop</groupId>
  370. <artifactId>hadoop-common</artifactId>
  371. <version>${hadoop.version}</version>
  372. <exclusions>
  373. <exclusion>
  374. <artifactId>slf4j-log4j12</artifactId>
  375. <groupId>org.slf4j</groupId>
  376. </exclusion>
  377. <exclusion>
  378. <artifactId>com.sun.jersey</artifactId>
  379. <groupId>jersey-json</groupId>
  380. </exclusion>
  381. </exclusions>
  382. </dependency>
  383. <dependency>
  384. <groupId>org.apache.hadoop</groupId>
  385. <artifactId>hadoop-client</artifactId>
  386. <version>${hadoop.version}</version>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.apache.hadoop</groupId>
  390. <artifactId>hadoop-hdfs</artifactId>
  391. <version>${hadoop.version}</version>
  392. </dependency>
  393. <dependency>
  394. <groupId>org.apache.hadoop</groupId>
  395. <artifactId>hadoop-yarn-common</artifactId>
  396. <version>${hadoop.version}</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>org.apache.hadoop</groupId>
  400. <artifactId>hadoop-aws</artifactId>
  401. <version>${hadoop.version}</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>javax.servlet</groupId>
  405. <artifactId>javax.servlet-api</artifactId>
  406. <version>${javax.servlet.api.version}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.apache.commons</groupId>
  410. <artifactId>commons-collections4</artifactId>
  411. <version>${commons.collections4.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>com.google.guava</groupId>
  415. <artifactId>guava</artifactId>
  416. <version>${guava.version}</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.postgresql</groupId>
  420. <artifactId>postgresql</artifactId>
  421. <version>${postgresql.version}</version>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.apache.hive</groupId>
  425. <artifactId>hive-jdbc</artifactId>
  426. <version>${hive.jdbc.version}</version>
  427. </dependency>
  428. <dependency>
  429. <groupId>commons-io</groupId>
  430. <artifactId>commons-io</artifactId>
  431. <version>${commons.io.version}</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>com.github.oshi</groupId>
  435. <artifactId>oshi-core</artifactId>
  436. <version>${oshi.core.version}</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>ru.yandex.clickhouse</groupId>
  440. <artifactId>clickhouse-jdbc</artifactId>
  441. <version>${clickhouse.jdbc.version}</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>com.microsoft.sqlserver</groupId>
  445. <artifactId>mssql-jdbc</artifactId>
  446. <version>${mssql.jdbc.version}</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>net.jcip</groupId>
  450. <artifactId>jcip-annotations</artifactId>
  451. <version>${jcip.version}</version>
  452. <optional>true</optional>
  453. </dependency>
  454. </dependencies>
  455. </dependencyManagement>
  456. <build>
  457. <finalName>apache-dolphinscheduler-incubating-${project.version}</finalName>
  458. <pluginManagement>
  459. <plugins>
  460. <plugin>
  461. <groupId>org.apache.maven.plugins</groupId>
  462. <artifactId>maven-compiler-plugin</artifactId>
  463. <configuration>
  464. <source>${java.version}</source>
  465. <target>${java.version}</target>
  466. <testSource>${java.version}</testSource>
  467. <testTarget>${java.version}</testTarget>
  468. </configuration>
  469. <version>${maven-compiler-plugin.version}</version>
  470. </plugin>
  471. <plugin>
  472. <groupId>org.apache.maven.plugins</groupId>
  473. <artifactId>maven-surefire-plugin</artifactId>
  474. </plugin>
  475. <plugin>
  476. <groupId>org.apache.maven.plugins</groupId>
  477. <artifactId>maven-release-plugin</artifactId>
  478. <version>${maven-release-plugin.version}</version>
  479. <configuration>
  480. <tagNameFormat>@{project.version}</tagNameFormat>
  481. </configuration>
  482. </plugin>
  483. <plugin>
  484. <groupId>org.apache.maven.plugins</groupId>
  485. <artifactId>maven-assembly-plugin</artifactId>
  486. <version>${maven-assembly-plugin.version}</version>
  487. </plugin>
  488. <plugin>
  489. <groupId>org.apache.maven.plugins</groupId>
  490. <artifactId>maven-javadoc-plugin</artifactId>
  491. <version>${maven-javadoc-plugin.version}</version>
  492. </plugin>
  493. <plugin>
  494. <groupId>org.apache.maven.plugins</groupId>
  495. <artifactId>maven-source-plugin</artifactId>
  496. <version>${maven-source-plugin.version}</version>
  497. </plugin>
  498. </plugins>
  499. </pluginManagement>
  500. <plugins>
  501. <plugin>
  502. <groupId>org.apache.maven.plugins</groupId>
  503. <artifactId>maven-source-plugin</artifactId>
  504. <executions>
  505. <execution>
  506. <id>attach-sources</id>
  507. <phase>verify</phase>
  508. <goals>
  509. <goal>jar-no-fork</goal>
  510. </goals>
  511. </execution>
  512. </executions>
  513. </plugin>
  514. <plugin>
  515. <groupId>org.apache.maven.plugins</groupId>
  516. <artifactId>maven-javadoc-plugin</artifactId>
  517. <version>${maven-javadoc-plugin.version}</version>
  518. <executions>
  519. <execution>
  520. <id>attach-javadocs</id>
  521. <goals>
  522. <goal>jar</goal>
  523. </goals>
  524. </execution>
  525. </executions>
  526. <configuration>
  527. <aggregate>true</aggregate>
  528. <charset>${project.build.sourceEncoding}</charset>
  529. <encoding>${project.build.sourceEncoding}</encoding>
  530. <docencoding>${project.build.sourceEncoding}</docencoding>
  531. </configuration>
  532. </plugin>
  533. <plugin>
  534. <groupId>org.apache.maven.plugins</groupId>
  535. <artifactId>maven-release-plugin</artifactId>
  536. <version>${maven-release-plugin.version}</version>
  537. <configuration>
  538. <autoVersionSubmodules>true</autoVersionSubmodules>
  539. <tagNameFormat>@{project.version}</tagNameFormat>
  540. <tagBase>${project.version}</tagBase>
  541. <!--<goals>-f pom.xml deploy</goals>-->
  542. </configuration>
  543. <dependencies>
  544. <dependency>
  545. <groupId>org.apache.maven.scm</groupId>
  546. <artifactId>maven-scm-provider-jgit</artifactId>
  547. <version>1.9.5</version>
  548. </dependency>
  549. </dependencies>
  550. </plugin>
  551. <plugin>
  552. <groupId>org.apache.maven.plugins</groupId>
  553. <artifactId>maven-compiler-plugin</artifactId>
  554. <version>${maven-compiler-plugin.version}</version>
  555. <configuration>
  556. <source>${java.version}</source>
  557. <target>${java.version}</target>
  558. <encoding>${project.build.sourceEncoding}</encoding>
  559. <skip>false</skip><!--not skip compile test classes-->
  560. </configuration>
  561. </plugin>
  562. <plugin>
  563. <groupId>org.apache.maven.plugins</groupId>
  564. <artifactId>maven-surefire-plugin</artifactId>
  565. <version>${maven-surefire-plugin.version}</version>
  566. <configuration>
  567. <includes>
  568. <include>**/common/utils/*.java</include>
  569. <include>**/api/utils/CheckUtilsTest.java</include>
  570. <include>**/api/utils/FileUtilsTest.java</include>
  571. <include>**/common/graph/*.java</include>
  572. <include>**/common/queue/*.java</include>
  573. <include>**/api/utils/CheckUtilsTest.java</include>
  574. <include>**/api/utils/FileUtilsTest.java</include>
  575. <include>**/alert/utils/ExcelUtilsTest.java</include>
  576. </includes>
  577. <!-- <skip>true</skip> -->
  578. </configuration>
  579. </plugin>
  580. <!-- jenkins plugin jacoco report-->
  581. <plugin>
  582. <groupId>org.jacoco</groupId>
  583. <artifactId>jacoco-maven-plugin</artifactId>
  584. <version>${jacoco.version}</version>
  585. <configuration>
  586. <destFile>target/jacoco.exec</destFile>
  587. <dataFile>target/jacoco.exec</dataFile>
  588. </configuration>
  589. <executions>
  590. <execution>
  591. <id>jacoco-initialize</id>
  592. <goals>
  593. <goal>prepare-agent</goal>
  594. </goals>
  595. </execution>
  596. <execution>
  597. <id>jacoco-site</id>
  598. <phase>test</phase>
  599. <goals>
  600. <goal>report</goal>
  601. </goals>
  602. </execution>
  603. </executions>
  604. </plugin>
  605. <plugin>
  606. <groupId>org.apache.rat</groupId>
  607. <artifactId>apache-rat-plugin</artifactId>
  608. <version>${apache.rat.version}</version>
  609. <configuration>
  610. <includes>
  611. <include>**/*.java</include>
  612. <include>**/dolphinscheduler-ui/src/**/*.scss</include>
  613. <include>**/dolphinscheduler-ui/src/**/*.css</include>
  614. <include>**/dolphinscheduler-ui/src/**/*.vue</include>
  615. <include>**/dolphinscheduler-ui/src/**/*.js</include>
  616. <include>**/dolphinscheduler-ui/src/**/*.html</include>
  617. </includes>
  618. <excludes>
  619. <exclude>**/dolphinscheduler-ui/src/lib/**</exclude>
  620. <exclude>**/dolphinscheduler-ui/src/js/module/util/cookie.js</exclude>
  621. <exclude>**/dolphinscheduler-ui/src/font/awesome/font-awesome.css</exclude>
  622. <exclude>**/dolphinscheduler-ui/src/sass/common/_animation.scss</exclude>
  623. <exclude>**/dolphinscheduler-ui/src/sass/common/_normalize.scss</exclude>
  624. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/es5.js</exclude>
  625. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/base.css</exclude>
  626. <exclude>**/dolphinscheduler-ui/src/view/common/outro.inc</exclude>
  627. <exclude>**/dolphinscheduler-ui/src/view/common/meta.inc</exclude>
  628. <exclude>**/dolphinscheduler-ui/src/combo/1.0.0/3rd.css</exclude>
  629. <exclude>**/dolphinscheduler-rpc/src/main/java/org/apache/dolphinscheduler/rpc/LogViewServiceGrpc.java</exclude>
  630. </excludes>
  631. <consoleOutput>true</consoleOutput>
  632. </configuration>
  633. </plugin>
  634. <plugin>
  635. <groupId>com.github.spotbugs</groupId>
  636. <artifactId>spotbugs-maven-plugin</artifactId>
  637. <version>${spotbugs.version}</version>
  638. <configuration>
  639. <xmlOutput>true</xmlOutput>
  640. <threshold>medium</threshold>
  641. <effort>default</effort>
  642. <excludeFilterFile>dev-config/spotbugs-exclude.xml</excludeFilterFile>
  643. <failOnError>true</failOnError>
  644. </configuration>
  645. <dependencies>
  646. <dependency>
  647. <groupId>com.github.spotbugs</groupId>
  648. <artifactId>spotbugs</artifactId>
  649. <version>4.0.0-beta4</version>
  650. </dependency>
  651. </dependencies>
  652. </plugin>
  653. <plugin>
  654. <groupId>org.apache.maven.plugins</groupId>
  655. <artifactId>maven-checkstyle-plugin</artifactId>
  656. <version>${checkstyle.version}</version>
  657. <dependencies>
  658. <dependency>
  659. <groupId>com.puppycrawl.tools</groupId>
  660. <artifactId>checkstyle</artifactId>
  661. <version>8.18</version>
  662. </dependency>
  663. </dependencies>
  664. <configuration>
  665. <consoleOutput>true</consoleOutput>
  666. <encoding>UTF-8</encoding>
  667. <configLocation>style/checkstyle.xml</configLocation>
  668. <suppressionsLocation>style/checkstyle-suppressions.xml</suppressionsLocation>
  669. <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
  670. <failOnViolation>true</failOnViolation>
  671. <violationSeverity>warning</violationSeverity>
  672. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  673. <sourceDirectories>
  674. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  675. </sourceDirectories>
  676. <excludes>**\/generated-sources\/</excludes>
  677. <skip>true</skip>
  678. </configuration>
  679. <executions>
  680. <execution>
  681. <phase>compile</phase>
  682. <goals>
  683. <goal>check</goal>
  684. </goals>
  685. </execution>
  686. </executions>
  687. </plugin>
  688. <plugin>
  689. <groupId>org.codehaus.mojo</groupId>
  690. <artifactId>cobertura-maven-plugin</artifactId>
  691. <version>${cobertura-maven-plugin.version}</version>
  692. <configuration>
  693. <check>
  694. </check>
  695. <aggregate>true</aggregate>
  696. <encoding>${project.build.sourceEncoding}</encoding>
  697. <quiet>true</quiet>
  698. <format>xml</format>
  699. <instrumentation>
  700. <ignoreTrivial>true</ignoreTrivial>
  701. <ignoreMethodAnnotations>
  702. <ignoreMethodAnnotation>lombok.Generated</ignoreMethodAnnotation>
  703. </ignoreMethodAnnotations>
  704. <excludes>
  705. </excludes>
  706. </instrumentation>
  707. </configuration>
  708. </plugin>
  709. </plugins>
  710. </build>
  711. <modules>
  712. <module>dolphinscheduler-ui</module>
  713. <module>dolphinscheduler-server</module>
  714. <module>dolphinscheduler-common</module>
  715. <module>dolphinscheduler-api</module>
  716. <module>dolphinscheduler-dao</module>
  717. <module>dolphinscheduler-alert</module>
  718. <module>dolphinscheduler-rpc</module>
  719. <module>dolphinscheduler-dist</module>
  720. </modules>
  721. </project>