pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>cn.analysys</groupId>
  6. <artifactId>escheduler</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>escheduler</name>
  10. <url>http://maven.apache.org</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <curator.version>2.12.0</curator.version>
  15. <spring.version>4.3.7.RELEASE</spring.version>
  16. <spring.boot.version>1.4.5.RELEASE</spring.boot.version>
  17. <java.version>1.8</java.version>
  18. <logback.version>1.2.3</logback.version>
  19. <hadoop.version>2.7.3</hadoop.version>
  20. <quartz.version>2.2.3</quartz.version>
  21. </properties>
  22. <dependencyManagement>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.mybatis.spring.boot</groupId>
  26. <artifactId>mybatis-spring-boot-autoconfigure</artifactId>
  27. <version>1.2.0</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>1.2.0</version>
  33. </dependency>
  34. <!-- quartz-->
  35. <dependency>
  36. <groupId>org.quartz-scheduler</groupId>
  37. <artifactId>quartz</artifactId>
  38. <version>${quartz.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.quartz-scheduler</groupId>
  42. <artifactId>quartz-jobs</artifactId>
  43. <version>${quartz.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.cronutils</groupId>
  47. <artifactId>cron-utils</artifactId>
  48. <version>5.0.5</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mybatis</groupId>
  52. <artifactId>mybatis</artifactId>
  53. <version>3.4.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.mybatis</groupId>
  57. <artifactId>mybatis-spring</artifactId>
  58. <version>1.3.1</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-tx</artifactId>
  63. <version>${spring.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-jdbc</artifactId>
  68. <version>${spring.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>fastjson</artifactId>
  73. <version>1.2.29</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-jetty</artifactId>
  78. <version>${spring.boot.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-core</artifactId>
  83. <version>${spring.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-context</artifactId>
  88. <version>${spring.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework</groupId>
  92. <artifactId>spring-beans</artifactId>
  93. <version>${spring.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-test</artifactId>
  98. <version>${spring.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-parent</artifactId>
  103. <version>${spring.boot.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-web</artifactId>
  108. <version>${spring.boot.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-test</artifactId>
  113. <version>${spring.boot.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-aop</artifactId>
  119. <version>${spring.boot.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>cn.analysys</groupId>
  123. <artifactId>escheduler-common</artifactId>
  124. <version>${project.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>cn.analysys</groupId>
  128. <artifactId>escheduler-dao</artifactId>
  129. <version>${project.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>cn.analysys</groupId>
  133. <artifactId>escheduler-api</artifactId>
  134. <version>${project.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>cn.analysys</groupId>
  138. <artifactId>escheduler-rpc</artifactId>
  139. <version>${project.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>cn.analysys</groupId>
  143. <artifactId>escheduler-alert</artifactId>
  144. <version>${project.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.curator</groupId>
  148. <artifactId>curator-framework</artifactId>
  149. <version>${curator.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.curator</groupId>
  153. <artifactId>curator-recipes</artifactId>
  154. <version>${curator.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>commons-codec</groupId>
  158. <artifactId>commons-codec</artifactId>
  159. <version>1.6</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>commons-logging</groupId>
  163. <artifactId>commons-logging</artifactId>
  164. <version>1.1.1</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.httpcomponents</groupId>
  168. <artifactId>httpclient</artifactId>
  169. <version>4.3.2</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.httpcomponents</groupId>
  173. <artifactId>httpcore</artifactId>
  174. <version>4.3.2</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.fasterxml.jackson.core</groupId>
  178. <artifactId>jackson-annotations</artifactId>
  179. <version>2.8.6</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.fasterxml.jackson.core</groupId>
  183. <artifactId>jackson-databind</artifactId>
  184. <version>2.8.6</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.fasterxml.jackson.core</groupId>
  188. <artifactId>jackson-core</artifactId>
  189. <version>2.8.6</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>junit</groupId>
  193. <artifactId>junit</artifactId>
  194. <version>4.12</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>mysql</groupId>
  198. <artifactId>mysql-connector-java</artifactId>
  199. <version>5.1.34</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.slf4j</groupId>
  203. <artifactId>slf4j-api</artifactId>
  204. <version>1.7.5</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.slf4j</groupId>
  208. <artifactId>slf4j-log4j12</artifactId>
  209. <version>1.7.5</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>commons-collections</groupId>
  213. <artifactId>commons-collections</artifactId>
  214. <version>3.2.2</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>commons-lang</groupId>
  218. <artifactId>commons-lang</artifactId>
  219. <version>2.3</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.apache.commons</groupId>
  223. <artifactId>commons-lang3</artifactId>
  224. <version>3.5</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-httpclient</groupId>
  228. <artifactId>commons-httpclient</artifactId>
  229. <version>3.0.1</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>commons-beanutils</groupId>
  233. <artifactId>commons-beanutils</artifactId>
  234. <version>1.7.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>commons-configuration</groupId>
  238. <artifactId>commons-configuration</artifactId>
  239. <version>1.10</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.alibaba</groupId>
  243. <artifactId>druid</artifactId>
  244. <version>1.1.14</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>ch.qos.logback</groupId>
  248. <artifactId>logback-classic</artifactId>
  249. <version>${logback.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>ch.qos.logback</groupId>
  253. <artifactId>logback-core</artifactId>
  254. <version>${logback.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.commons</groupId>
  258. <artifactId>commons-email</artifactId>
  259. <version>1.2</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>javax.mail</groupId>
  263. <artifactId>mail</artifactId>
  264. <version>1.4.5</version>
  265. </dependency>
  266. <!--excel poi-->
  267. <dependency>
  268. <groupId>org.apache.poi</groupId>
  269. <artifactId>poi</artifactId>
  270. <version>3.17</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.freemarker</groupId>
  274. <artifactId>freemarker</artifactId>
  275. <version>2.3.21</version>
  276. </dependency>
  277. <!-- hadoop -->
  278. <dependency>
  279. <groupId>org.apache.hadoop</groupId>
  280. <artifactId>hadoop-common</artifactId>
  281. <version>${hadoop.version}</version>
  282. <exclusions>
  283. <exclusion>
  284. <artifactId>slf4j-log4j12</artifactId>
  285. <groupId>org.slf4j</groupId>
  286. </exclusion>
  287. <exclusion>
  288. <artifactId>com.sun.jersey</artifactId>
  289. <groupId>jersey-json</groupId>
  290. </exclusion>
  291. </exclusions>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.hadoop</groupId>
  295. <artifactId>hadoop-client</artifactId>
  296. <version>${hadoop.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.hadoop</groupId>
  300. <artifactId>hadoop-hdfs</artifactId>
  301. <version>${hadoop.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.hadoop</groupId>
  305. <artifactId>hadoop-yarn-common</artifactId>
  306. <version>${hadoop.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>javax.servlet</groupId>
  310. <artifactId>javax.servlet-api</artifactId>
  311. <version>3.1.0</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.commons</groupId>
  315. <artifactId>commons-collections4</artifactId>
  316. <version>4.1</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>com.google.guava</groupId>
  320. <artifactId>guava</artifactId>
  321. <version>19.0</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.postgresql</groupId>
  325. <artifactId>postgresql</artifactId>
  326. <version>42.1.4</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.apache.hive</groupId>
  330. <artifactId>hive-jdbc</artifactId>
  331. <version>2.1.0</version>
  332. </dependency>
  333. <dependency>
  334. <groupId>commons-io</groupId>
  335. <artifactId>commons-io</artifactId>
  336. <version>2.4</version>
  337. </dependency>
  338. <dependency>
  339. <groupId>com.github.oshi</groupId>
  340. <artifactId>oshi-core</artifactId>
  341. <version>3.5.0</version>
  342. </dependency>
  343. </dependencies>
  344. </dependencyManagement>
  345. <scm>
  346. <connection>scm:git:https://github.com/analysys/EasyScheduler.git</connection>
  347. <developerConnection>scm:git:https://github.com/analysys/EasyScheduler.git</developerConnection>
  348. <url>https://github.com/analysys/EasyScheduler.git</url>
  349. </scm>
  350. <build>
  351. <plugins>
  352. <plugin>
  353. <groupId>org.apache.maven.plugins</groupId>
  354. <artifactId>maven-release-plugin</artifactId>
  355. <version>2.5.2</version>
  356. <configuration>
  357. <autoVersionSubmodules>true</autoVersionSubmodules>
  358. <tagNameFormat>@{project.version}</tagNameFormat>
  359. <tagBase>${project.version}</tagBase>
  360. <goals>-f pom.xml deploy</goals>
  361. </configuration>
  362. <dependencies>
  363. <dependency>
  364. <groupId>org.apache.maven.scm</groupId>
  365. <artifactId>maven-scm-provider-jgit</artifactId>
  366. <version>1.9.5</version>
  367. </dependency>
  368. </dependencies>
  369. </plugin>
  370. <plugin>
  371. <artifactId>maven-assembly-plugin</artifactId>
  372. <version>2.6</version>
  373. <configuration>
  374. <descriptors>
  375. <descriptor>package.xml</descriptor>
  376. </descriptors>
  377. <appendAssemblyId>false</appendAssemblyId>
  378. </configuration>
  379. <executions>
  380. <execution>
  381. <id>make-assembly</id>
  382. <phase>package</phase>
  383. </execution>
  384. </executions>
  385. </plugin>
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-compiler-plugin</artifactId>
  389. <version>2.3.2</version>
  390. <configuration>
  391. <source>${java.version}</source>
  392. <target>${java.version}</target>
  393. <encoding>${project.build.sourceEncoding}</encoding>
  394. <skip>false</skip><!--not skip compile test classes-->
  395. </configuration>
  396. </plugin>
  397. <plugin>
  398. <groupId>org.apache.maven.plugins</groupId>
  399. <artifactId>maven-surefire-plugin</artifactId>
  400. <version>2.19.1</version>
  401. <configuration>
  402. <includes>
  403. <include>**/*Test*.java</include><!--run test classes-->
  404. </includes>
  405. <skip>true</skip><!--skip run test classes-->
  406. </configuration>
  407. </plugin>
  408. </plugins>
  409. </build>
  410. <modules>
  411. <module>escheduler-server</module>
  412. <module>escheduler-common</module>
  413. <module>escheduler-api</module>
  414. <module>escheduler-dao</module>
  415. <module>escheduler-alert</module>
  416. <module>escheduler-rpc</module>
  417. </modules>
  418. </project>