pom.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.cz</groupId>
  4. <artifactId>yingpu</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <packaging>war</packaging>
  7. <name>yingpu</name>
  8. <url>http://git.oschina.net/chunanyong/yingpu</url>
  9. <repositories>
  10. <repository>
  11. <id>aliyun</id>
  12. <name>aliyun</name>
  13. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  14. <layout>default</layout>
  15. <releases>
  16. <enabled>true</enabled>
  17. <updatePolicy>never</updatePolicy>
  18. </releases>
  19. <snapshots>
  20. <enabled>true</enabled>
  21. <updatePolicy>never</updatePolicy>
  22. </snapshots>
  23. </repository>
  24. </repositories>
  25. <pluginRepositories>
  26. <pluginRepository>
  27. <id>aliyun</id>
  28. <name>aliyun</name>
  29. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  30. <releases>
  31. <enabled>true</enabled>
  32. </releases>
  33. <snapshots>
  34. <enabled>false</enabled>
  35. </snapshots>
  36. </pluginRepository>
  37. </pluginRepositories>
  38. <properties>
  39. <finalName>yingpu</finalName>
  40. <jetty.version>9.2.3.v20140905</jetty.version>
  41. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  42. <junit.version>4.12</junit.version>
  43. <aspectjweaver.version>1.8.9</aspectjweaver.version>
  44. <!--
  45. <persistence-api.version>1.0.2</persistence-api.version>
  46. -->
  47. <spring.baseline.version>4.3.1.RELEASE</spring.baseline.version>
  48. <spring-data-redis.version>1.7.3.RELEASE</spring-data-redis.version>
  49. <slf4j-api.version>1.7.21</slf4j-api.version>
  50. <jcl-over-slf4j.version>1.7.21</jcl-over-slf4j.version>
  51. <logback.version>1.1.7</logback.version>
  52. <!--
  53. <javax.validation.version>1.1.0.Final</javax.validation.version>
  54. <hibernate.validator.version>5.3.2.Final</hibernate.validator.version>
  55. -->
  56. <commons-lang3.version>3.4</commons-lang3.version>
  57. <commons-pool.version>2.4.2</commons-pool.version>
  58. <commons-collections.version>4.1</commons-collections.version>
  59. <commons-io.version>2.4</commons-io.version>
  60. <commons-codec.version>1.9</commons-codec.version>
  61. <commons-beanutils.version>1.9.3</commons-beanutils.version>
  62. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  63. <freemarker.version>2.3.22</freemarker.version>
  64. <jedis.version>2.9.0</jedis.version>
  65. <shiro.version>1.3.2</shiro.version>
  66. <jxl.version>2.6.12</jxl.version>
  67. <jodconverter.version>2.2.1</jodconverter.version>
  68. <jackson.version>2.8.4</jackson.version>
  69. <gson.version>2.8.0</gson.version>
  70. <druid.version>1.0.26</druid.version>
  71. <httpcore.version>4.4.5</httpcore.version>
  72. <httpclient.version>4.5.2</httpclient.version>
  73. <jsoup.version>1.10.2</jsoup.version>
  74. <xstream.version>1.4.9</xstream.version>
  75. <lucene.version>5.5.1</lucene.version>
  76. <!--
  77. <quartz.version>2.2.1</quartz.version>
  78. -->
  79. <joda-time.version>2.9.6</joda-time.version>
  80. <servlet-api.version>2.5</servlet-api.version>
  81. <mysql-connector-java.version>5.1.39</mysql-connector-java.version>
  82. <javax.persistence.version>2.1.1</javax.persistence.version>
  83. <jsp-api.version>2.1</jsp-api.version>
  84. <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
  85. <maven-war-plugin.version>2.6</maven-war-plugin.version>
  86. <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
  87. <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
  88. <maven-source-plugin.version>2.4</maven-source-plugin.version>
  89. <maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
  90. <maven-resources-plugin.version>2.7</maven-resources-plugin.version>
  91. </properties>
  92. <dependencies>
  93. <!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
  94. <dependency>
  95. <groupId>javax.servlet</groupId>
  96. <artifactId>jstl</artifactId>
  97. <version>1.2</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>junit</groupId>
  101. <artifactId>junit</artifactId>
  102. <version>${junit.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.hamcrest</groupId>
  107. <artifactId>hamcrest-core</artifactId>
  108. <version>1.3</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <!--
  112. <dependency>
  113. <groupId>net.sf.json-lib</groupId>
  114. <artifactId>json-lib</artifactId>
  115. <version>2.4</version>
  116. <classifier>jdk15</classifier>
  117. </dependency>
  118. -->
  119. <!-- =========================== -->
  120. <!-- provided scope dependencies -->
  121. <!-- =========================== -->
  122. <dependency>
  123. <groupId>org.eclipse.jetty</groupId>
  124. <artifactId>jetty-server</artifactId>
  125. <version>${jetty.version}</version>
  126. <scope>provided</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.eclipse.jetty</groupId>
  130. <artifactId>jetty-webapp</artifactId>
  131. <version>${jetty.version}</version>
  132. <scope>provided</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.eclipse.jetty</groupId>
  136. <artifactId>jetty-servlet</artifactId>
  137. <version>${jetty.version}</version>
  138. <scope>provided</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.eclipse.jetty</groupId>
  142. <artifactId>jetty-util</artifactId>
  143. <version>${jetty.version}</version>
  144. <scope>compile</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.eclipse.jetty</groupId>
  148. <artifactId>jetty-jsp-2.1</artifactId>
  149. <version>7.5.4.v20111024</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.thoughtworks.xstream</groupId>
  154. <artifactId>xstream</artifactId>
  155. <version>1.4.9</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.jdom</groupId>
  159. <artifactId>jdom</artifactId>
  160. <version>1.1.3</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>dom4j</groupId>
  164. <artifactId>dom4j</artifactId>
  165. <version>1.6.1</version>
  166. </dependency>
  167. <!--
  168. <dependency>
  169. <groupId>org.apache.tomcat</groupId>
  170. <artifactId>jasper</artifactId>
  171. <version>6.0.35</version>
  172. <scope>provided</scope>
  173. </dependency>
  174. -->
  175. <dependency>
  176. <groupId>javax.servlet</groupId>
  177. <artifactId>servlet-api</artifactId>
  178. <version>${servlet-api.version}</version>
  179. <scope>provided</scope>
  180. </dependency>
  181. <dependency>
  182. <groupId>javax.servlet.jsp</groupId>
  183. <artifactId>jsp-api</artifactId>
  184. <version>${jsp-api.version}</version>
  185. <scope>provided</scope>
  186. </dependency>
  187. <!-- =========================== -->
  188. <!-- springFramework dependencies -->
  189. <!-- =========================== -->
  190. <dependency>
  191. <groupId>org.springframework</groupId>
  192. <artifactId>spring-core</artifactId>
  193. <version>${spring.baseline.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.springframework</groupId>
  197. <artifactId>spring-aop</artifactId>
  198. <version>${spring.baseline.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework</groupId>
  202. <artifactId>spring-beans</artifactId>
  203. <version>${spring.baseline.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springframework</groupId>
  207. <artifactId>spring-tx</artifactId>
  208. <version>${spring.baseline.version}</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework</groupId>
  212. <artifactId>spring-jdbc</artifactId>
  213. <version>${spring.baseline.version}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.springframework</groupId>
  217. <artifactId>spring-expression</artifactId>
  218. <version>${spring.baseline.version}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.springframework</groupId>
  222. <artifactId>spring-context-support</artifactId>
  223. <version>${spring.baseline.version}</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.springframework</groupId>
  227. <artifactId>spring-context</artifactId>
  228. <version>${spring.baseline.version}</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.springframework</groupId>
  232. <artifactId>spring-web</artifactId>
  233. <version>${spring.baseline.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.springframework</groupId>
  237. <artifactId>spring-webmvc</artifactId>
  238. <version>${spring.baseline.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.springframework</groupId>
  242. <artifactId>spring-oxm</artifactId>
  243. <version>${spring.baseline.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.springframework</groupId>
  247. <artifactId>spring-test</artifactId>
  248. <version>${spring.baseline.version}</version>
  249. <scope>provided</scope>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.aspectj</groupId>
  253. <artifactId>aspectjweaver</artifactId>
  254. <version>${aspectjweaver.version}</version>
  255. </dependency>
  256. <!-- =========================== -->
  257. <!-- jsr303 validation dependencies-->
  258. <!--
  259. <dependency>
  260. <groupId>javax.validation</groupId>
  261. <artifactId>validation-api</artifactId>
  262. <version>${javax.validation.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.hibernate</groupId>
  266. <artifactId>hibernate-validator</artifactId>
  267. <version>${hibernate.validator.version}</version>
  268. </dependency>
  269. -->
  270. <dependency>
  271. <groupId>org.freemarker</groupId>
  272. <artifactId>freemarker-gae</artifactId>
  273. <version>${freemarker.version}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.freemarker</groupId>
  277. <artifactId>freemarker</artifactId>
  278. <version>${freemarker.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.apache.shiro</groupId>
  282. <artifactId>shiro-core</artifactId>
  283. <version>${shiro.version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.apache.shiro</groupId>
  287. <artifactId>shiro-web</artifactId>
  288. <version>${shiro.version}</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.apache.shiro</groupId>
  292. <artifactId>shiro-spring</artifactId>
  293. <version>${shiro.version}</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>commons-fileupload</groupId>
  297. <artifactId>commons-fileupload</artifactId>
  298. <version>${commons-fileupload.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.commons</groupId>
  302. <artifactId>commons-lang3</artifactId>
  303. <version>${commons-lang3.version}</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.apache.commons</groupId>
  307. <artifactId>commons-collections4</artifactId>
  308. <version>${commons-collections.version}</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>commons-codec</groupId>
  312. <artifactId>commons-codec</artifactId>
  313. <version>${commons-codec.version}</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>commons-io</groupId>
  317. <artifactId>commons-io</artifactId>
  318. <version>${commons-io.version}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>commons-beanutils</groupId>
  322. <artifactId>commons-beanutils</artifactId>
  323. <version>${commons-beanutils.version}</version>
  324. </dependency>
  325. <!-- <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId>
  326. <version>${persistence-api.version}</version> </dependency> -->
  327. <dependency>
  328. <groupId>org.eclipse.persistence</groupId>
  329. <artifactId>javax.persistence</artifactId>
  330. <version>${javax.persistence.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>net.sourceforge.jexcelapi</groupId>
  334. <artifactId>jxl</artifactId>
  335. <version>${jxl.version}</version>
  336. <exclusions>
  337. <exclusion>
  338. <artifactId>log4j</artifactId>
  339. <groupId>log4j</groupId>
  340. </exclusion>
  341. </exclusions>
  342. </dependency>
  343. <dependency>
  344. <groupId>com.alibaba</groupId>
  345. <artifactId>druid</artifactId>
  346. <version>${druid.version}</version>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.slf4j</groupId>
  350. <artifactId>slf4j-api</artifactId>
  351. <version>${slf4j-api.version}</version>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.fasterxml.jackson.core</groupId>
  355. <artifactId>jackson-core</artifactId>
  356. <version>${jackson.version}</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>com.fasterxml.jackson.core</groupId>
  360. <artifactId>jackson-databind</artifactId>
  361. <version>${jackson.version}</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>com.fasterxml.jackson.core</groupId>
  365. <artifactId>jackson-annotations</artifactId>
  366. <version>${jackson.version}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>mysql</groupId>
  370. <artifactId>mysql-connector-java</artifactId>
  371. <version>${mysql-connector-java.version}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>redis.clients</groupId>
  375. <artifactId>jedis</artifactId>
  376. <version>${jedis.version}</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>org.apache.commons</groupId>
  380. <artifactId>commons-pool2</artifactId>
  381. <version>${commons-pool.version}</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>org.springframework.data</groupId>
  385. <artifactId>spring-data-redis</artifactId>
  386. <version>${spring-data-redis.version}</version>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.slf4j</groupId>
  390. <artifactId>jcl-over-slf4j</artifactId>
  391. <version>${jcl-over-slf4j.version}</version>
  392. </dependency>
  393. <dependency>
  394. <groupId>ch.qos.logback</groupId>
  395. <artifactId>logback-core</artifactId>
  396. <version>${logback.version}</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>ch.qos.logback</groupId>
  400. <artifactId>logback-classic</artifactId>
  401. <version>${logback.version}</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>com.google.code.gson</groupId>
  405. <artifactId>gson</artifactId>
  406. <version>${gson.version}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>com.thoughtworks.xstream</groupId>
  410. <artifactId>xstream</artifactId>
  411. <version>${xstream.version}</version>
  412. </dependency>
  413. <!--
  414. <dependency>
  415. <groupId>com.ning</groupId>
  416. <artifactId>async-http-client</artifactId>
  417. <version>1.8.13</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>xpp3</groupId>
  421. <artifactId>xpp3</artifactId>
  422. <version>1.1.4c</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>com.thoughtworks.xstream</groupId>
  426. <artifactId>xstream</artifactId>
  427. <version>1.4.5</version>
  428. </dependency>
  429. -->
  430. <!-- lucene -->
  431. <dependency>
  432. <groupId>org.apache.lucene</groupId>
  433. <artifactId>lucene-core</artifactId>
  434. <version>${lucene.version}</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>org.apache.lucene</groupId>
  438. <artifactId>lucene-analyzers-common</artifactId>
  439. <version>${lucene.version}</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>org.apache.lucene</groupId>
  443. <artifactId>lucene-analyzers-smartcn</artifactId>
  444. <version>${lucene.version}</version>
  445. </dependency>
  446. <dependency>
  447. <groupId>org.apache.lucene</groupId>
  448. <artifactId>lucene-queryparser</artifactId>
  449. <version>${lucene.version}</version>
  450. </dependency>
  451. <dependency>
  452. <groupId>org.apache.lucene</groupId>
  453. <artifactId>lucene-backward-codecs</artifactId>
  454. <version>${lucene.version}</version>
  455. </dependency>
  456. <dependency>
  457. <groupId>joda-time</groupId>
  458. <artifactId>joda-time</artifactId>
  459. <version>${joda-time.version}</version>
  460. </dependency>
  461. <dependency>
  462. <groupId>org.apache.httpcomponents</groupId>
  463. <artifactId>httpclient</artifactId>
  464. <version>${httpclient.version}</version>
  465. </dependency>
  466. <dependency>
  467. <groupId>org.apache.httpcomponents</groupId>
  468. <artifactId>httpmime</artifactId>
  469. <version>${httpclient.version}</version>
  470. </dependency>
  471. <dependency>
  472. <groupId>org.apache.httpcomponents</groupId>
  473. <artifactId>httpcore</artifactId>
  474. <version>${httpcore.version}</version>
  475. </dependency>
  476. <dependency>
  477. <groupId>com.artofsolving</groupId>
  478. <artifactId>jodconverter</artifactId>
  479. <version>${jodconverter.version}</version>
  480. </dependency>
  481. <dependency>
  482. <!-- jsoup HTML parser library @ http://jsoup.org/ -->
  483. <groupId>org.jsoup</groupId>
  484. <artifactId>jsoup</artifactId>
  485. <version>${jsoup.version}</version>
  486. </dependency>
  487. <!--
  488. <dependency>
  489. <groupId>org.quartz-scheduler</groupId>
  490. <artifactId>quartz</artifactId>
  491. <version>${quartz.version}</version>
  492. </dependency>
  493. -->
  494. <dependency>
  495. <groupId>net.sf.json-lib</groupId>
  496. <artifactId>json-lib</artifactId>
  497. <version>2.4</version>
  498. <classifier>jdk15</classifier>
  499. </dependency>
  500. <!-- https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient -->
  501. <dependency>
  502. <groupId>commons-httpclient</groupId>
  503. <artifactId>commons-httpclient</artifactId>
  504. <version>3.1</version>
  505. </dependency>
  506. <!-- https://mvnrepository.com/artifact/bouncycastle/bcprov-jdk14 -->
  507. <dependency>
  508. <groupId>bouncycastle</groupId>
  509. <artifactId>bcprov-jdk14</artifactId>
  510. <version>136</version>
  511. </dependency>
  512. <dependency>
  513. <groupId>com.xiongyingqi</groupId>
  514. <artifactId>qrcode</artifactId>
  515. <version>0.1.10</version>
  516. </dependency>
  517. <dependency>
  518. <groupId>cn.jpush.api</groupId>
  519. <artifactId>jpush-client</artifactId>
  520. <version>3.2.6</version>
  521. </dependency>
  522. <dependency>
  523. <groupId>net.sourceforge.htmlunit</groupId>
  524. <artifactId>htmlunit</artifactId>
  525. <version>2.31</version>
  526. </dependency>
  527. <dependency>
  528. <groupId>xml-apis</groupId>
  529. <artifactId>xml-apis</artifactId>
  530. <version>1.4.01</version>
  531. </dependency>
  532. <dependency>
  533. <groupId>commons-logging</groupId>
  534. <artifactId>commons-logging</artifactId>
  535. <version>1.2</version>
  536. </dependency>
  537. <dependency>
  538. <groupId>commons-net</groupId>
  539. <artifactId>commons-net</artifactId>
  540. <version>3.6</version>
  541. </dependency>
  542. <dependency>
  543. <groupId>net.sourceforge.htmlunit</groupId>
  544. <artifactId>htmlunit-core-js</artifactId>
  545. <version>2.31</version>
  546. </dependency>
  547. <dependency>
  548. <groupId>net.sourceforge.htmlunit</groupId>
  549. <artifactId>htmlunit-cssparser</artifactId>
  550. <version>1.0.0</version>
  551. </dependency>
  552. <dependency>
  553. <groupId>net.sourceforge.htmlunit</groupId>
  554. <artifactId>neko-htmlunit</artifactId>
  555. <version>2.31</version>
  556. </dependency>
  557. <dependency>
  558. <groupId>org.apache.commons</groupId>
  559. <artifactId>commons-text</artifactId>
  560. <version>1.3</version>
  561. </dependency>
  562. <dependency>
  563. <groupId>org.apache.httpcomponents</groupId>
  564. <artifactId>httpmime</artifactId>
  565. <version>4.5.5</version>
  566. </dependency>
  567. <dependency>
  568. <groupId>org.eclipse.jetty.websocket</groupId>
  569. <artifactId>websocket-client</artifactId>
  570. <version>9.4.10.v20180503</version>
  571. </dependency>
  572. <dependency>
  573. <groupId>xalan</groupId>
  574. <artifactId>xalan</artifactId>
  575. <version>2.7.2</version>
  576. </dependency>
  577. <dependency>
  578. <groupId>xalan</groupId>
  579. <artifactId>xalan</artifactId>
  580. <version>2.7.2</version>
  581. </dependency>
  582. <dependency>
  583. <groupId>org.eclipse.jetty</groupId>
  584. <artifactId>jetty-client</artifactId>
  585. <version>9.4.10.v20180503</version>
  586. </dependency>
  587. <dependency>
  588. <groupId>org.eclipse.jetty</groupId>
  589. <artifactId>jetty-http</artifactId>
  590. <version>9.4.10.v20180503</version>
  591. </dependency>
  592. <dependency>
  593. <groupId>org.eclipse.jetty</groupId>
  594. <artifactId>jetty-io</artifactId>
  595. <version>9.4.10.v20180503</version>
  596. </dependency>
  597. <dependency>
  598. <groupId>org.eclipse.jetty</groupId>
  599. <artifactId>jetty-xml</artifactId>
  600. <version>9.4.10.v20180503</version>
  601. </dependency>
  602. <dependency>
  603. <groupId>org.eclipse.jetty.websocket</groupId>
  604. <artifactId>websocket-api</artifactId>
  605. <version>9.4.10.v20180503</version>
  606. </dependency>
  607. <dependency>
  608. <groupId>org.eclipse.jetty.websocket</groupId>
  609. <artifactId>websocket-common</artifactId>
  610. <version>9.4.10.v20180503</version>
  611. </dependency>
  612. <dependency>
  613. <groupId>xalan</groupId>
  614. <artifactId>serializer</artifactId>
  615. <version>2.7.2</version>
  616. </dependency>
  617. <dependency>
  618. <groupId>xerces</groupId>
  619. <artifactId>xercesImpl</artifactId>
  620. <version>2.11.0</version>
  621. </dependency>
  622. <!--支付宝-->
  623. <dependency>
  624. <groupId>com.alipay.sdk</groupId>
  625. <artifactId>alipay-sdk-java</artifactId>
  626. <version>3.0.52.ALL</version>
  627. </dependency>
  628. <!--阿里云-->
  629. <dependency>
  630. <groupId>com.aliyun</groupId>
  631. <artifactId>aliyun-java-sdk-core</artifactId>
  632. <version>3.7.1</version>
  633. </dependency>
  634. <dependency>
  635. <groupId>com.aliyun</groupId>
  636. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  637. <version>1.1.0</version>
  638. </dependency>
  639. <dependency>
  640. <groupId>javax.mail</groupId>
  641. <artifactId>mail</artifactId>
  642. <version>1.4.4</version>
  643. </dependency>
  644. </dependencies>
  645. <build>
  646. <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  647. <testSourceDirectory>${basedir}/src/main/java/test</testSourceDirectory>
  648. <outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory>
  649. <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
  650. <resources>
  651. <resource>
  652. <directory>${basedir}/src/main/resources</directory>
  653. <includes>
  654. <include>**/*.xml</include>
  655. <include>**/*.properties</include>
  656. </includes>
  657. </resource>
  658. <resource>
  659. <directory>${basedir}/src/main/java</directory>
  660. <includes>
  661. <include>**/*.xml</include>
  662. <include>**/*.properties</include>
  663. </includes>
  664. </resource>
  665. </resources>
  666. <testResources>
  667. <!--
  668. <testResource>
  669. <directory>${basedir}/src/test/resources</directory>
  670. <excludes>
  671. <exclude>**/*.java</exclude>
  672. <exclude>**/*.web.xml</exclude>
  673. </excludes>
  674. <filtering>true</filtering>
  675. </testResource>
  676. <testResource>
  677. <directory>${basedir}/src/test/java</directory>
  678. <includes>
  679. <include>**/*.xml</include>
  680. <include>**/*.properties</include>
  681. <include>**/*Test.java</include>
  682. <include>**/*TestCase.java</include>
  683. </includes>
  684. <excludes>
  685. <exclude>**/Test*.java</exclude>
  686. </excludes>
  687. </testResource>
  688. -->
  689. </testResources>
  690. <finalName>${finalName}</finalName>
  691. <pluginManagement>
  692. <plugins>
  693. <!-- =================== -->
  694. <!-- Java compile plugin -->
  695. <!-- =================== -->
  696. <plugin>
  697. <groupId>org.apache.maven.plugins</groupId>
  698. <artifactId>maven-war-plugin</artifactId>
  699. <!-- <artifactId>maven-compiler-plugin</artifactId> -->
  700. <version>${maven-compiler-plugin.version}</version>
  701. <configuration>
  702. <compilerVersion>1.7</compilerVersion>
  703. <source>1.7</source>
  704. <target>1.7</target>
  705. <encoding>utf-8</encoding>
  706. <compilerArguments>
  707. <extdirs>src/main/webapp/WEB-INF/lib</extdirs>
  708. </compilerArguments>
  709. </configuration>
  710. </plugin>
  711. <!-- ================== -->
  712. <!-- Java Source plugin -->
  713. <!-- ================== -->
  714. <plugin>
  715. <artifactId>maven-source-plugin</artifactId>
  716. <version>${maven-source-plugin.version}</version>
  717. <configuration>
  718. <attach>true</attach>
  719. </configuration>
  720. <executions>
  721. <execution>
  722. <phase>compile</phase>
  723. <goals>
  724. <goal>jar</goal>
  725. </goals>
  726. </execution>
  727. </executions>
  728. </plugin>
  729. <!-- ============== -->
  730. <!-- Javadoc plugin -->
  731. <!-- ============== -->
  732. <plugin>
  733. <artifactId>maven-javadoc-plugin</artifactId>
  734. <version>${maven-javadoc-plugin.version}</version>
  735. <configuration>
  736. <docencoding>${project.build.sourceEncoding}</docencoding>
  737. </configuration>
  738. <executions>
  739. <execution>
  740. <id>javadoc-jar</id>
  741. <phase>package</phase>
  742. <goals>
  743. <goal>jar</goal>
  744. </goals>
  745. </execution>
  746. </executions>
  747. </plugin>
  748. <!-- ============== -->
  749. <!-- jar plugin -->
  750. <!-- ============== -->
  751. <plugin>
  752. <artifactId>maven-jar-plugin</artifactId>
  753. <version>${maven-jar-plugin.version}</version>
  754. <configuration>
  755. <archive>
  756. <index>true</index>
  757. <manifest>
  758. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  759. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  760. </manifest>
  761. <manifestEntries>
  762. <Build-Version>${project.version}-${maven.build.timestamp}</Build-Version>
  763. </manifestEntries>
  764. </archive>
  765. </configuration>
  766. </plugin>
  767. <!-- ============== -->
  768. <!-- war plugin -->
  769. <!-- ============== -->
  770. <plugin>
  771. <artifactId>maven-war-plugin</artifactId>
  772. <version>${maven-war-plugin.version}</version>
  773. <configuration>
  774. <warName>yingpu</warName>
  775. <archive>
  776. <index>true</index>
  777. <manifest>
  778. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  779. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  780. </manifest>
  781. <manifestEntries>
  782. <Build-Version>${project.version}-${maven.build.timestamp}</Build-Version>
  783. </manifestEntries>
  784. </archive>
  785. </configuration>
  786. </plugin>
  787. <!-- =================== -->
  788. <!-- Java resource plugin -->
  789. <!-- =================== -->
  790. <plugin>
  791. <artifactId>maven-resources-plugin</artifactId>
  792. <version>${maven-resources-plugin.version}</version>
  793. </plugin>
  794. </plugins>
  795. </pluginManagement>
  796. <plugins>
  797. <plugin>
  798. <groupId>org.apache.maven.plugins</groupId>
  799. <artifactId>maven-compiler-plugin</artifactId>
  800. <configuration>
  801. <source>1.7</source>
  802. <target>1.7</target>
  803. </configuration>
  804. </plugin>
  805. <!--
  806. <plugin>
  807. <groupId>org.apache.maven.plugins</groupId>
  808. <artifactId>maven-surefire-plugin</artifactId>
  809. </plugin>
  810. -->
  811. <plugin>
  812. <artifactId>maven-jar-plugin</artifactId>
  813. </plugin>
  814. <plugin>
  815. <artifactId>maven-war-plugin</artifactId>
  816. </plugin>
  817. </plugins>
  818. </build>
  819. </project>