pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <artifactId>common-lib</artifactId>
  6. <groupId>com.yihu</groupId>
  7. <version>1.0.0</version>
  8. <packaging>pom</packaging>
  9. <modelVersion>4.0.0</modelVersion>
  10. <properties>
  11. <version.spring-boot>1.3.5.RELEASE</version.spring-boot>
  12. <version.springside>4.2.3-GA</version.springside>
  13. <version.spring>4.3.2.RELEASE</version.spring>
  14. <version.spring-data-jpa>1.6.0.RELEASE</version.spring-data-jpa>
  15. <version.spring-data-commons>1.8.0.RELEASE</version.spring-data-commons>
  16. <version.spring-data-keyvalue>1.1.2.RELEASE</version.spring-data-keyvalue>
  17. <version.spring-data-redis>1.7.2.RELEASE</version.spring-data-redis>
  18. <version.swagger>2.4.0</version.swagger>
  19. <version.poi>3.15-beta1</version.poi>
  20. <version.hibernate>4.3.5.Final</version.hibernate>
  21. <version.hibernate-validator>5.0.3.Final</version.hibernate-validator>
  22. <version.logback>1.1.2</version.logback>
  23. <version.aspectj>1.7.4</version.aspectj>
  24. <version.quartz>2.2.3</version.quartz>
  25. <version.redis>2.8.1</version.redis>
  26. <version.fastdfs>1.25</version.fastdfs>
  27. <version.servlet-api>3.1.0</version.servlet-api>
  28. <version.joda-time>2.8.2</version.joda-time>
  29. <version.kaptcha>2.3</version.kaptcha>
  30. <version.orgjson>20160212</version.orgjson>
  31. <version.htmlparser>2.1</version.htmlparser>
  32. <version.xom>1.1</version.xom>
  33. <version.xstream>1.4.7</version.xstream>
  34. <version.zxing>3.2.0</version.zxing>
  35. <version.fastdfs>1.2.17</version.fastdfs>
  36. <version.ylz>1.0.0</version.ylz>
  37. <version.elasticsearch>2.4.4</version.elasticsearch>
  38. <version.jest>2.4.0</version.jest>
  39. <sitemesh.version>2.4.2</sitemesh.version>
  40. <jackson.version>2.6.6</jackson.version>
  41. <slf4j.version>1.7.7</slf4j.version>
  42. <commons-lang3.version>3.3.2</commons-lang3.version>
  43. <guava.version>17.0</guava.version>
  44. <assertj.version>1.6.1</assertj.version>
  45. <mockito.version>1.9.5</mockito.version>
  46. <selenium.version>2.42.2</selenium.version>
  47. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  48. <version.mysql>5.1.38</version.mysql>
  49. </properties>
  50. <modules>
  51. <module>../patient-co-wlyy</module>
  52. <module>../patient-co-statistics</module>
  53. <module>../patient-co-statistics-es</module>
  54. <module>../jolokia-admin</module>
  55. </modules>
  56. <dependencyManagement>
  57. <dependencies>
  58. <!--Spring boot family-->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot</artifactId>
  62. <version>${version.spring-boot}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-autoconfigure</artifactId>
  67. <version>${version.spring-boot}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-actuator-docs</artifactId>
  72. <version>${version.spring-boot}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-security</artifactId>
  77. <version>${version.spring-boot}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-mail</artifactId>
  82. <version>${version.spring-boot}</version>
  83. </dependency>
  84. <!--<dependency>-->
  85. <!--<groupId>org.springframework.boot</groupId>-->
  86. <!--<artifactId>spring-boot-devtools</artifactId>-->
  87. <!--<version>${version.spring-boot}</version>-->
  88. <!--</dependency>-->
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-actuator</artifactId>
  92. <version>${version.spring-boot}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-actuator</artifactId>
  97. <version>${version.spring-boot}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-aop</artifactId>
  102. <version>${version.spring-boot}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-data-jpa</artifactId>
  107. <version>${version.spring-boot}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-jdbc</artifactId>
  112. <version>${version.spring-boot}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  117. <version>${version.spring-boot}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-starter-test</artifactId>
  122. <version>${version.spring-boot}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-mail</artifactId>
  127. <version>${version.spring-boot}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-starter-web</artifactId>
  132. <version>${version.spring-boot}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-tomcat</artifactId>
  137. <version>${version.spring-boot}</version>
  138. </dependency>
  139. <!-- end -->
  140. <dependency>
  141. <groupId>javax.servlet</groupId>
  142. <artifactId>javax.servlet-api</artifactId>
  143. <version>${version.servlet-api}</version>
  144. </dependency>
  145. <!-- spring start -->
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-beans</artifactId>
  149. <version>${version.spring}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework</groupId>
  153. <artifactId>spring-core</artifactId>
  154. <version>${version.spring}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springframework.data</groupId>
  158. <artifactId>spring-data-commons</artifactId>
  159. <version>${version.spring-data-commons}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.springframework.data</groupId>
  163. <artifactId>spring-data-keyvalue</artifactId>
  164. <version>${version.spring-data-keyvalue}</version>
  165. </dependency>
  166. <!-- spring end -->
  167. <!--Swagger start -->
  168. <dependency>
  169. <groupId>io.springfox</groupId>
  170. <artifactId>springfox-swagger2</artifactId>
  171. <version>${version.swagger}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>io.springfox</groupId>
  175. <artifactId>springfox-swagger-ui</artifactId>
  176. <version>${version.swagger}</version>
  177. </dependency>
  178. <!--Swagger end -->
  179. <dependency>
  180. <groupId>com.yihu</groupId>
  181. <artifactId>jave-ffmpegjave</artifactId>
  182. <version>1.0.4</version>
  183. </dependency>
  184. <!-- poi start-->
  185. <dependency>
  186. <groupId>org.apache.poi</groupId>
  187. <artifactId>poi</artifactId>
  188. <version>${version.poi}</version>
  189. </dependency>
  190. <!-- poi end-->
  191. <dependency>
  192. <groupId>org.apache.axis</groupId>
  193. <artifactId>axis</artifactId>
  194. <version>1.4</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>axis</groupId>
  198. <artifactId>axis-jaxrpc</artifactId>
  199. <version>1.3</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.httpcomponents</groupId>
  203. <artifactId>httpclient</artifactId>
  204. <version>4.5.2</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>sehrCrypto</groupId>
  208. <artifactId>sehrCrypto</artifactId>
  209. <version>1.0.0</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.jdom</groupId>
  213. <artifactId>jdom</artifactId>
  214. <version>1.1.3</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.bouncycastle</groupId>
  218. <artifactId>bcprov-jdk16</artifactId>
  219. <version>1.46</version>
  220. </dependency>
  221. <!-- Apache Commons fileupload -->
  222. <dependency>
  223. <groupId>commons-fileupload</groupId>
  224. <artifactId>commons-fileupload</artifactId>
  225. <version>1.2.1</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.commons</groupId>
  229. <artifactId>commons-io</artifactId>
  230. <version>1.3.2</version>
  231. </dependency>
  232. <!-- SPRINGSIDE -->
  233. <dependency>
  234. <groupId>org.springside</groupId>
  235. <artifactId>springside-core</artifactId>
  236. <version>${version.springside}</version>
  237. </dependency>
  238. <!-- PERSISTENCE begin -->
  239. <!-- hibernate -->
  240. <dependency>
  241. <groupId>org.hibernate</groupId>
  242. <artifactId>hibernate-entitymanager</artifactId>
  243. <version>${version.hibernate}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.google.code.kaptcha</groupId>
  247. <artifactId>kaptcha</artifactId>
  248. <version>${version.kaptcha}</version>
  249. </dependency>
  250. <!-- spring data access -->
  251. <dependency>
  252. <groupId>org.springframework.data</groupId>
  253. <artifactId>spring-data-jpa</artifactId>
  254. <version>${version.spring-data-jpa}</version>
  255. </dependency>
  256. <!-- aspectjrt start -->
  257. <dependency>
  258. <groupId>org.aspectj</groupId>
  259. <artifactId>aspectjrt</artifactId>
  260. <version>${version.aspectj}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.aspectj</groupId>
  264. <artifactId>aspectjweaver</artifactId>
  265. <version>${version.aspectj}</version>
  266. </dependency>
  267. <!-- aspectjrt end -->
  268. <!-- jdbc driver -->
  269. <dependency>
  270. <groupId>mysql</groupId>
  271. <artifactId>mysql-connector-java</artifactId>
  272. <version>${version.mysql}</version>
  273. </dependency>
  274. <!-- PERSISTENCE end -->
  275. <!-- WEB begin -->
  276. <dependency>
  277. <groupId>opensymphony</groupId>
  278. <artifactId>sitemesh</artifactId>
  279. <version>${sitemesh.version}</version>
  280. <scope>runtime</scope>
  281. </dependency>
  282. <dependency>
  283. <groupId>javax.servlet</groupId>
  284. <artifactId>jstl</artifactId>
  285. <version>1.2</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>javax.servlet</groupId>
  289. <artifactId>javax.servlet-api</artifactId>
  290. <version>3.0.1</version>
  291. <scope>provided</scope>
  292. </dependency>
  293. <!-- WEB end -->
  294. <!-- JSR303 BeanValidator -->
  295. <dependency>
  296. <groupId>org.hibernate</groupId>
  297. <artifactId>hibernate-validator</artifactId>
  298. <version>${version.hibernate-validator}</version>
  299. </dependency>
  300. <!-- JSON begin -->
  301. <dependency>
  302. <groupId>com.fasterxml.jackson.core</groupId>
  303. <artifactId>jackson-databind</artifactId>
  304. <version>${jackson.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>com.fasterxml.jackson.dataformat</groupId>
  308. <artifactId>jackson-dataformat-xml</artifactId>
  309. <version>${jackson.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.fasterxml.jackson.module</groupId>
  313. <artifactId>jackson-module-jaxb-annotations</artifactId>
  314. <version>${jackson.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.json</groupId>
  318. <artifactId>json</artifactId>
  319. <version>${version.orgjson}</version>
  320. </dependency>
  321. <!-- JSON end -->
  322. <dependency>
  323. <groupId>org.htmlparser</groupId>
  324. <artifactId>htmlparser</artifactId>
  325. <version>${version.htmlparser}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>xom</groupId>
  329. <artifactId>xom</artifactId>
  330. <version>${version.xom}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.thoughtworks.xstream</groupId>
  334. <artifactId>xstream</artifactId>
  335. <version>${version.xstream}</version>
  336. </dependency>
  337. <!-- LOGGING begin -->
  338. <dependency>
  339. <groupId>org.slf4j</groupId>
  340. <artifactId>slf4j-api</artifactId>
  341. <version>${slf4j.version}</version>
  342. </dependency>
  343. <dependency>
  344. <groupId>ch.qos.logback</groupId>
  345. <artifactId>logback-classic</artifactId>
  346. <version>${version.logback}</version>
  347. <scope>runtime</scope>
  348. </dependency>
  349. <dependency>
  350. <groupId>ch.qos.logback</groupId>
  351. <artifactId>logback-core</artifactId>
  352. <version>${version.logback}</version>
  353. <scope>runtime</scope>
  354. </dependency>
  355. <!-- 代码直接调用log4j会被桥接到slf4j -->
  356. <dependency>
  357. <groupId>org.slf4j</groupId>
  358. <artifactId>log4j-over-slf4j</artifactId>
  359. <version>${slf4j.version}</version>
  360. <scope>runtime</scope>
  361. </dependency>
  362. <!-- 代码直接调用common-logging会被桥接到slf4j -->
  363. <dependency>
  364. <groupId>org.slf4j</groupId>
  365. <artifactId>jcl-over-slf4j</artifactId>
  366. <version>${slf4j.version}</version>
  367. <scope>runtime</scope>
  368. </dependency>
  369. <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
  370. <dependency>
  371. <groupId>org.slf4j</groupId>
  372. <artifactId>jul-to-slf4j</artifactId>
  373. <version>${slf4j.version}</version>
  374. <scope>runtime</scope>
  375. </dependency>
  376. <!-- LOGGING end -->
  377. <!-- GENERAL UTILS begin -->
  378. <dependency>
  379. <groupId>org.apache.commons</groupId>
  380. <artifactId>commons-lang3</artifactId>
  381. <version>${commons-lang3.version}</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>com.google.guava</groupId>
  385. <artifactId>guava</artifactId>
  386. <version>${guava.version}</version>
  387. </dependency>
  388. <!-- GENERAL UTILS end -->
  389. <!-- selenium 2.0 -->
  390. <dependency>
  391. <groupId>org.seleniumhq.selenium</groupId>
  392. <artifactId>selenium-java</artifactId>
  393. <version>${selenium.version}</version>
  394. <scope>test</scope>
  395. <exclusions>
  396. <exclusion>
  397. <groupId>org.seleniumhq.selenium</groupId>
  398. <artifactId>selenium-htmlunit-driver</artifactId>
  399. </exclusion>
  400. <exclusion>
  401. <groupId>org.seleniumhq.selenium</groupId>
  402. <artifactId>selenium-android-driver</artifactId>
  403. </exclusion>
  404. <exclusion>
  405. <groupId>org.seleniumhq.selenium</groupId>
  406. <artifactId>selenium-iphone-driver</artifactId>
  407. </exclusion>
  408. <exclusion>
  409. <groupId>org.seleniumhq.selenium</groupId>
  410. <artifactId>selenium-safari-driver</artifactId>
  411. </exclusion>
  412. <exclusion>
  413. <groupId>commons-logging</groupId>
  414. <artifactId>commons-logging</artifactId>
  415. </exclusion>
  416. </exclusions>
  417. </dependency>
  418. <dependency>
  419. <groupId>org.seleniumhq.selenium</groupId>
  420. <artifactId>selenium-remote-driver</artifactId>
  421. <version>${selenium.version}</version>
  422. <scope>test</scope>
  423. <exclusions>
  424. <exclusion>
  425. <groupId>cglib</groupId>
  426. <artifactId>cglib-nodep</artifactId>
  427. </exclusion>
  428. <exclusion>
  429. <groupId>commons-logging</groupId>
  430. <artifactId>commons-logging</artifactId>
  431. </exclusion>
  432. </exclusions>
  433. </dependency>
  434. <!--二维码生成 start-->
  435. <dependency>
  436. <groupId>com.google.zxing</groupId>
  437. <artifactId>core</artifactId>
  438. <version>${version.zxing}</version>
  439. </dependency>
  440. <dependency>
  441. <groupId>com.google.zxing</groupId>
  442. <artifactId>javase</artifactId>
  443. <version>${version.zxing}</version>
  444. </dependency>
  445. <!--二维码生成 end-->
  446. <!-- quartz start -->
  447. <dependency>
  448. <groupId>org.quartz-scheduler</groupId>
  449. <artifactId>quartz</artifactId>
  450. <version>${version.quartz}</version>
  451. </dependency>
  452. <!-- quartz end -->
  453. <!-- redis start -->
  454. <dependency>
  455. <groupId>org.springframework.data</groupId>
  456. <artifactId>spring-data-redis</artifactId>
  457. <version>${version.spring-data-redis}</version>
  458. </dependency>
  459. <dependency>
  460. <groupId>redis.clients</groupId>
  461. <artifactId>jedis</artifactId>
  462. <version>${version.redis}</version>
  463. </dependency>
  464. <!-- redis end -->
  465. <!--fastdfs start-->
  466. <dependency>
  467. <groupId>org.csource</groupId>
  468. <artifactId>fastdfs_lib</artifactId>
  469. <version>${version.fastdfs}</version>
  470. </dependency>
  471. <!--fastdfs end-->
  472. <dependency>
  473. <groupId>joda-time</groupId>
  474. <artifactId>joda-time</artifactId>
  475. <version>${version.joda-time}</version>
  476. </dependency>
  477. <dependency>
  478. <groupId>com.alibaba</groupId>
  479. <artifactId>fastjson</artifactId>
  480. <version>${version.fastdfs}</version>
  481. </dependency>
  482. <dependency>
  483. <groupId>com.ylz</groupId>
  484. <artifactId>onepay-java-sdk</artifactId>
  485. <version>${version.ylz}</version>
  486. </dependency> <!--elasticsearch start-->
  487. <dependency>
  488. <groupId>org.elasticsearch</groupId>
  489. <artifactId>elasticsearch</artifactId>
  490. <version>${version.elasticsearch}</version>
  491. </dependency>
  492. <dependency>
  493. <groupId>io.searchbox</groupId>
  494. <artifactId>jest</artifactId>
  495. <version>${version.jest}</version>
  496. </dependency>
  497. <!--elasticsearch end-->
  498. </dependencies>
  499. </dependencyManagement>
  500. <build>
  501. <pluginManagement>
  502. <plugins>
  503. <!--打成war包需要的配置 start-->
  504. <plugin>
  505. <groupId>org.springframework.boot</groupId>
  506. <artifactId>spring-boot-maven-plugin</artifactId>
  507. </plugin>
  508. <plugin>
  509. <artifactId>maven-war-plugin</artifactId>
  510. <configuration>
  511. <failOnMissingWebXml>false</failOnMissingWebXml>
  512. </configuration>
  513. </plugin>
  514. <!--打成war包需要的配置 end-->
  515. <plugin>
  516. <groupId>org.apache.maven.plugins</groupId>
  517. <artifactId>maven-compiler-plugin</artifactId>
  518. <configuration>
  519. <source>1.8</source>
  520. <target>1.8</target>
  521. <compilerArguments>
  522. <verbose/>
  523. <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
  524. </compilerArguments>
  525. </configuration>
  526. <version>3.1</version>
  527. </plugin>
  528. </plugins>
  529. </pluginManagement>
  530. </build>
  531. </project>