pom.xml 22 KB

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