pom.xml 28 KB

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