pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  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>com.yihu</groupId>
  6. <artifactId>patient-co-wlyy</artifactId>
  7. <version>1.0.0</version>
  8. <packaging>war</packaging>
  9. <name>patient-co-wlyy</name>
  10. <properties>
  11. <!-- 主要依赖库的版本定义 -->
  12. <springside.version>4.2.3-GA</springside.version>
  13. <spring.version>4.2.6.RELEASE</spring.version>
  14. <hibernate.version>4.3.5.Final</hibernate.version>
  15. <spring-data-jpa.version>1.6.0.RELEASE</spring-data-jpa.version>
  16. <tomcat-jdbc.version>7.0.53</tomcat-jdbc.version>
  17. <sitemesh.version>2.4.2</sitemesh.version>
  18. <shiro.version>1.2.3</shiro.version>
  19. <hibernate-validator.version>5.0.3.Final</hibernate-validator.version>
  20. <jackson.version>2.4.0</jackson.version>
  21. <aspectj.version>1.7.4</aspectj.version>
  22. <slf4j.version>1.7.7</slf4j.version>
  23. <logback.version>1.1.2</logback.version>
  24. <commons-lang3.version>3.3.2</commons-lang3.version>
  25. <guava.version>17.0</guava.version>
  26. <junit.version>4.11</junit.version>
  27. <assertj.version>1.6.1</assertj.version>
  28. <mockito.version>1.9.5</mockito.version>
  29. <selenium.version>2.42.2</selenium.version>
  30. <jetty.version>7.6.15.v20140411</jetty.version>
  31. <h2.version>1.3.176</h2.version>
  32. <!-- Plugin的属性定义 -->
  33. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  34. <java.version>1.6</java.version>
  35. <!-- 项目属性 -->
  36. <!--
  37. <jdbc.driver.groupId>com.h2database</jdbc.driver.groupId>
  38. <jdbc.driver.artifactId>h2</jdbc.driver.artifactId>
  39. <jdbc.driver.version>${h2.version}</jdbc.driver.version>
  40. -->
  41. <jdbc.driver.groupId>mysql</jdbc.driver.groupId>
  42. <jdbc.driver.artifactId>mysql-connector-java</jdbc.driver.artifactId>
  43. <jdbc.driver.version>5.1.22</jdbc.driver.version>
  44. </properties>
  45. <prerequisites>
  46. <maven>3.0.0</maven>
  47. </prerequisites>
  48. <!-- 设定插件仓库, 如有Nexus私服, 取消注释并指向正确的服务器地址. -->
  49. <pluginRepositories>
  50. <pluginRepository>
  51. <id>nexus</id>
  52. <name>Team Nexus Repository</name>
  53. <url>http://172.19.103.47:8081/nexus/content/groups/public</url>
  54. <snapshots>
  55. <enabled>false</enabled>
  56. </snapshots>
  57. </pluginRepository>
  58. </pluginRepositories>
  59. <!-- 依赖项定义 -->
  60. <dependencies>
  61. <!--Swagger-->
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger2</artifactId>
  65. <version>2.4.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.yihu</groupId>
  69. <artifactId>java-ffmpegjave</artifactId>
  70. <version>1.0.4</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger-ui</artifactId>
  75. <version>2.4.0</version>
  76. </dependency>
  77. <!--Spring-->
  78. <dependency>
  79. <groupId>org.springframework</groupId>
  80. <artifactId>spring-context-support</artifactId>
  81. <version>${spring.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.poi</groupId>
  85. <artifactId>poi</artifactId>
  86. <version>3.15-beta1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.axis</groupId>
  90. <artifactId>axis</artifactId>
  91. <version>1.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>axis</groupId>
  95. <artifactId>axis-jaxrpc</artifactId>
  96. <version>1.3</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.httpcomponents</groupId>
  100. <artifactId>httpclient</artifactId>
  101. <version>4.5.2</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>sehrCrypto</groupId>
  105. <artifactId>sehrCrypto</artifactId>
  106. <version>1.0.0</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.jdom</groupId>
  110. <artifactId>jdom</artifactId>
  111. <version>1.1.3</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.bouncycastle</groupId>
  115. <artifactId>bcprov-jdk16</artifactId>
  116. <version>1.46</version>
  117. </dependency>
  118. <!-- Apache Commons fileupload -->
  119. <dependency>
  120. <groupId>commons-fileupload</groupId>
  121. <artifactId>commons-fileupload</artifactId>
  122. <version>1.2.1</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.commons</groupId>
  126. <artifactId>commons-io</artifactId>
  127. <version>1.3.2</version>
  128. </dependency>
  129. <!-- SPRINGSIDE -->
  130. <dependency>
  131. <groupId>org.springside</groupId>
  132. <artifactId>springside-core</artifactId>
  133. <version>${springside.version}</version>
  134. </dependency>
  135. <!-- PERSISTENCE begin -->
  136. <!-- hibernate -->
  137. <dependency>
  138. <groupId>org.hibernate</groupId>
  139. <artifactId>hibernate-entitymanager</artifactId>
  140. <version>${hibernate.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.google.code.kaptcha</groupId>
  144. <artifactId>kaptcha</artifactId>
  145. <version>2.3</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.ylzinfo.onepay</groupId>
  149. <artifactId>onepay</artifactId>
  150. <version>1.0</version>
  151. </dependency>
  152. <!-- spring data access -->
  153. <dependency>
  154. <groupId>org.springframework.data</groupId>
  155. <artifactId>spring-data-jpa</artifactId>
  156. <version>${spring-data-jpa.version}</version>
  157. </dependency>
  158. <!-- spring aop -->
  159. <dependency>
  160. <groupId>org.aspectj</groupId>
  161. <artifactId>aspectjrt</artifactId>
  162. <version>${aspectj.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.aspectj</groupId>
  166. <artifactId>aspectjweaver</artifactId>
  167. <version>${aspectj.version}</version>
  168. <scope>runtime</scope>
  169. </dependency>
  170. <!-- connection pool -->
  171. <dependency>
  172. <groupId>org.apache.tomcat</groupId>
  173. <artifactId>tomcat-jdbc</artifactId>
  174. <version>${tomcat-jdbc.version}</version>
  175. <scope>runtime</scope>
  176. </dependency>
  177. <!-- jdbc driver -->
  178. <dependency>
  179. <groupId>${jdbc.driver.groupId}</groupId>
  180. <artifactId>${jdbc.driver.artifactId}</artifactId>
  181. <version>${jdbc.driver.version}</version>
  182. <scope>runtime</scope>
  183. </dependency>
  184. <!-- PERSISTENCE end -->
  185. <!-- WEB begin -->
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-webmvc</artifactId>
  189. </dependency>
  190. <dependency>
  191. <groupId>opensymphony</groupId>
  192. <artifactId>sitemesh</artifactId>
  193. <version>${sitemesh.version}</version>
  194. <scope>runtime</scope>
  195. </dependency>
  196. <dependency>
  197. <groupId>javax.servlet</groupId>
  198. <artifactId>jstl</artifactId>
  199. <version>1.2</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>javax.servlet</groupId>
  203. <artifactId>javax.servlet-api</artifactId>
  204. <version>3.0.1</version>
  205. <scope>provided</scope>
  206. </dependency>
  207. <!-- WEB end -->
  208. <!-- SECURITY begin -->
  209. <dependency>
  210. <groupId>org.apache.shiro</groupId>
  211. <artifactId>shiro-spring</artifactId>
  212. <version>${shiro.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.shiro</groupId>
  216. <artifactId>shiro-ehcache</artifactId>
  217. <version>${shiro.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>commons-codec</groupId>
  221. <artifactId>commons-codec</artifactId>
  222. <version>1.9</version>
  223. </dependency>
  224. <!-- SECURITY end -->
  225. <!-- JSR303 BeanValidator -->
  226. <dependency>
  227. <groupId>org.hibernate</groupId>
  228. <artifactId>hibernate-validator</artifactId>
  229. <version>${hibernate-validator.version}</version>
  230. </dependency>
  231. <!-- JSON begin -->
  232. <dependency>
  233. <groupId>com.fasterxml.jackson.core</groupId>
  234. <artifactId>jackson-databind</artifactId>
  235. <version>${jackson.version}</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>com.fasterxml.jackson.dataformat</groupId>
  239. <artifactId>jackson-dataformat-xml</artifactId>
  240. <version>${jackson.version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>com.fasterxml.jackson.module</groupId>
  244. <artifactId>jackson-module-jaxb-annotations</artifactId>
  245. <version>${jackson.version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.json</groupId>
  249. <artifactId>json</artifactId>
  250. <version>20160212</version>
  251. </dependency>
  252. <!-- JSON end -->
  253. <!--fastjson-->
  254. <dependency>
  255. <groupId>com.alibaba</groupId>
  256. <artifactId>fastjson</artifactId>
  257. <version>1.2.4</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.htmlparser</groupId>
  261. <artifactId>htmlparser</artifactId>
  262. <version>2.1</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>xom</groupId>
  266. <artifactId>xom</artifactId>
  267. <version>1.1</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>com.thoughtworks.xstream</groupId>
  271. <artifactId>xstream</artifactId>
  272. <version>1.4.7</version>
  273. </dependency>
  274. <!-- LOGGING begin -->
  275. <dependency>
  276. <groupId>org.slf4j</groupId>
  277. <artifactId>slf4j-api</artifactId>
  278. <version>${slf4j.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>ch.qos.logback</groupId>
  282. <artifactId>logback-classic</artifactId>
  283. <version>${logback.version}</version>
  284. <scope>runtime</scope>
  285. </dependency>
  286. <dependency>
  287. <groupId>ch.qos.logback</groupId>
  288. <artifactId>logback-core</artifactId>
  289. <version>${logback.version}</version>
  290. <scope>runtime</scope>
  291. </dependency>
  292. <!-- 代码直接调用log4j会被桥接到slf4j -->
  293. <dependency>
  294. <groupId>org.slf4j</groupId>
  295. <artifactId>log4j-over-slf4j</artifactId>
  296. <version>${slf4j.version}</version>
  297. <scope>runtime</scope>
  298. </dependency>
  299. <!-- 代码直接调用common-logging会被桥接到slf4j -->
  300. <dependency>
  301. <groupId>org.slf4j</groupId>
  302. <artifactId>jcl-over-slf4j</artifactId>
  303. <version>${slf4j.version}</version>
  304. <scope>runtime</scope>
  305. </dependency>
  306. <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
  307. <dependency>
  308. <groupId>org.slf4j</groupId>
  309. <artifactId>jul-to-slf4j</artifactId>
  310. <version>${slf4j.version}</version>
  311. <scope>runtime</scope>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.googlecode.log4jdbc</groupId>
  315. <artifactId>log4jdbc</artifactId>
  316. <version>1.2</version>
  317. <scope>runtime</scope>
  318. </dependency>
  319. <!-- LOGGING end -->
  320. <!-- GENERAL UTILS begin -->
  321. <dependency>
  322. <groupId>org.apache.commons</groupId>
  323. <artifactId>commons-lang3</artifactId>
  324. <version>${commons-lang3.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.google.guava</groupId>
  328. <artifactId>guava</artifactId>
  329. <version>${guava.version}</version>
  330. </dependency>
  331. <!-- GENERAL UTILS end -->
  332. <!-- TEST begin -->
  333. <dependency>
  334. <groupId>org.springside</groupId>
  335. <artifactId>springside-core</artifactId>
  336. <version>${springside.version}</version>
  337. <classifier>tests</classifier>
  338. <scope>test</scope>
  339. </dependency>
  340. <dependency>
  341. <groupId>junit</groupId>
  342. <artifactId>junit</artifactId>
  343. <version>${junit.version}</version>
  344. <scope>test</scope>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.assertj</groupId>
  348. <artifactId>assertj-core</artifactId>
  349. <version>${assertj.version}</version>
  350. <scope>test</scope>
  351. </dependency>
  352. <dependency>
  353. <groupId>org.mockito</groupId>
  354. <artifactId>mockito-core</artifactId>
  355. <version>${mockito.version}</version>
  356. <scope>test</scope>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.springframework</groupId>
  360. <artifactId>spring-test</artifactId>
  361. <scope>test</scope>
  362. </dependency>
  363. <!-- selenium 2.0 -->
  364. <dependency>
  365. <groupId>org.seleniumhq.selenium</groupId>
  366. <artifactId>selenium-java</artifactId>
  367. <version>${selenium.version}</version>
  368. <scope>test</scope>
  369. <exclusions>
  370. <exclusion>
  371. <groupId>org.seleniumhq.selenium</groupId>
  372. <artifactId>selenium-htmlunit-driver</artifactId>
  373. </exclusion>
  374. <exclusion>
  375. <groupId>org.seleniumhq.selenium</groupId>
  376. <artifactId>selenium-android-driver</artifactId>
  377. </exclusion>
  378. <exclusion>
  379. <groupId>org.seleniumhq.selenium</groupId>
  380. <artifactId>selenium-iphone-driver</artifactId>
  381. </exclusion>
  382. <exclusion>
  383. <groupId>org.seleniumhq.selenium</groupId>
  384. <artifactId>selenium-safari-driver</artifactId>
  385. </exclusion>
  386. <exclusion>
  387. <groupId>commons-logging</groupId>
  388. <artifactId>commons-logging</artifactId>
  389. </exclusion>
  390. </exclusions>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.seleniumhq.selenium</groupId>
  394. <artifactId>selenium-remote-driver</artifactId>
  395. <version>${selenium.version}</version>
  396. <scope>test</scope>
  397. <exclusions>
  398. <exclusion>
  399. <groupId>cglib</groupId>
  400. <artifactId>cglib-nodep</artifactId>
  401. </exclusion>
  402. <exclusion>
  403. <groupId>commons-logging</groupId>
  404. <artifactId>commons-logging</artifactId>
  405. </exclusion>
  406. </exclusions>
  407. </dependency>
  408. <!-- h2 如果生产数据库不是H2,解开下面的注释
  409. <dependency>
  410. <groupId>com.h2database</groupId>
  411. <artifactId>h2</artifactId>
  412. <version>${h2.version}</version>
  413. </dependency>
  414. -->
  415. <!-- jetty -->
  416. <dependency>
  417. <groupId>org.eclipse.jetty.aggregate</groupId>
  418. <artifactId>jetty-webapp</artifactId>
  419. <version>${jetty.version}</version>
  420. <scope>test</scope>
  421. </dependency>
  422. <dependency>
  423. <groupId>org.eclipse.jetty</groupId>
  424. <artifactId>jetty-jsp</artifactId>
  425. <version>${jetty.version}</version>
  426. <scope>test</scope>
  427. </dependency>
  428. <dependency>
  429. <groupId>com.google.zxing</groupId>
  430. <artifactId>core</artifactId>
  431. <version>3.2.0</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>com.google.zxing</groupId>
  435. <artifactId>javase</artifactId>
  436. <version>3.1.0</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>org.quartz-scheduler</groupId>
  440. <artifactId>quartz</artifactId>
  441. <version>2.2.3</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>org.apache.tomcat</groupId>
  445. <artifactId>tomcat-jdbc</artifactId>
  446. <version>8.0.28</version>
  447. <scope>provided</scope>
  448. </dependency>
  449. <!-- spring data的结合 -->
  450. <dependency>
  451. <groupId>org.springframework.data</groupId>
  452. <artifactId>spring-data-redis</artifactId>
  453. <version>1.7.2.RELEASE</version>
  454. </dependency>
  455. <dependency>
  456. <groupId>redis.clients</groupId>
  457. <artifactId>jedis</artifactId>
  458. <version>2.8.1</version>
  459. </dependency>
  460. <!-- TEST end -->
  461. <dependency>
  462. <groupId>org.csource</groupId>
  463. <artifactId>fastdfs_lib</artifactId>
  464. <version>1.25</version>
  465. </dependency>
  466. <dependency>
  467. <groupId>org.junit.jupiter</groupId>
  468. <artifactId>junit-jupiter-api</artifactId>
  469. <version>RELEASE</version>
  470. </dependency>
  471. </dependencies>
  472. <dependencyManagement>
  473. <dependencies>
  474. <dependency>
  475. <groupId>org.springframework</groupId>
  476. <artifactId>spring-framework-bom</artifactId>
  477. <version>${spring.version}</version>
  478. <type>pom</type>
  479. <scope>import</scope>
  480. </dependency>
  481. <dependency>
  482. <groupId>net.sf.ehcache</groupId>
  483. <artifactId>ehcache-core</artifactId>
  484. <version>2.6.9</version>
  485. </dependency>
  486. </dependencies>
  487. </dependencyManagement>
  488. <build>
  489. <plugins>
  490. <plugin>
  491. <groupId>org.apache.maven.plugins</groupId>
  492. <artifactId>maven-compiler-plugin</artifactId>
  493. <configuration>
  494. <source>1.8</source>
  495. <target>1.8</target>
  496. <compilerArguments>
  497. <verbose/>
  498. <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
  499. </compilerArguments>
  500. </configuration>
  501. </plugin>
  502. <plugin>
  503. <groupId>org.apache.maven.plugins</groupId>
  504. <artifactId>maven-install-plugin</artifactId>
  505. <version>2.4</version>
  506. <executions>
  507. <execution>
  508. <id>onepay</id>
  509. <phase>initialize</phase>
  510. <goals>
  511. <goal>install-file</goal>
  512. </goals>
  513. <configuration>
  514. <groupId>com.ylzinfo.onepay</groupId>
  515. <artifactId>onepay</artifactId>
  516. <version>1.0</version>
  517. <packaging>jar</packaging>
  518. <file>${basedir}/src/main/resources/onepay-java-sdk.jar</file>
  519. </configuration>
  520. </execution>
  521. <execution>
  522. <id>kaptcha</id>
  523. <phase>initialize</phase>
  524. <goals>
  525. <goal>install-file</goal>
  526. </goals>
  527. <configuration>
  528. <groupId>com.google.code.kaptcha</groupId>
  529. <artifactId>kaptcha</artifactId>
  530. <version>2.3</version>
  531. <packaging>jar</packaging>
  532. <file>${basedir}/src/main/resources/kaptcha-2.3.2.jar</file>
  533. </configuration>
  534. </execution>
  535. <execution>
  536. <id>fastdfs_lib</id>
  537. <phase>initialize</phase>
  538. <goals>
  539. <goal>install-file</goal>
  540. </goals>
  541. <configuration>
  542. <groupId>org.csource</groupId>
  543. <artifactId>fastdfs_lib</artifactId>
  544. <version>1.25</version>
  545. <packaging>jar</packaging>
  546. <file>${basedir}/src/main/resources/fastdfs_lib.jar</file>
  547. </configuration>
  548. </execution>
  549. </executions>
  550. </plugin>
  551. </plugins>
  552. </build>
  553. </project>