pom.xml 29 KB

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