pom.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932
  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>product</id>
  76. <properties>
  77. <env.type>product</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>caimei</groupId>
  615. <artifactId>ueditor</artifactId>
  616. <version>1.0</version>
  617. </dependency>-->
  618. </dependencies>
  619. <build>
  620. <finalName>manager</finalName>
  621. <!-- 设定资源文件的存放地址,根据不同的环境设置不同的目录 -->
  622. <resources>
  623. <resource>
  624. <directory>src/main/resources/</directory>
  625. <targetPath>${project.build.outputDirectory}/</targetPath>
  626. <excludes>
  627. <exclude>config/**</exclude>
  628. </excludes>
  629. <filtering>true</filtering>
  630. </resource>
  631. <resource>
  632. <directory>src/main/resources/config/${env.type}/</directory>
  633. <targetPath>${project.build.outputDirectory}/</targetPath>
  634. <filtering>true</filtering>
  635. </resource>
  636. </resources>
  637. <plugins>
  638. <!-- Compiler 插件, 设定JDK版本 -->
  639. <plugin>
  640. <groupId>org.apache.maven.plugins</groupId>
  641. <artifactId>maven-compiler-plugin</artifactId>
  642. <version>3.3</version>
  643. <configuration>
  644. <source>${jdk.version}</source>
  645. <target>${jdk.version}</target>
  646. <showWarnings>true</showWarnings>
  647. </configuration>
  648. </plugin>
  649. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  650. <plugin>
  651. <groupId>org.apache.maven.plugins</groupId>
  652. <artifactId>maven-jar-plugin</artifactId>
  653. <version>2.4</version>
  654. <!-- <executions>
  655. <execution>
  656. <phase>prepare-package</phase>
  657. <goals>
  658. <goal>jar</goal>
  659. </goals>
  660. <configuration>
  661. <classesDirectory>${project.outputDirectory}</classesDirectory>
  662. <finalName>jeesite</finalName>
  663. <outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
  664. <includes>
  665. <include>com/thinkgem/jeesite/**</include>
  666. </includes>
  667. </configuration>
  668. </execution>
  669. </executions> -->
  670. </plugin>
  671. <!-- 混淆代码
  672. <plugin>
  673. <groupId>com.github.wvengen</groupId>
  674. <artifactId>proguard-maven-plugin</artifactId>
  675. <version>2.0.6</version>
  676. <executions>
  677. <execution>
  678. <phase>prepare-package</phase>
  679. <goals>
  680. <goal>proguard</goal>
  681. </goals>
  682. </execution>
  683. </executions>
  684. <configuration>
  685. <obfuscate>true</obfuscate>
  686. <options>
  687. <option>-injars ${project.build.directory}/${project.artifactId}/WEB-INF/lib/jeesite.jar</option>
  688. </options>
  689. <outjar>${project.artifactId}/WEB-INF/lib/jeesite_out.jar</outjar>
  690. <outputDirectory>${project.build.directory}</outputDirectory>
  691. <proguardInclude>${basedir}/proguard.cfg</proguardInclude>
  692. <source>${jdk.version}</source>
  693. <target>${jdk.version}</target>
  694. <encoding>${project.build.sourceEncoding}</encoding>
  695. <libs>
  696. <lib>${java.home}/lib/rt.jar</lib>
  697. <lib>${java.home}/lib/jsse.jar</lib>
  698. <lib>${java.home}/lib/jce.jar</lib>
  699. </libs>
  700. <addMavenDescriptor>false</addMavenDescriptor>
  701. </configuration>
  702. <dependencies>
  703. <dependency>
  704. <groupId>net.sf.proguard</groupId>
  705. <artifactId>proguard-base</artifactId>
  706. <version>4.9</version>
  707. <scope>runtime</scope>
  708. </dependency>
  709. </dependencies>
  710. </plugin> -->
  711. <plugin>
  712. <groupId>org.apache.maven.plugins</groupId>
  713. <artifactId>maven-surefire-plugin</artifactId>
  714. <version>2.18.1</version>
  715. <configuration>
  716. <skipTests>true</skipTests>
  717. </configuration>
  718. </plugin>
  719. <!-- war 打包插件, 设定war包名称不带版本号 -->
  720. <!--<plugin>
  721. <groupId>org.apache.maven.plugins</groupId>
  722. <artifactId>maven-war-plugin</artifactId>
  723. <version>2.4</version>
  724. <configuration>
  725. <packagingExcludes>
  726. &lt;!&ndash; WEB-INF/classes/com/thinkgem/jeesite/** &ndash;&gt;
  727. WEB-INF/classes/org/apache/ibatis/**,
  728. WEB-INF/classes/org/mybatis/spring/**
  729. </packagingExcludes>
  730. <warSourceExcludes>
  731. static/bootstrap/2.3.1/docs/**,
  732. static/ckeditor/_samples/**,
  733. static/ckeditor/_source/**,
  734. static/ckfinder/_samples/**,
  735. static/ckfinder/help/**,
  736. static/compressor*/**,
  737. static/jquery-jbox/2.3/docs/**,
  738. static/jquery-jbox/2.3/Skins2/**,
  739. static/jquery-validation/1.11.0/demo/**,
  740. static/jquery-ztree/3.5.12/demo/**,
  741. static/My97DatePicker/docs/**,
  742. static/supcan/doc/**,
  743. static/SuperSlide/demo/**,
  744. static/treeTable/demo/**&lt;!&ndash; , &ndash;&gt;
  745. &lt;!&ndash; userfiles/** &ndash;&gt;&lt;!&ndash; ,/**/*.jsp &ndash;&gt;,
  746. test/**
  747. </warSourceExcludes>
  748. </configuration>
  749. </plugin>-->
  750. <!-- Eclipse 插件 -->
  751. <plugin>
  752. <groupId>org.apache.maven.plugins</groupId>
  753. <artifactId>maven-eclipse-plugin</artifactId>
  754. <version>2.9</version>
  755. <configuration>
  756. <downloadSources>${downloadSources}</downloadSources>
  757. <downloadJavadocs>false</downloadJavadocs>
  758. <wtpversion>2.0</wtpversion>
  759. <jeeversion>5.0</jeeversion>
  760. <!-- <jeeversion>6.0</jeeversion> -->
  761. <additionalConfig>
  762. <file>
  763. <name>.settings/org.eclipse.core.resources.prefs</name>
  764. <content>
  765. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
  766. </content>
  767. </file>
  768. </additionalConfig>
  769. <additionalProjectnatures>
  770. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  771. </additionalProjectnatures>
  772. </configuration>
  773. </plugin>
  774. <!-- tomcat6插件 -->
  775. <plugin>
  776. <groupId>org.apache.tomcat.maven</groupId>
  777. <artifactId>tomcat6-maven-plugin</artifactId>
  778. <version>${tomcat.version}</version>
  779. <configuration>
  780. <port>${webserver.port}</port>
  781. <path>/</path>
  782. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  783. </configuration>
  784. </plugin>
  785. <!-- tomcat7插件 -->
  786. <plugin>
  787. <groupId>org.apache.tomcat.maven</groupId>
  788. <artifactId>tomcat7-maven-plugin</artifactId>
  789. <version>${tomcat.version}</version>
  790. <configuration>
  791. <port>${webserver.port}</port>
  792. <path>/</path>
  793. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  794. </configuration>
  795. </plugin>
  796. <!-- jetty插件 -->
  797. <plugin>
  798. <groupId>org.mortbay.jetty</groupId>
  799. <artifactId>jetty-maven-plugin</artifactId>
  800. <version>${jetty.version}</version>
  801. <configuration>
  802. <stopKey>exit</stopKey>
  803. <stopPort>9090</stopPort>
  804. <connectors>
  805. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  806. <port>${webserver.port}</port>
  807. </connector>
  808. </connectors>
  809. <webAppConfig>
  810. <contextPath>/</contextPath>
  811. </webAppConfig>
  812. <systemProperties>
  813. <systemProperty>
  814. <name>org.mortbay.util.URI.charset</name>
  815. <value>${project.build.sourceEncoding}</value>
  816. </systemProperty>
  817. </systemProperties>
  818. </configuration>
  819. </plugin>
  820. <!-- resource插件 -->
  821. <plugin>
  822. <groupId>org.apache.maven.plugins</groupId>
  823. <artifactId>maven-resources-plugin</artifactId>
  824. <version>2.6</version>
  825. </plugin>
  826. <!-- install插件 -->
  827. <plugin>
  828. <groupId>org.apache.maven.plugins</groupId>
  829. <artifactId>maven-install-plugin</artifactId>
  830. <version>2.4</version>
  831. </plugin>
  832. <!-- clean插件 -->
  833. <plugin>
  834. <groupId>org.apache.maven.plugins</groupId>
  835. <artifactId>maven-clean-plugin</artifactId>
  836. <version>2.5</version>
  837. </plugin>
  838. <!-- ant插件 -->
  839. <plugin>
  840. <groupId>org.apache.maven.plugins</groupId>
  841. <artifactId>maven-antrun-plugin</artifactId>
  842. <version>1.7</version>
  843. </plugin>
  844. <!-- dependency插件 -->
  845. <plugin>
  846. <groupId>org.apache.maven.plugins</groupId>
  847. <artifactId>maven-dependency-plugin</artifactId>
  848. <version>2.5.1</version>
  849. </plugin>
  850. </plugins>
  851. </build>
  852. <!-- 开发者信息 -->
  853. <developers>
  854. <developer>
  855. <id>caimei</id>
  856. <name>caimei</name>
  857. <roles><role>Project lead</role></roles>
  858. <timezone>+8</timezone>
  859. </developer>
  860. </developers>
  861. <scm>
  862. <connection>scm:svn:hsvn://192.168.1.10/website/caimeiProject/caimei-manager</connection>
  863. <developerConnection>scm:svn:svn://192.168.1.10/website/caimeiProject/caimei-manager</developerConnection>
  864. </scm>
  865. </project>