pom.xml 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  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.caimei</groupId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <artifactId>caimei-manager</artifactId>
  8. <packaging>war</packaging>
  9. <name>caimei-manager</name>
  10. <url>http://www.caimei365.com</url>
  11. <inceptionYear>2016</inceptionYear>
  12. <!-- 项目属性 -->
  13. <properties>
  14. <!-- main version setting -->
  15. <spring.version>4.2.5.RELEASE</spring.version>
  16. <validator.version>5.1.1.Final</validator.version>
  17. <mybatis.version>3.2.8</mybatis.version>
  18. <mybatis-spring.version>1.2.2</mybatis-spring.version>
  19. <druid.version>1.1.23</druid.version>
  20. <ehcache.version>2.6.9</ehcache.version>
  21. <ehcache-web.version>2.0.4</ehcache-web.version>
  22. <shiro.version>1.7.0</shiro.version>
  23. <sitemesh.version>2.4.2</sitemesh.version>
  24. <activiti.version>5.15.1</activiti.version>
  25. <!-- tools version setting -->
  26. <slf4j.version>1.7.19</slf4j.version>
  27. <commons-lang3.version>3.3.2</commons-lang3.version>
  28. <commons-io.version>2.4</commons-io.version>
  29. <commons-codec.version>1.9</commons-codec.version>
  30. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  31. <commons-beanutils.version>1.9.1</commons-beanutils.version>
  32. <jackson.version>2.2.3</jackson.version>
  33. <fastjson.version>1.1.40</fastjson.version>
  34. <xstream.version>1.4.7</xstream.version>
  35. <guava.version>17.0</guava.version>
  36. <dozer.version>5.5.1</dozer.version>
  37. <!-- <poi.version>3.9</poi.version>-->
  38. <freemarker.version>2.3.20</freemarker.version>
  39. <!-- jdbc driver setting -->
  40. <mysql.driver.version>8.0.18</mysql.driver.version>
  41. <!-- environment setting -->
  42. <jdk.version>1.8</jdk.version>
  43. <tomcat.version>2.2</tomcat.version>
  44. <jetty.version>7.6.14.v20131031</jetty.version>
  45. <webserver.port>8081</webserver.port>
  46. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  47. <downloadSources>true</downloadSources>
  48. <!-- 设定编译部署的目标环境 -->
  49. <env.type>dev</env.type>
  50. </properties>
  51. <profiles>
  52. <!-- 开发环境 -->
  53. <profile>
  54. <id>dev</id>
  55. <properties>
  56. <env.type>dev</env.type>
  57. </properties>
  58. </profile>
  59. <!-- 开发测试环境 -->
  60. <profile>
  61. <id>alpha</id>
  62. <properties>
  63. <env.type>alpha</env.type>
  64. </properties>
  65. </profile>
  66. <!-- 测试环境 -->
  67. <profile>
  68. <id>beta</id>
  69. <properties>
  70. <env.type>beta</env.type>
  71. </properties>
  72. </profile>
  73. <!-- 生产正式环境 -->
  74. <profile>
  75. <id>prod</id>
  76. <properties>
  77. <env.type>prod</env.type>
  78. </properties>
  79. </profile>
  80. </profiles>
  81. <!-- 设定插件仓库 -->
  82. <pluginRepositories>
  83. <!-- 如有Nexus私服, 取消注释并指向正确的服务器地址. -->
  84. <!-- <pluginRepository>
  85. <id>nexus-repos</id>
  86. <name>Team Nexus Repository</name>
  87. <url>http://192.168.11.36:8888/nexus/content/groups/public</url>
  88. </pluginRepository> -->
  89. <pluginRepository>
  90. <id>oschina-repos</id>
  91. <name>Oschina Releases</name>
  92. <url>http://maven.oschina.net/content/groups/public</url>
  93. </pluginRepository>
  94. </pluginRepositories>
  95. <!-- 依赖项定义 -->
  96. <dependencies>
  97. <dependency>
  98. <groupId>commons-httpclient</groupId>
  99. <artifactId>commons-httpclient</artifactId>
  100. <version>3.1</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.squareup.okhttp3</groupId>
  104. <artifactId>okhttp</artifactId>
  105. <version>3.8.1</version>
  106. </dependency>
  107. <!-- SPRING begin -->
  108. <dependency>
  109. <groupId>org.springframework</groupId>
  110. <artifactId>spring-core</artifactId>
  111. <version>${spring.version}</version>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>commons-logging</groupId>
  115. <artifactId>commons-logging</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-beans</artifactId>
  122. <version>${spring.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework</groupId>
  126. <artifactId>spring-context</artifactId>
  127. <version>${spring.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-context-support</artifactId>
  132. <version>${spring.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework</groupId>
  136. <artifactId>spring-aop</artifactId>
  137. <version>${spring.version}</version>
  138. <exclusions>
  139. <exclusion>
  140. <groupId>commons-logging</groupId>
  141. <artifactId>commons-logging</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-tx</artifactId>
  148. <version>${spring.version}</version>
  149. </dependency>
  150. <!-- spring orm -->
  151. <dependency>
  152. <groupId>org.springframework</groupId>
  153. <artifactId>spring-orm</artifactId>
  154. <version>${spring.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springframework</groupId>
  158. <artifactId>spring-jdbc</artifactId>
  159. <version>${spring.version}</version>
  160. </dependency>
  161. <!-- bean validate -->
  162. <dependency>
  163. <groupId>org.hibernate</groupId>
  164. <artifactId>hibernate-validator</artifactId>
  165. <version>${validator.version}</version>
  166. </dependency>
  167. <!-- SPRING end -->
  168. <!-- AOP begin -->
  169. <dependency>
  170. <groupId>org.aspectj</groupId>
  171. <artifactId>aspectjrt</artifactId>
  172. <version>1.7.4</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.aspectj</groupId>
  176. <artifactId>aspectjweaver</artifactId>
  177. <version>1.7.4</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>cglib</groupId>
  181. <artifactId>cglib</artifactId>
  182. <version>3.1</version>
  183. </dependency>
  184. <!-- AOP end -->
  185. <!-- PERSISTENCE begin -->
  186. <!-- MyBatis -->
  187. <dependency>
  188. <groupId>org.mybatis</groupId>
  189. <artifactId>mybatis</artifactId>
  190. <version>${mybatis.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.mybatis</groupId>
  194. <artifactId>mybatis-spring</artifactId>
  195. <version>${mybatis-spring.version}</version>
  196. </dependency>
  197. <!-- connection pool -->
  198. <dependency>
  199. <groupId>com.alibaba</groupId>
  200. <artifactId>druid</artifactId>
  201. <version>${druid.version}</version>
  202. </dependency>
  203. <!-- jdbc driver -->
  204. <dependency>
  205. <groupId>mysql</groupId>
  206. <artifactId>mysql-connector-java</artifactId>
  207. <version>${mysql.driver.version}</version>
  208. <scope>runtime</scope>
  209. </dependency>
  210. <!-- PERSISTENCE end -->
  211. <!-- WEB begin -->
  212. <dependency>
  213. <groupId>org.springframework</groupId>
  214. <artifactId>spring-web</artifactId>
  215. <version>${spring.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.springframework</groupId>
  219. <artifactId>spring-webmvc</artifactId>
  220. <version>${spring.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.springframework</groupId>
  224. <artifactId>spring-oxm</artifactId>
  225. <version>${spring.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>opensymphony</groupId>
  229. <artifactId>sitemesh</artifactId>
  230. <version>${sitemesh.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>taglibs</groupId>
  234. <artifactId>standard</artifactId>
  235. <version>1.1.2</version>
  236. <type>jar</type>
  237. </dependency>
  238. <dependency>
  239. <groupId>javax.servlet</groupId>
  240. <artifactId>jstl</artifactId>
  241. <version>1.2</version>
  242. <type>jar</type>
  243. </dependency>
  244. <dependency>
  245. <groupId>javax.servlet</groupId>
  246. <artifactId>javax.servlet-api</artifactId>
  247. <version>3.1.0</version>
  248. <scope>provided</scope>
  249. </dependency>
  250. <dependency>
  251. <groupId>javax.servlet.jsp</groupId>
  252. <artifactId>jsp-api</artifactId>
  253. <version>2.1</version>
  254. <scope>provided</scope>
  255. </dependency>
  256. <!-- CACHE begin -->
  257. <dependency>
  258. <groupId>net.sf.ehcache</groupId>
  259. <artifactId>ehcache-core</artifactId>
  260. <version>${ehcache.version}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>net.sf.ehcache</groupId>
  264. <artifactId>ehcache-web</artifactId>
  265. <version>${ehcache-web.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>redis.clients</groupId>
  269. <artifactId>jedis</artifactId>
  270. <version>2.8.1</version>
  271. </dependency>
  272. <!-- CACHE end -->
  273. <!-- SECURITY begin -->
  274. <dependency>
  275. <groupId>org.apache.shiro</groupId>
  276. <artifactId>shiro-core</artifactId>
  277. <version>${shiro.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.shiro</groupId>
  281. <artifactId>shiro-spring</artifactId>
  282. <version>${shiro.version}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.shiro</groupId>
  286. <artifactId>shiro-cas</artifactId>
  287. <version>${shiro.version}</version>
  288. <exclusions>
  289. <exclusion>
  290. <groupId>commons-logging</groupId>
  291. <artifactId>commons-logging</artifactId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.apache.shiro</groupId>
  297. <artifactId>shiro-web</artifactId>
  298. <version>${shiro.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.shiro</groupId>
  302. <artifactId>shiro-ehcache</artifactId>
  303. <version>${shiro.version}</version>
  304. </dependency>
  305. <!-- SECURITY end -->
  306. <dependency>
  307. <groupId>com.jcraft</groupId>
  308. <artifactId>jsch</artifactId>
  309. <version>0.1.55</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.samba.jcifs</groupId>
  313. <artifactId>jcifs</artifactId>
  314. <version>1.2.6</version>
  315. </dependency>
  316. <!-- Activiti -->
  317. <dependency>
  318. <groupId>org.activiti</groupId>
  319. <artifactId>activiti-engine</artifactId>
  320. <version>${activiti.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.activiti</groupId>
  324. <artifactId>activiti-spring</artifactId>
  325. <version>${activiti.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.activiti</groupId>
  329. <artifactId>activiti-explorer</artifactId>
  330. <version>${activiti.version}</version>
  331. <exclusions>
  332. <exclusion>
  333. <artifactId>vaadin</artifactId>
  334. <groupId>com.vaadin</groupId>
  335. </exclusion>
  336. <exclusion>
  337. <artifactId>dcharts-widget</artifactId>
  338. <groupId>org.vaadin.addons</groupId>
  339. </exclusion>
  340. <exclusion>
  341. <artifactId>activiti-simple-workflow</artifactId>
  342. <groupId>org.activiti</groupId>
  343. </exclusion>
  344. </exclusions>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.activiti</groupId>
  348. <artifactId>activiti-modeler</artifactId>
  349. <version>${activiti.version}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>org.activiti</groupId>
  353. <artifactId>activiti-diagram-rest</artifactId>
  354. <version>${activiti.version}</version>
  355. </dependency>
  356. <!-- 支持activiti缓存 -->
  357. <!-- <dependency>
  358. <groupId>org.infinispan</groupId>
  359. <artifactId>infinispan-core</artifactId>
  360. <version>5.1.7.Final</version>
  361. </dependency> -->
  362. <!-- https://mvnrepository.com/artifact/org.exoplatform.jcr/exo.jcr.framework.ftpclient -->
  363. <!-- LOGGING begin -->
  364. <dependency>
  365. <groupId>org.slf4j</groupId>
  366. <artifactId>slf4j-api</artifactId>
  367. <version>${slf4j.version}</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>org.slf4j</groupId>
  371. <artifactId>slf4j-log4j12</artifactId>
  372. <version>${slf4j.version}</version>
  373. </dependency>
  374. <!-- common-logging 实际调用slf4j -->
  375. <dependency>
  376. <groupId>org.slf4j</groupId>
  377. <artifactId>jcl-over-slf4j</artifactId>
  378. <version>${slf4j.version}</version>
  379. </dependency>
  380. <!-- java.util.logging 实际调用slf4j -->
  381. <dependency>
  382. <groupId>org.slf4j</groupId>
  383. <artifactId>jul-to-slf4j</artifactId>
  384. <version>${slf4j.version}</version>
  385. </dependency>
  386. <!-- LOGGING end -->
  387. <!-- GENERAL UTILS begin -->
  388. <dependency>
  389. <groupId>org.apache.commons</groupId>
  390. <artifactId>commons-lang3</artifactId>
  391. <version>${commons-lang3.version}</version>
  392. </dependency>
  393. <dependency>
  394. <groupId>commons-io</groupId>
  395. <artifactId>commons-io</artifactId>
  396. <version>${commons-io.version}</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>commons-codec</groupId>
  400. <artifactId>commons-codec</artifactId>
  401. <version>${commons-codec.version}</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>commons-fileupload</groupId>
  405. <artifactId>commons-fileupload</artifactId>
  406. <version>${commons-fileupload.version}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>commons-beanutils</groupId>
  410. <artifactId>commons-beanutils</artifactId>
  411. <version>${commons-beanutils.version}</version>
  412. <exclusions>
  413. <exclusion>
  414. <groupId>commons-logging</groupId>
  415. <artifactId>commons-logging</artifactId>
  416. </exclusion>
  417. </exclusions>
  418. </dependency>
  419. <!-- google java lib -->
  420. <dependency>
  421. <groupId>com.google.guava</groupId>
  422. <artifactId>guava</artifactId>
  423. <version>${guava.version}</version>
  424. </dependency>
  425. <!-- jackson json -->
  426. <dependency>
  427. <groupId>com.fasterxml.jackson.core</groupId>
  428. <artifactId>jackson-core</artifactId>
  429. <version>${jackson.version}</version>
  430. </dependency>
  431. <dependency>
  432. <groupId>com.fasterxml.jackson.core</groupId>
  433. <artifactId>jackson-databind</artifactId>
  434. <version>${jackson.version}</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>com.fasterxml.jackson.core</groupId>
  438. <artifactId>jackson-annotations</artifactId>
  439. <version>${jackson.version}</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>com.fasterxml.jackson.module</groupId>
  443. <artifactId>jackson-module-jaxb-annotations</artifactId>
  444. <version>${jackson.version}</version>
  445. </dependency>
  446. <!-- xstream xml -->
  447. <dependency>
  448. <groupId>com.thoughtworks.xstream</groupId>
  449. <artifactId>xstream</artifactId>
  450. <version>${xstream.version}</version>
  451. </dependency>
  452. <!-- pojo copy -->
  453. <dependency>
  454. <groupId>net.sf.dozer</groupId>
  455. <artifactId>dozer</artifactId>
  456. <version>${dozer.version}</version>
  457. </dependency>
  458. <!-- freemarker engine -->
  459. <dependency>
  460. <groupId>org.freemarker</groupId>
  461. <artifactId>freemarker</artifactId>
  462. <version>${freemarker.version}</version>
  463. </dependency>
  464. <!-- email -->
  465. <dependency>
  466. <groupId>javax.mail</groupId>
  467. <artifactId>mail</artifactId>
  468. <version>1.4.7</version>
  469. </dependency>
  470. <dependency>
  471. <groupId>javax.activation</groupId>
  472. <artifactId>activation</artifactId>
  473. <version>1.1.1</version>
  474. </dependency>
  475. <!-- poi office -->
  476. <!--<dependency>
  477. <groupId>org.apache.poi</groupId>
  478. <artifactId>poi</artifactId>
  479. <version>${poi.version}</version>
  480. </dependency>
  481. <dependency>
  482. <groupId>org.apache.poi</groupId>
  483. <artifactId>poi-ooxml</artifactId>
  484. <version>${poi.version}</version>
  485. </dependency>
  486. <dependency>
  487. <groupId>org.apache.poi</groupId>
  488. <artifactId>poi-ooxml-schemas</artifactId>
  489. <version>${poi.version}</version>
  490. </dependency>-->
  491. <!-- image util -->
  492. <dependency>
  493. <groupId>com.drewnoakes</groupId>
  494. <artifactId>metadata-extractor</artifactId>
  495. <version>2.6.2</version>
  496. </dependency>
  497. <!-- 条形码、二维码生成 -->
  498. <dependency>
  499. <groupId>com.google.zxing</groupId>
  500. <artifactId>core</artifactId>
  501. <version>2.2</version>
  502. </dependency>
  503. <dependency>
  504. <groupId>com.google.zxing</groupId>
  505. <artifactId>javase</artifactId>
  506. <version>2.2</version>
  507. </dependency>
  508. <!-- 中文分词 -->
  509. <!-- <dependency>-->
  510. <!-- <groupId>org.wltea</groupId>-->
  511. <!-- <artifactId>analyzer</artifactId>-->
  512. <!-- <version>2012_u6</version>-->
  513. <!-- </dependency>-->
  514. <!-- GENERAL UTILS end -->
  515. <!-- CKFinder begin -->
  516. <dependency>
  517. <groupId>net.coobird</groupId>
  518. <artifactId>thumbnailator</artifactId>
  519. <version>0.4.2</version>
  520. </dependency>
  521. <dependency>
  522. <groupId>com.ckfinder</groupId>
  523. <artifactId>apache-ant-zip</artifactId>
  524. <version>2.3</version>
  525. </dependency>
  526. <dependency>
  527. <groupId>com.ckfinder</groupId>
  528. <artifactId>ckfinder</artifactId>
  529. <version>2.3</version>
  530. </dependency>
  531. <dependency>
  532. <groupId>com.ckfinder</groupId>
  533. <artifactId>ckfinderplugin-fileeditor</artifactId>
  534. <version>2.3</version>
  535. </dependency>
  536. <dependency>
  537. <groupId>com.ckfinder</groupId>
  538. <artifactId>ckfinderplugin-imageresize</artifactId>
  539. <version>2.3</version>
  540. </dependency>
  541. <!-- CKFinder end -->
  542. <!-- TEST begin -->
  543. <dependency>
  544. <groupId>junit</groupId>
  545. <artifactId>junit</artifactId>
  546. <version>4.11</version>
  547. </dependency>
  548. <dependency>
  549. <groupId>org.springframework</groupId>
  550. <artifactId>spring-test</artifactId>
  551. <version>${spring.version}</version>
  552. </dependency>
  553. <!-- TEST end -->
  554. <!-- User Agent -->
  555. <dependency>
  556. <groupId>bitwalker</groupId>
  557. <artifactId>UserAgentUtils</artifactId>
  558. <version>1.13</version>
  559. </dependency>
  560. <!-- jsoup 对 HTML 文档进行解析和操作 -->
  561. <dependency>
  562. <groupId>org.jsoup</groupId>
  563. <artifactId>jsoup</artifactId>
  564. <version>1.9.2</version>
  565. </dependency>
  566. <!-- 自定义jar依赖包 -->
  567. <dependency>
  568. <groupId>com.caimei</groupId>
  569. <artifactId>caimei-common</artifactId>
  570. <version>0.0.1-SNAPSHOT</version>
  571. </dependency>
  572. <dependency>
  573. <groupId>caimei</groupId>
  574. <artifactId>smsClient</artifactId>
  575. <version>1.0</version>
  576. </dependency>
  577. <!-- jxls begin -->
  578. <dependency>
  579. <groupId>net.sf.jxls</groupId>
  580. <artifactId>jxls-core</artifactId>
  581. <version>1.0.6</version>
  582. </dependency>
  583. <dependency>
  584. <groupId>net.sf.jxls</groupId>
  585. <artifactId>jxls-reader</artifactId>
  586. <version>1.0.6</version>
  587. </dependency>
  588. <dependency>
  589. <groupId>net.sf.json-lib</groupId>
  590. <artifactId>json-lib</artifactId>
  591. <version>2.4</version>
  592. <classifier>jdk15</classifier>
  593. </dependency>
  594. <!-- jxls end -->
  595. <dependency>
  596. <groupId>com.caimei</groupId>
  597. <artifactId>caimei-dfs-sdk</artifactId>
  598. <version>0.0.1-SNAPSHOT</version>
  599. </dependency>
  600. <dependency>
  601. <groupId>com.martian</groupId>
  602. <artifactId>martian-core-guard</artifactId>
  603. <version>0.0.1-SNAPSHOT</version>
  604. </dependency>
  605. <dependency>
  606. <groupId>com.caimei</groupId>
  607. <artifactId>caimei-common</artifactId>
  608. <version>0.0.1-SNAPSHOT</version>
  609. </dependency>
  610. <!--易宝支付sdk-->
  611. <dependency>
  612. <groupId>com.yeepay</groupId>
  613. <artifactId>yop-java-sdk</artifactId>
  614. <version>2.2.7</version>
  615. <classifier>jdk18</classifier>
  616. </dependency>
  617. <!--对象存储oss-->
  618. <dependency>
  619. <groupId>com.aliyun.oss</groupId>
  620. <artifactId>aliyun-sdk-oss</artifactId>
  621. <version>3.10.2</version>
  622. </dependency>
  623. <dependency>
  624. <groupId>org.apache.poi</groupId>
  625. <artifactId>poi</artifactId>
  626. <version>3.16</version>
  627. </dependency>
  628. <!--2007 docx文件读取,需要导入poi-ooxml-->
  629. <dependency>
  630. <groupId>org.apache.poi</groupId>
  631. <artifactId>poi-ooxml</artifactId>
  632. <version>3.16</version>
  633. </dependency>
  634. <!--2003 doc文件的读取,需要导入poi-scratchpad-->
  635. <dependency>
  636. <groupId>org.apache.poi</groupId>
  637. <artifactId>poi-scratchpad</artifactId>
  638. <version>3.8</version>
  639. </dependency>
  640. <dependency>
  641. <groupId>org.apache.poi</groupId>
  642. <artifactId>poi-ooxml-schemas</artifactId>
  643. <version>3.16</version>
  644. </dependency>
  645. <!--<dependency>
  646. <groupId>org.apache.poi</groupId>
  647. <artifactId>ooxml-schemas</artifactId>
  648. <version>1.0</version>
  649. <exclusions>
  650. &lt;!&ndash;解决含嵌入文件ppt转换报错 ArrayStoreException&ndash;&gt;
  651. <exclusion>
  652. <artifactId>xmlbeans</artifactId>
  653. <groupId>org.apache.xmlbeans</groupId>
  654. </exclusion>
  655. </exclusions>
  656. </dependency>-->
  657. <dependency>
  658. <groupId>com.itextpdf</groupId>
  659. <artifactId>itext-asian</artifactId>
  660. <version>5.2.0</version>
  661. </dependency>
  662. <dependency>
  663. <groupId>org.apache.pdfbox</groupId>
  664. <artifactId>pdfbox</artifactId>
  665. <version>2.0.16</version>
  666. </dependency>
  667. <dependency>
  668. <groupId>com.itextpdf</groupId>
  669. <artifactId>itextpdf</artifactId>
  670. <version>5.3.2</version>
  671. </dependency>
  672. <dependency>
  673. <groupId>org.bouncycastle</groupId>
  674. <artifactId>bcprov-jdk15on</artifactId>
  675. <version>1.47</version>
  676. </dependency>
  677. <dependency>
  678. <groupId>org.bouncycastle</groupId>
  679. <artifactId>bcmail-jdk15on</artifactId>
  680. <version>1.47</version>
  681. </dependency>
  682. <!--twelvemonkeys图片处理-->
  683. <dependency>
  684. <groupId>com.twelvemonkeys.imageio</groupId>
  685. <artifactId>imageio-jpeg</artifactId>
  686. <version>3.6</version>
  687. </dependency>
  688. <dependency>
  689. <groupId>com.twelvemonkeys.imageio</groupId>
  690. <artifactId>imageio-tiff</artifactId>
  691. <version>3.6</version>
  692. </dependency>
  693. <!--spring AOP的包-->
  694. <dependency>
  695. <groupId>org.springframework</groupId>
  696. <artifactId>spring-aspects</artifactId>
  697. <version>4.3.7.RELEASE</version>
  698. </dependency>
  699. <dependency>
  700. <groupId>org.springframework</groupId>
  701. <artifactId>spring-aop</artifactId>
  702. <version>4.3.7.RELEASE</version>
  703. </dependency>
  704. <!--
  705. Optional dependency. Needed only if you deploy `ImageIO` plugins as part of a web app.
  706. Make sure you add the `IIOProviderContextListener` to your `web.xml`, see above.
  707. -->
  708. <dependency>
  709. <groupId>com.twelvemonkeys.servlet</groupId>
  710. <artifactId>servlet</artifactId>
  711. <version>3.6</version>
  712. </dependency>
  713. </dependencies>
  714. <build>
  715. <finalName>manager</finalName>
  716. <!-- 设定资源文件的存放地址,根据不同的环境设置不同的目录 -->
  717. <resources>
  718. <resource>
  719. <directory>src/main/resources/</directory>
  720. <targetPath>${project.build.outputDirectory}/</targetPath>
  721. <excludes>
  722. <exclude>config/**</exclude>
  723. </excludes>
  724. <filtering>true</filtering>
  725. </resource>
  726. <resource>
  727. <directory>src/main/resources/config/${env.type}/</directory>
  728. <targetPath>${project.build.outputDirectory}/</targetPath>
  729. <filtering>true</filtering>
  730. </resource>
  731. </resources>
  732. <plugins>
  733. <!-- Compiler 插件, 设定JDK版本 -->
  734. <plugin>
  735. <groupId>org.apache.maven.plugins</groupId>
  736. <artifactId>maven-compiler-plugin</artifactId>
  737. <version>3.3</version>
  738. <configuration>
  739. <source>${jdk.version}</source>
  740. <target>${jdk.version}</target>
  741. <showWarnings>true</showWarnings>
  742. </configuration>
  743. </plugin>
  744. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  745. <plugin>
  746. <groupId>org.apache.maven.plugins</groupId>
  747. <artifactId>maven-jar-plugin</artifactId>
  748. <version>2.4</version>
  749. <!-- <executions>
  750. <execution>
  751. <phase>prepare-package</phase>
  752. <goals>
  753. <goal>jar</goal>
  754. </goals>
  755. <configuration>
  756. <classesDirectory>${project.outputDirectory}</classesDirectory>
  757. <finalName>jeesite</finalName>
  758. <outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
  759. <includes>
  760. <include>com/thinkgem/jeesite/**</include>
  761. </includes>
  762. </configuration>
  763. </execution>
  764. </executions> -->
  765. </plugin>
  766. <!-- 混淆代码
  767. <plugin>
  768. <groupId>com.github.wvengen</groupId>
  769. <artifactId>proguard-maven-plugin</artifactId>
  770. <version>2.0.6</version>
  771. <executions>
  772. <execution>
  773. <phase>prepare-package</phase>
  774. <goals>
  775. <goal>proguard</goal>
  776. </goals>
  777. </execution>
  778. </executions>
  779. <configuration>
  780. <obfuscate>true</obfuscate>
  781. <options>
  782. <option>-injars ${project.build.directory}/${project.artifactId}/WEB-INF/lib/jeesite.jar</option>
  783. </options>
  784. <outjar>${project.artifactId}/WEB-INF/lib/jeesite_out.jar</outjar>
  785. <outputDirectory>${project.build.directory}</outputDirectory>
  786. <proguardInclude>${basedir}/proguard.cfg</proguardInclude>
  787. <source>${jdk.version}</source>
  788. <target>${jdk.version}</target>
  789. <encoding>${project.build.sourceEncoding}</encoding>
  790. <libs>
  791. <lib>${java.home}/lib/rt.jar</lib>
  792. <lib>${java.home}/lib/jsse.jar</lib>
  793. <lib>${java.home}/lib/jce.jar</lib>
  794. </libs>
  795. <addMavenDescriptor>false</addMavenDescriptor>
  796. </configuration>
  797. <dependencies>
  798. <dependency>
  799. <groupId>net.sf.proguard</groupId>
  800. <artifactId>proguard-base</artifactId>
  801. <version>4.9</version>
  802. <scope>runtime</scope>
  803. </dependency>
  804. </dependencies>
  805. </plugin> -->
  806. <plugin>
  807. <groupId>org.apache.maven.plugins</groupId>
  808. <artifactId>maven-surefire-plugin</artifactId>
  809. <version>2.18.1</version>
  810. <configuration>
  811. <skipTests>true</skipTests>
  812. </configuration>
  813. </plugin>
  814. <!-- war 打包插件, 设定war包名称不带版本号 -->
  815. <!--<plugin>
  816. <groupId>org.apache.maven.plugins</groupId>
  817. <artifactId>maven-war-plugin</artifactId>
  818. <version>2.4</version>
  819. <configuration>
  820. <packagingExcludes>
  821. &lt;!&ndash; WEB-INF/classes/com/thinkgem/jeesite/** &ndash;&gt;
  822. WEB-INF/classes/org/apache/ibatis/**,
  823. WEB-INF/classes/org/mybatis/spring/**
  824. </packagingExcludes>
  825. <warSourceExcludes>
  826. static/bootstrap/2.3.1/docs/**,
  827. static/ckeditor/_samples/**,
  828. static/ckeditor/_source/**,
  829. static/ckfinder/_samples/**,
  830. static/ckfinder/help/**,
  831. static/compressor*/**,
  832. static/jquery-jbox/2.3/docs/**,
  833. static/jquery-jbox/2.3/Skins2/**,
  834. static/jquery-validation/1.11.0/demo/**,
  835. static/jquery-ztree/3.5.12/demo/**,
  836. static/My97DatePicker/docs/**,
  837. static/supcan/doc/**,
  838. static/SuperSlide/demo/**,
  839. static/treeTable/demo/**&lt;!&ndash; , &ndash;&gt;
  840. &lt;!&ndash; userfiles/** &ndash;&gt;&lt;!&ndash; ,/**/*.jsp &ndash;&gt;,
  841. test/**
  842. </warSourceExcludes>
  843. </configuration>
  844. </plugin>-->
  845. <!-- Eclipse 插件 -->
  846. <plugin>
  847. <groupId>org.apache.maven.plugins</groupId>
  848. <artifactId>maven-eclipse-plugin</artifactId>
  849. <version>2.9</version>
  850. <configuration>
  851. <downloadSources>${downloadSources}</downloadSources>
  852. <downloadJavadocs>false</downloadJavadocs>
  853. <wtpversion>2.0</wtpversion>
  854. <jeeversion>5.0</jeeversion>
  855. <!-- <jeeversion>6.0</jeeversion> -->
  856. <additionalConfig>
  857. <file>
  858. <name>.settings/org.eclipse.core.resources.prefs</name>
  859. <content>
  860. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
  861. </content>
  862. </file>
  863. </additionalConfig>
  864. <additionalProjectnatures>
  865. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  866. </additionalProjectnatures>
  867. </configuration>
  868. </plugin>
  869. <!-- tomcat6插件 -->
  870. <plugin>
  871. <groupId>org.apache.tomcat.maven</groupId>
  872. <artifactId>tomcat6-maven-plugin</artifactId>
  873. <version>${tomcat.version}</version>
  874. <configuration>
  875. <port>${webserver.port}</port>
  876. <path>/</path>
  877. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  878. </configuration>
  879. </plugin>
  880. <!-- tomcat7插件 -->
  881. <plugin>
  882. <groupId>org.apache.tomcat.maven</groupId>
  883. <artifactId>tomcat7-maven-plugin</artifactId>
  884. <version>${tomcat.version}</version>
  885. <configuration>
  886. <port>${webserver.port}</port>
  887. <path>/</path>
  888. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  889. </configuration>
  890. </plugin>
  891. <!-- jetty插件 -->
  892. <plugin>
  893. <groupId>org.mortbay.jetty</groupId>
  894. <artifactId>jetty-maven-plugin</artifactId>
  895. <version>${jetty.version}</version>
  896. <configuration>
  897. <stopKey>exit</stopKey>
  898. <stopPort>9090</stopPort>
  899. <connectors>
  900. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  901. <port>${webserver.port}</port>
  902. </connector>
  903. </connectors>
  904. <webAppConfig>
  905. <contextPath>/</contextPath>
  906. </webAppConfig>
  907. <systemProperties>
  908. <systemProperty>
  909. <name>org.mortbay.util.URI.charset</name>
  910. <value>${project.build.sourceEncoding}</value>
  911. </systemProperty>
  912. </systemProperties>
  913. </configuration>
  914. </plugin>
  915. <!-- resource插件 -->
  916. <plugin>
  917. <groupId>org.apache.maven.plugins</groupId>
  918. <artifactId>maven-resources-plugin</artifactId>
  919. <version>2.6</version>
  920. </plugin>
  921. <!-- install插件 -->
  922. <plugin>
  923. <groupId>org.apache.maven.plugins</groupId>
  924. <artifactId>maven-install-plugin</artifactId>
  925. <version>2.4</version>
  926. </plugin>
  927. <!-- 让maven不编译xls文件,但仍将其打包 -->
  928. <plugin>
  929. <groupId>org.apache.maven.plugins</groupId>
  930. <artifactId>maven-resources-plugin</artifactId>
  931. <configuration>
  932. <nonFilteredFileExtensions>
  933. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  934. </nonFilteredFileExtensions>
  935. </configuration>
  936. </plugin>
  937. <!-- clean插件 -->
  938. <plugin>
  939. <groupId>org.apache.maven.plugins</groupId>
  940. <artifactId>maven-clean-plugin</artifactId>
  941. <version>2.5</version>
  942. </plugin>
  943. <!-- ant插件 -->
  944. <plugin>
  945. <groupId>org.apache.maven.plugins</groupId>
  946. <artifactId>maven-antrun-plugin</artifactId>
  947. <version>1.7</version>
  948. </plugin>
  949. <!-- dependency插件 -->
  950. <plugin>
  951. <groupId>org.apache.maven.plugins</groupId>
  952. <artifactId>maven-dependency-plugin</artifactId>
  953. <version>2.5.1</version>
  954. </plugin>
  955. <plugin>
  956. <artifactId>maven-surefire-plugin</artifactId>
  957. <configuration>
  958. <argLine> -XX:-UseSplitVerifier</argLine>
  959. </configuration>
  960. </plugin>
  961. </plugins>
  962. </build>
  963. <!-- 开发者信息 -->
  964. <developers>
  965. <developer>
  966. <id>caimei</id>
  967. <name>caimei</name>
  968. <roles><role>Project lead</role></roles>
  969. <timezone>+8</timezone>
  970. </developer>
  971. </developers>
  972. <scm>
  973. <connection>scm:svn:hsvn://192.168.1.10/website/caimeiProject/caimei-manager</connection>
  974. <developerConnection>scm:svn:svn://192.168.1.10/website/caimeiProject/caimei-manager</developerConnection>
  975. </scm>
  976. </project>