pom.xml 30 KB

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