pom.xml 29 KB

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