pom.xml 23 KB

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