pom.xml 29 KB

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