pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>cn.analysys</groupId>
  5. <artifactId>escheduler</artifactId>
  6. <version>1.1.0-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <name>escheduler</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <curator.version>2.12.0</curator.version>
  14. <spring.version>5.1.5.RELEASE</spring.version>
  15. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  16. <java.version>1.8</java.version>
  17. <logback.version>1.2.3</logback.version>
  18. <hadoop.version>2.7.3</hadoop.version>
  19. <quartz.version>2.2.3</quartz.version>
  20. <jackson.version>2.9.8</jackson.version>
  21. <mybatis.version>3.5.1</mybatis.version>
  22. <mybatis.spring.version>2.0.1</mybatis.spring.version>
  23. <cron.utils.version>5.0.5</cron.utils.version>
  24. <fastjson.version>1.2.61</fastjson.version>
  25. <druid.version>1.1.14</druid.version>
  26. <h2.version>1.3.163</h2.version>
  27. <commons.codec.version>1.6</commons.codec.version>
  28. <commons.logging.version>1.1.1</commons.logging.version>
  29. <httpclient.version>4.4.1</httpclient.version>
  30. <httpcore.version>4.4.1</httpcore.version>
  31. <junit.version>4.12</junit.version>
  32. <mysql.connector.version>5.1.34</mysql.connector.version>
  33. <slf4j.api.version>1.7.5</slf4j.api.version>
  34. <slf4j.log4j12.version>1.7.5</slf4j.log4j12.version>
  35. <commons.collections.version>3.2.2</commons.collections.version>
  36. <commons.lang.version>2.3</commons.lang.version>
  37. <commons.lang3.version>3.5</commons.lang3.version>
  38. <commons.httpclient>3.0.1</commons.httpclient>
  39. <commons.beanutils.version>1.7.0</commons.beanutils.version>
  40. <commons.configuration.version>1.10</commons.configuration.version>
  41. <commons.email.version>1.5</commons.email.version>
  42. <poi.version>3.17</poi.version>
  43. <freemarker.version>2.3.21</freemarker.version>
  44. <javax.servlet.api.version>3.1.0</javax.servlet.api.version>
  45. <commons.collections4.version>4.1</commons.collections4.version>
  46. <guava.version>20.0</guava.version>
  47. <postgresql.version>42.1.4</postgresql.version>
  48. <hive.jdbc.version>2.1.0</hive.jdbc.version>
  49. <commons.io.version>2.4</commons.io.version>
  50. <oshi.core.version>3.5.0</oshi.core.version>
  51. <clickhouse.jdbc.version>0.1.52</clickhouse.jdbc.version>
  52. <mssql.jdbc.version>6.1.0.jre8</mssql.jdbc.version>
  53. <jsp.version>6.1.14</jsp.version>
  54. </properties>
  55. <dependencyManagement>
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.mybatis</groupId>
  59. <artifactId>mybatis</artifactId>
  60. <version>${mybatis.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.mybatis</groupId>
  64. <artifactId>mybatis-spring</artifactId>
  65. <version>${mybatis.spring.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mybatis.spring.boot</groupId>
  69. <artifactId>mybatis-spring-boot-autoconfigure</artifactId>
  70. <version>${mybatis.spring.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.mybatis.spring.boot</groupId>
  74. <artifactId>mybatis-spring-boot-starter</artifactId>
  75. <version>${mybatis.spring.version}</version>
  76. </dependency>
  77. <!-- quartz-->
  78. <dependency>
  79. <groupId>org.quartz-scheduler</groupId>
  80. <artifactId>quartz</artifactId>
  81. <version>${quartz.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.quartz-scheduler</groupId>
  85. <artifactId>quartz-jobs</artifactId>
  86. <version>${quartz.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.cronutils</groupId>
  90. <artifactId>cron-utils</artifactId>
  91. <version>${cron.utils.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>${fastjson.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid</artifactId>
  101. <version>${druid.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-parent</artifactId>
  106. <version>${spring.boot.version}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-core</artifactId>
  113. <version>${spring.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework</groupId>
  117. <artifactId>spring-context</artifactId>
  118. <version>${spring.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework</groupId>
  122. <artifactId>spring-beans</artifactId>
  123. <version>${spring.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-tx</artifactId>
  128. <version>${spring.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-jdbc</artifactId>
  133. <version>${spring.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-test</artifactId>
  138. <version>${spring.version}</version>
  139. <scope>test</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.h2database</groupId>
  143. <artifactId>h2</artifactId>
  144. <version>${h2.version}</version>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>cn.analysys</groupId>
  149. <artifactId>escheduler-server</artifactId>
  150. <version>${project.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>cn.analysys</groupId>
  154. <artifactId>escheduler-common</artifactId>
  155. <version>${project.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>cn.analysys</groupId>
  159. <artifactId>escheduler-dao</artifactId>
  160. <version>${project.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>cn.analysys</groupId>
  164. <artifactId>escheduler-api</artifactId>
  165. <version>${project.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>cn.analysys</groupId>
  169. <artifactId>escheduler-rpc</artifactId>
  170. <version>${project.version}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>cn.analysys</groupId>
  174. <artifactId>escheduler-alert</artifactId>
  175. <version>${project.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.curator</groupId>
  179. <artifactId>curator-framework</artifactId>
  180. <version>${curator.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.apache.curator</groupId>
  184. <artifactId>curator-recipes</artifactId>
  185. <version>${curator.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>commons-codec</groupId>
  189. <artifactId>commons-codec</artifactId>
  190. <version>${commons.codec.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>commons-logging</groupId>
  194. <artifactId>commons-logging</artifactId>
  195. <version>${commons.logging.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.httpcomponents</groupId>
  199. <artifactId>httpclient</artifactId>
  200. <version>${httpclient.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.httpcomponents</groupId>
  204. <artifactId>httpcore</artifactId>
  205. <version>${httpcore.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.fasterxml.jackson.core</groupId>
  209. <artifactId>jackson-annotations</artifactId>
  210. <version>${jackson.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.fasterxml.jackson.core</groupId>
  214. <artifactId>jackson-databind</artifactId>
  215. <version>${jackson.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.fasterxml.jackson.core</groupId>
  219. <artifactId>jackson-core</artifactId>
  220. <version>${jackson.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>junit</groupId>
  224. <artifactId>junit</artifactId>
  225. <version>${junit.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>mysql</groupId>
  229. <artifactId>mysql-connector-java</artifactId>
  230. <version>${mysql.connector.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.slf4j</groupId>
  234. <artifactId>slf4j-api</artifactId>
  235. <version>${slf4j.api.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.slf4j</groupId>
  239. <artifactId>slf4j-log4j12</artifactId>
  240. <version>${slf4j.log4j12.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>commons-collections</groupId>
  244. <artifactId>commons-collections</artifactId>
  245. <version>${commons.collections.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>commons-lang</groupId>
  249. <artifactId>commons-lang</artifactId>
  250. <version>${commons.lang.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.apache.commons</groupId>
  254. <artifactId>commons-lang3</artifactId>
  255. <version>${commons.lang3.version}</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>commons-httpclient</groupId>
  259. <artifactId>commons-httpclient</artifactId>
  260. <version>${commons.httpclient}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>commons-beanutils</groupId>
  264. <artifactId>commons-beanutils</artifactId>
  265. <version>${commons.beanutils.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>commons-configuration</groupId>
  269. <artifactId>commons-configuration</artifactId>
  270. <version>${commons.configuration.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>ch.qos.logback</groupId>
  274. <artifactId>logback-classic</artifactId>
  275. <version>${logback.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>ch.qos.logback</groupId>
  279. <artifactId>logback-core</artifactId>
  280. <version>${logback.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.commons</groupId>
  284. <artifactId>commons-email</artifactId>
  285. <version>${commons.email.version}</version>
  286. </dependency>
  287. <!--excel poi-->
  288. <dependency>
  289. <groupId>org.apache.poi</groupId>
  290. <artifactId>poi</artifactId>
  291. <version>${poi.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.freemarker</groupId>
  295. <artifactId>freemarker</artifactId>
  296. <version>${freemarker.version}</version>
  297. </dependency>
  298. <!-- hadoop -->
  299. <dependency>
  300. <groupId>org.apache.hadoop</groupId>
  301. <artifactId>hadoop-common</artifactId>
  302. <version>${hadoop.version}</version>
  303. <exclusions>
  304. <exclusion>
  305. <artifactId>slf4j-log4j12</artifactId>
  306. <groupId>org.slf4j</groupId>
  307. </exclusion>
  308. <exclusion>
  309. <artifactId>com.sun.jersey</artifactId>
  310. <groupId>jersey-json</groupId>
  311. </exclusion>
  312. </exclusions>
  313. </dependency>
  314. <dependency>
  315. <groupId>org.apache.hadoop</groupId>
  316. <artifactId>hadoop-client</artifactId>
  317. <version>${hadoop.version}</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.apache.hadoop</groupId>
  321. <artifactId>hadoop-hdfs</artifactId>
  322. <version>${hadoop.version}</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.apache.hadoop</groupId>
  326. <artifactId>hadoop-yarn-common</artifactId>
  327. <version>${hadoop.version}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.apache.hadoop</groupId>
  331. <artifactId>hadoop-aws</artifactId>
  332. <version>${hadoop.version}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>javax.servlet</groupId>
  336. <artifactId>javax.servlet-api</artifactId>
  337. <version>${javax.servlet.api.version}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>org.apache.commons</groupId>
  341. <artifactId>commons-collections4</artifactId>
  342. <version>${commons.collections4.version}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>com.google.guava</groupId>
  346. <artifactId>guava</artifactId>
  347. <version>${guava.version}</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.postgresql</groupId>
  351. <artifactId>postgresql</artifactId>
  352. <version>${postgresql.version}</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.apache.hive</groupId>
  356. <artifactId>hive-jdbc</artifactId>
  357. <version>${hive.jdbc.version}</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>commons-io</groupId>
  361. <artifactId>commons-io</artifactId>
  362. <version>${commons.io.version}</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>com.github.oshi</groupId>
  366. <artifactId>oshi-core</artifactId>
  367. <version>${oshi.core.version}</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>ru.yandex.clickhouse</groupId>
  371. <artifactId>clickhouse-jdbc</artifactId>
  372. <version>${clickhouse.jdbc.version}</version>
  373. </dependency>
  374. <dependency>
  375. <groupId>com.microsoft.sqlserver</groupId>
  376. <artifactId>mssql-jdbc</artifactId>
  377. <version>${mssql.jdbc.version}</version>
  378. </dependency>
  379. <dependency>
  380. <groupId>org.mortbay.jetty</groupId>
  381. <artifactId>jsp-2.1</artifactId>
  382. <version>${jsp.version}</version>
  383. </dependency>
  384. </dependencies>
  385. </dependencyManagement>
  386. <scm>
  387. <connection>scm:git:https://github.com/analysys/EasyScheduler.git</connection>
  388. <developerConnection>scm:git:https://github.com/analysys/EasyScheduler.git</developerConnection>
  389. <url>https://github.com/analysys/EasyScheduler.git</url>
  390. <tag>HEAD</tag>
  391. </scm>
  392. <build>
  393. <plugins>
  394. <plugin>
  395. <groupId>org.apache.maven.plugins</groupId>
  396. <artifactId>maven-release-plugin</artifactId>
  397. <version>2.5.2</version>
  398. <configuration>
  399. <autoVersionSubmodules>true</autoVersionSubmodules>
  400. <tagNameFormat>@{project.version}</tagNameFormat>
  401. <tagBase>${project.version}</tagBase>
  402. <goals>-f pom.xml deploy</goals>
  403. </configuration>
  404. <dependencies>
  405. <dependency>
  406. <groupId>org.apache.maven.scm</groupId>
  407. <artifactId>maven-scm-provider-jgit</artifactId>
  408. <version>1.9.5</version>
  409. </dependency>
  410. </dependencies>
  411. </plugin>
  412. <plugin>
  413. <artifactId>maven-assembly-plugin</artifactId>
  414. <version>2.6</version>
  415. <configuration>
  416. <descriptors>
  417. <descriptor>package.xml</descriptor>
  418. </descriptors>
  419. <appendAssemblyId>false</appendAssemblyId>
  420. </configuration>
  421. <executions>
  422. <execution>
  423. <id>make-assembly</id>
  424. <phase>package</phase>
  425. </execution>
  426. </executions>
  427. </plugin>
  428. <plugin>
  429. <groupId>org.apache.maven.plugins</groupId>
  430. <artifactId>maven-compiler-plugin</artifactId>
  431. <version>2.3.2</version>
  432. <configuration>
  433. <source>${java.version}</source>
  434. <target>${java.version}</target>
  435. <encoding>${project.build.sourceEncoding}</encoding>
  436. <skip>false</skip><!--not skip compile test classes-->
  437. </configuration>
  438. </plugin>
  439. <plugin>
  440. <groupId>org.apache.maven.plugins</groupId>
  441. <artifactId>maven-surefire-plugin</artifactId>
  442. <version>2.19.1</version>
  443. <configuration>
  444. <includes>
  445. <include>**/*Test*.java</include><!--run test classes-->
  446. </includes>
  447. <!-- <skip>true</skip> -->
  448. </configuration>
  449. </plugin>
  450. <!-- jenkins plugin jacoco report-->
  451. <plugin>
  452. <groupId>org.jacoco</groupId>
  453. <artifactId>jacoco-maven-plugin</artifactId>
  454. <version>0.8.4</version>
  455. <configuration>
  456. <destFile>target/jacoco.exec</destFile>
  457. <dataFile>target/jacoco.exec</dataFile>
  458. </configuration>
  459. <executions>
  460. <execution>
  461. <id>jacoco-initialize</id>
  462. <goals>
  463. <goal>prepare-agent</goal>
  464. </goals>
  465. </execution>
  466. <execution>
  467. <id>jacoco-site</id>
  468. <phase>test</phase>
  469. <goals>
  470. <goal>report</goal>
  471. </goals>
  472. </execution>
  473. </executions>
  474. </plugin>
  475. <plugin>
  476. <groupId>org.apache.rat</groupId>
  477. <artifactId>apache-rat-plugin</artifactId>
  478. <configuration>
  479. <includes>
  480. <include>**/*.java</include>
  481. <include>**/escheduler-ui/src/**.scss</include>
  482. <include>**/escheduler-ui/src/**.css</include>
  483. <include>**/escheduler-ui/src/**.vue</include>
  484. <include>**/escheduler-ui/src/**.js</include>
  485. </includes>
  486. <excludes>
  487. <exclude>**/escheduler-ui/src/lib/**</exclude>
  488. <exclude>**/escheduler-ui/src/js/module/util/cookie.js</exclude>
  489. <exclude>**/escheduler-ui/src/font/awesome/font-awesome.css</exclude>
  490. <exclude>**/escheduler-ui/src/sass/common/_animation.scss</exclude>
  491. <exclude>**/escheduler-ui/src/sass/common/_normalize.scss</exclude>
  492. <exclude>**/escheduler-ui/src/combo/1.0.0/es5.js</exclude>
  493. <exclude>**/escheduler-ui/src/combo/1.0.0/base.css</exclude>
  494. <exclude>**/escheduler-ui/src/view/home/index.html</exclude>
  495. <exclude>**/escheduler-ui/src/view/common/outro.inc</exclude>
  496. <exclude>**/escheduler-ui/src/view/common/meta.inc</exclude>
  497. <exclude>**/escheduler-ui/src/view/login/index.html</exclude>
  498. <exclude>**/escheduler-ui/src/font/demo_index.html</exclude>
  499. </excludes>
  500. <consoleOutput>true</consoleOutput>
  501. </configuration>
  502. </plugin>
  503. </plugins>
  504. </build>
  505. <modules>
  506. <module>escheduler-server</module>
  507. <module>escheduler-common</module>
  508. <module>escheduler-api</module>
  509. <module>escheduler-dao</module>
  510. <module>escheduler-alert</module>
  511. <module>escheduler-rpc</module>
  512. </modules>
  513. </project>