pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  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/maven-v4_0_0.xsd">
  4. <parent>
  5. <artifactId>common-lib</artifactId>
  6. <groupId>com.yihu</groupId>
  7. <version>1.0.0</version>
  8. <relativePath>../common-lib/pom.xml</relativePath>
  9. </parent>
  10. <artifactId>patient-co-statistics-es</artifactId>
  11. <version>1.0.0</version>
  12. <modelVersion>4.0.0</modelVersion>
  13. <!--打成war包需要的配置-->
  14. <packaging>war</packaging>
  15. <!--<packaging>jar</packaging>-->
  16. <name>patient-co-statistics-es</name>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <spring.version>${version.spring-framework}</spring.version>
  20. <version.commons-bean-utils>1.9.2</version.commons-bean-utils>
  21. <version.commons-codec>1.9</version.commons-codec>
  22. <version.commons-collections>3.2.1</version.commons-collections>
  23. <version.commons-compress>1.9</version.commons-compress>
  24. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  25. <version.commons-dbutils>1.6</version.commons-dbutils>
  26. <version.commons-io>2.4</version.commons-io>
  27. <version.commons-lang3>3.2.1</version.commons-lang3>
  28. <version.commons-pool2>2.4.2</version.commons-pool2>
  29. <version.hibernate>4.3.11.Final</version.hibernate>
  30. <version.hibernate-annotations>4.0.5.Final</version.hibernate-annotations>
  31. <version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
  32. <version.http-client>4.5.1</version.http-client>
  33. <version.http-core>4.4.3</version.http-core>
  34. <version.java>1.8</version.java>
  35. <version.jackson>2.6.6</version.jackson>
  36. <version.jedis>2.9.0</version.jedis>
  37. <version.jcl-over-slf4j>1.7.19</version.jcl-over-slf4j>
  38. <version.jul-over-slf4j>1.7.21</version.jul-over-slf4j>
  39. <version.joda-time>2.8.2</version.joda-time>
  40. <version.junit>4.12</version.junit>
  41. <version.log4j2>2.4.1</version.log4j2>
  42. <version.logback>1.1.7</version.logback>
  43. <version.mysql>5.1.38</version.mysql>
  44. <version.quartz>2.2.3</version.quartz>
  45. <version.servlet-api>3.1.0</version.servlet-api>
  46. <version.slf4j>1.7.21</version.slf4j>
  47. <version.spring-boot>1.3.5.RELEASE</version.spring-boot>
  48. <version.spring-framework>4.2.5.RELEASE</version.spring-framework>
  49. <version.spring-session>1.2.0.RELEASE</version.spring-session>
  50. <version.swagger>2.4.0</version.swagger>
  51. <version.swagger-ui>2.4.0</version.swagger-ui>
  52. <version.tomcat-embed>8.0.28</version.tomcat-embed>
  53. <version.elasticsearch>2.4.4</version.elasticsearch>
  54. <version.jest>2.4.0</version.jest>
  55. </properties>
  56. <dependencies>
  57. <!--Jackson library-->
  58. <dependency>
  59. <groupId>com.fasterxml.jackson.core</groupId>
  60. <artifactId>jackson-annotations</artifactId>
  61. <version>${version.jackson}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.fasterxml.jackson.core</groupId>
  65. <artifactId>jackson-core</artifactId>
  66. <version>${version.jackson}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.fasterxml.jackson.core</groupId>
  70. <artifactId>jackson-databind</artifactId>
  71. <version>${version.jackson}</version>
  72. </dependency>
  73. <!--elasticsearch start-->
  74. <dependency>
  75. <groupId>org.elasticsearch</groupId>
  76. <artifactId>elasticsearch</artifactId>
  77. <version>${version.elasticsearch}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.searchbox</groupId>
  81. <artifactId>jest</artifactId>
  82. <version>${version.jest}</version>
  83. </dependency>
  84. <!--elasticsearch end-->
  85. <!--Apache commons library-->
  86. <dependency>
  87. <groupId>org.apache.httpcomponents</groupId>
  88. <artifactId>httpmime</artifactId>
  89. <version>4.4.1</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-lang3</artifactId>
  94. <version>${version.commons-lang3}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.httpcomponents</groupId>
  98. <artifactId>httpcore</artifactId>
  99. <version>${version.http-core}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.httpcomponents</groupId>
  103. <artifactId>httpclient</artifactId>
  104. <version>${version.http-client}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-beanutils</groupId>
  108. <artifactId>commons-beanutils</artifactId>
  109. <version>${version.commons-bean-utils}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-pool2</artifactId>
  114. <version>${version.commons-pool2}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-dbutils</groupId>
  118. <artifactId>commons-dbutils</artifactId>
  119. <version>${version.commons-dbutils}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.commons</groupId>
  123. <artifactId>commons-dbcp2</artifactId>
  124. <version>${version.commons-dbcp2}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>${version.commons-io}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>commons-collections</groupId>
  133. <artifactId>commons-collections</artifactId>
  134. <version>${version.commons-collections}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-compress</artifactId>
  139. <version>${version.commons-compress}</version>
  140. </dependency>
  141. <!--Hibernate framework-->
  142. <dependency>
  143. <groupId>org.hibernate.javax.persistence</groupId>
  144. <artifactId>hibernate-jpa-2.1-api</artifactId>
  145. <version>${version.hibernate-jpa-api}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.hibernate</groupId>
  149. <artifactId>hibernate-core</artifactId>
  150. <version>${version.hibernate}</version>
  151. </dependency>
  152. <!--Miscellaneous-->
  153. <dependency>
  154. <groupId>org.quartz-scheduler</groupId>
  155. <artifactId>quartz</artifactId>
  156. <version>${version.quartz}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.quartz-scheduler</groupId>
  160. <artifactId>quartz-jobs</artifactId>
  161. <version>${version.quartz}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>javax.servlet</groupId>
  165. <artifactId>javax.servlet-api</artifactId>
  166. <version>${version.servlet-api}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.slf4j</groupId>
  170. <artifactId>slf4j-api</artifactId>
  171. <version>${version.slf4j}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>junit</groupId>
  175. <artifactId>junit</artifactId>
  176. <version>${version.junit}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>io.springfox</groupId>
  180. <artifactId>springfox-swagger2</artifactId>
  181. <version>${version.swagger}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>io.springfox</groupId>
  185. <artifactId>springfox-swagger-ui</artifactId>
  186. <version>${version.swagger-ui}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>mysql</groupId>
  190. <artifactId>mysql-connector-java</artifactId>
  191. <version>${version.mysql}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>joda-time</groupId>
  195. <artifactId>joda-time</artifactId>
  196. <version>${version.joda-time}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>redis.clients</groupId>
  200. <artifactId>jedis</artifactId>
  201. <version>${version.jedis}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>commons-codec</groupId>
  205. <artifactId>commons-codec</artifactId>
  206. <version>${version.commons-codec}</version>
  207. </dependency>
  208. <!--Log framework-->
  209. <dependency>
  210. <groupId>org.apache.logging.log4j</groupId>
  211. <artifactId>log4j-api</artifactId>
  212. <version>${version.log4j2}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.logging.log4j</groupId>
  216. <artifactId>log4j-core</artifactId>
  217. <version>${version.log4j2}</version>
  218. </dependency>
  219. <!--Log framework to SLF4J bridge: x-over-slf4j-->
  220. <dependency>
  221. <groupId>org.slf4j</groupId>
  222. <artifactId>jcl-over-slf4j</artifactId>
  223. <version>${version.jcl-over-slf4j}</version>
  224. <exclusions>
  225. <exclusion>
  226. <groupId>org.slf4j</groupId>
  227. <artifactId>slf4j-jdk14</artifactId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.slf4j</groupId>
  233. <artifactId>jul-to-slf4j</artifactId>
  234. <version>${version.jul-over-slf4j}</version>
  235. <exclusions>
  236. <exclusion>
  237. <groupId>org.slf4j</groupId>
  238. <artifactId>slf4j-log4j12</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <!--SLF4J api-->
  243. <dependency>
  244. <groupId>org.slf4j</groupId>
  245. <artifactId>slf4j-api</artifactId>
  246. <version>${version.slf4j}</version>
  247. </dependency>
  248. <!--The single log BACKEND-->
  249. <dependency>
  250. <groupId>ch.qos.logback</groupId>
  251. <artifactId>logback-classic</artifactId>
  252. <version>${version.logback}</version>
  253. </dependency>
  254. <!--Spring framework family-->
  255. <dependency>
  256. <groupId>org.springframework</groupId>
  257. <artifactId>spring-core</artifactId>
  258. <version>${version.spring-framework}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework</groupId>
  262. <artifactId>spring-context</artifactId>
  263. <version>${version.spring-framework}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.springframework</groupId>
  267. <artifactId>spring-aop</artifactId>
  268. <version>${version.spring-framework}</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.springframework</groupId>
  272. <artifactId>spring-beans</artifactId>
  273. <version>${version.spring-framework}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.springframework</groupId>
  277. <artifactId>spring-web</artifactId>
  278. <version>${version.spring-framework}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.springframework</groupId>
  282. <artifactId>spring-webmvc</artifactId>
  283. <version>${version.spring-framework}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.springframework</groupId>
  287. <artifactId>spring-orm</artifactId>
  288. <version>${version.spring-framework}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.springframework</groupId>
  292. <artifactId>spring-context-support</artifactId>
  293. <version>${version.spring-framework}</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.springframework</groupId>
  297. <artifactId>spring-jdbc</artifactId>
  298. <version>${version.spring-framework}</version>
  299. </dependency>
  300. <!--Spring session family-->
  301. <dependency>
  302. <groupId>org.springframework.session</groupId>
  303. <artifactId>spring-session</artifactId>
  304. <version>${version.spring-session}</version>
  305. </dependency>
  306. <!--Spring integration family-->
  307. <dependency>
  308. <groupId>org.springframework.integration</groupId>
  309. <artifactId>spring-integration-jmx</artifactId>
  310. <version>${version.spring-framework}</version>
  311. </dependency>
  312. <!--Spring batch family-->
  313. <!--Spring boot family-->
  314. <dependency>
  315. <groupId>org.springframework.boot</groupId>
  316. <artifactId>spring-boot</artifactId>
  317. <version>${version.spring-boot}</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.springframework.boot</groupId>
  321. <artifactId>spring-boot-actuator-docs</artifactId>
  322. <version>${version.spring-boot}</version>
  323. </dependency>
  324. <!--<dependency>-->
  325. <!--<groupId>org.springframework.boot</groupId>-->
  326. <!--<artifactId>spring-boot-devtools</artifactId>-->
  327. <!--<version>${version.spring-boot}</version>-->
  328. <!--</dependency>-->
  329. <dependency>
  330. <groupId>org.springframework.boot</groupId>
  331. <artifactId>spring-boot-starter-actuator</artifactId>
  332. <version>${version.spring-boot}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.springframework.boot</groupId>
  336. <artifactId>spring-boot-actuator</artifactId>
  337. <version>${version.spring-boot}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>org.springframework.boot</groupId>
  341. <artifactId>spring-boot-starter-aop</artifactId>
  342. <version>${version.spring-boot}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.springframework.boot</groupId>
  346. <artifactId>spring-boot-starter-data-jpa</artifactId>
  347. <version>${version.spring-boot}</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.springframework.boot</groupId>
  351. <artifactId>spring-boot-starter-jdbc</artifactId>
  352. <version>${version.spring-boot}</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.springframework.boot</groupId>
  356. <artifactId>spring-boot-starter-security</artifactId>
  357. <version>${version.spring-boot}</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.springframework.boot</groupId>
  361. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  362. <version>${version.spring-boot}</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>org.springframework.boot</groupId>
  366. <artifactId>spring-boot-starter-test</artifactId>
  367. <version>${version.spring-boot}</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>org.springframework.boot</groupId>
  371. <artifactId>spring-boot-starter-mail</artifactId>
  372. <version>${version.spring-boot}</version>
  373. </dependency>
  374. <dependency>
  375. <groupId>de.codecentric</groupId>
  376. <artifactId>spring-boot-admin-starter-client</artifactId>
  377. <version>1.3.5</version>
  378. </dependency>
  379. <dependency>
  380. <groupId>org.springframework.boot</groupId>
  381. <artifactId>spring-boot-starter-web</artifactId>
  382. <version>${version.spring-boot}</version>
  383. <exclusions>
  384. <exclusion>
  385. <groupId>org.springframework.boot</groupId>
  386. <artifactId>spring-boot-starter-tomcat</artifactId>
  387. </exclusion>
  388. </exclusions>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.springframework.boot</groupId>
  392. <artifactId>spring-boot-starter-tomcat</artifactId>
  393. <version>${version.spring-boot}</version>
  394. <!--<scope>provided</scope>-->
  395. </dependency>
  396. <dependency>
  397. <groupId>org.json</groupId>
  398. <artifactId>json</artifactId>
  399. <version>20151123</version>
  400. </dependency>
  401. <dependency>
  402. <groupId>org.springframework.data</groupId>
  403. <artifactId>spring-data-redis</artifactId>
  404. <version>1.7.2.RELEASE</version>
  405. </dependency>
  406. <dependency>
  407. <groupId>org.springframework</groupId>
  408. <artifactId>spring-orm</artifactId>
  409. <version>4.1.8.RELEASE</version>
  410. </dependency>
  411. <dependency>
  412. <groupId>net.sf.json-lib</groupId>
  413. <artifactId>json-lib</artifactId>
  414. <version>2.4</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>com.alibaba</groupId>
  418. <artifactId>druid</artifactId>
  419. <version>1.0.15</version>
  420. </dependency>
  421. <dependency>
  422. <groupId>org.nlpcn</groupId>
  423. <artifactId>elasticsearch-sql</artifactId>
  424. <version>2.4.1.0</version>
  425. </dependency>
  426. </dependencies>
  427. <build>
  428. <finalName>patient-co-statistics-es</finalName>
  429. <plugins>
  430. <!--打成war包需要的配置-->
  431. <plugin>
  432. <groupId>org.springframework.boot</groupId>
  433. <artifactId>spring-boot-maven-plugin</artifactId>
  434. </plugin>
  435. <plugin>
  436. <artifactId>maven-war-plugin</artifactId>
  437. <configuration>
  438. <failOnMissingWebXml>false</failOnMissingWebXml>
  439. </configuration>
  440. </plugin>
  441. <plugin>
  442. <groupId>org.apache.maven.plugins</groupId>
  443. <artifactId>maven-compiler-plugin</artifactId>
  444. <configuration>
  445. <source>1.8</source>
  446. <target>1.8</target>
  447. </configuration>
  448. <version>3.1</version>
  449. </plugin>
  450. </plugins>
  451. </build>
  452. </project>