pom.xml 30 KB

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