pom.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962
  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.thinkgem.jeesite</groupId>
  6. <artifactId>tripto_operation</artifactId>
  7. <version>1.2.7</version>
  8. <packaging>war</packaging>
  9. <name>tripto_operation</name>
  10. <url>http://thinkgem.github.com/jeesite</url>
  11. <inceptionYear>2012-2017</inceptionYear>
  12. <!-- 项目属性 -->
  13. <properties>
  14. <!-- main version setting -->
  15. <spring.version>4.1.9.RELEASE</spring.version>
  16. <validator.version>5.2.4.Final</validator.version>
  17. <mybatis.version>3.2.8</mybatis.version>
  18. <mybatis-spring.version>1.2.3</mybatis-spring.version>
  19. <druid.version>1.0.18</druid.version>
  20. <ehcache.version>2.6.11</ehcache.version>
  21. <ehcache-web.version>2.0.4</ehcache-web.version>
  22. <shiro.version>1.2.3</shiro.version>
  23. <sitemesh.version>2.4.2</sitemesh.version>
  24. <activiti.version>5.21.0</activiti.version>
  25. <!-- tools version setting -->
  26. <slf4j.version>1.7.7</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.6.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>5.1.30</mysql.driver.version>
  41. <oracle.driver.version>10.2.0.4.0</oracle.driver.version>
  42. <mssql.driver.version>1.3.1</mssql.driver.version>
  43. <!-- environment setting -->
  44. <jdk.version>1.8</jdk.version>
  45. <tomcat.version>2.2</tomcat.version>
  46. <jetty.version>7.6.14.v20131031</jetty.version>
  47. <webserver.port>8181</webserver.port>
  48. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  49. <downloadSources>true</downloadSources>
  50. </properties>
  51. <!-- 设定主仓库,按设定顺序进行查找。 -->
  52. <repositories>
  53. <repository>
  54. <id>jeesite-repos</id>
  55. <name>Jeesite Repository</name>
  56. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  57. </repository>
  58. </repositories>
  59. <!-- 设定插件仓库 -->
  60. <pluginRepositories>
  61. <pluginRepository>
  62. <id>jeesite-repos</id>
  63. <name>Jeesite Repository</name>
  64. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  65. </pluginRepository>
  66. </pluginRepositories>
  67. <!-- 依赖项定义 -->
  68. <dependencies>
  69. <!-- SPRING begin -->
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-core</artifactId>
  73. <version>${spring.version}</version>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>commons-logging</groupId>
  77. <artifactId>commons-logging</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework</groupId>
  83. <artifactId>spring-beans</artifactId>
  84. <version>${spring.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework</groupId>
  88. <artifactId>spring-context</artifactId>
  89. <version>${spring.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework</groupId>
  93. <artifactId>spring-context-support</artifactId>
  94. <version>${spring.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-aop</artifactId>
  99. <version>${spring.version}</version>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>commons-logging</groupId>
  103. <artifactId>commons-logging</artifactId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-tx</artifactId>
  110. <version>${spring.version}</version>
  111. </dependency>
  112. <!-- spring orm -->
  113. <dependency>
  114. <groupId>org.springframework</groupId>
  115. <artifactId>spring-orm</artifactId>
  116. <version>${spring.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-jdbc</artifactId>
  121. <version>${spring.version}</version>
  122. </dependency>
  123. <!-- bean validate -->
  124. <dependency>
  125. <groupId>org.hibernate</groupId>
  126. <artifactId>hibernate-validator</artifactId>
  127. <version>${validator.version}</version>
  128. </dependency>
  129. <!-- SPRING end -->
  130. <!-- AOP begin -->
  131. <dependency>
  132. <groupId>org.aspectj</groupId>
  133. <artifactId>aspectjrt</artifactId>
  134. <version>1.7.4</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.aspectj</groupId>
  138. <artifactId>aspectjweaver</artifactId>
  139. <version>1.7.4</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>cglib</groupId>
  143. <artifactId>cglib</artifactId>
  144. <version>3.1</version>
  145. </dependency>
  146. <!-- AOP end -->
  147. <!-- PERSISTENCE begin -->
  148. <!-- MyBatis -->
  149. <dependency>
  150. <groupId>org.mybatis</groupId>
  151. <artifactId>mybatis</artifactId>
  152. <version>${mybatis.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.mybatis</groupId>
  156. <artifactId>mybatis-spring</artifactId>
  157. <version>${mybatis-spring.version}</version>
  158. </dependency>
  159. <!-- connection pool -->
  160. <dependency>
  161. <groupId>com.alibaba</groupId>
  162. <artifactId>druid</artifactId>
  163. <version>${druid.version}</version>
  164. </dependency>
  165. <!-- jdbc driver -->
  166. <dependency>
  167. <groupId>mysql</groupId>
  168. <artifactId>mysql-connector-java</artifactId>
  169. <version>${mysql.driver.version}</version>
  170. <scope>runtime</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.oracle</groupId>
  174. <artifactId>ojdbc14</artifactId>
  175. <version>${oracle.driver.version}</version>
  176. <scope>system</scope>
  177. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ojdbc14-10.2.0.4.0.jar</systemPath>
  178. </dependency>
  179. <dependency>
  180. <groupId>net.sourceforge.jtds</groupId>
  181. <artifactId>jtds</artifactId>
  182. <version>${mssql.driver.version}</version>
  183. <scope>runtime</scope>
  184. </dependency>
  185. <!-- PERSISTENCE end -->
  186. <!-- WEB begin -->
  187. <dependency>
  188. <groupId>org.springframework</groupId>
  189. <artifactId>spring-web</artifactId>
  190. <version>${spring.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-webmvc</artifactId>
  195. <version>${spring.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.springframework</groupId>
  199. <artifactId>spring-oxm</artifactId>
  200. <version>${spring.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>opensymphony</groupId>
  204. <artifactId>sitemesh</artifactId>
  205. <version>${sitemesh.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>taglibs</groupId>
  209. <artifactId>standard</artifactId>
  210. <version>1.1.2</version>
  211. <type>jar</type>
  212. </dependency>
  213. <dependency>
  214. <groupId>javax.servlet</groupId>
  215. <artifactId>jstl</artifactId>
  216. <version>1.2</version>
  217. <type>jar</type>
  218. </dependency>
  219. <dependency>
  220. <groupId>javax.servlet</groupId>
  221. <artifactId>servlet-api</artifactId>
  222. <version>2.5</version>
  223. <scope>provided</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>javax.servlet.jsp</groupId>
  227. <artifactId>jsp-api</artifactId>
  228. <version>2.1</version>
  229. <scope>provided</scope>
  230. </dependency>
  231. <!-- <dependency>
  232. <groupId>javax.servlet</groupId>
  233. <artifactId>javax.servlet-api</artifactId>
  234. <version>3.0.1</version>
  235. <scope>provided</scope>
  236. </dependency>
  237. <dependency>
  238. <groupId>javax.servlet.jsp</groupId>
  239. <artifactId>jsp-api</artifactId>
  240. <version>2.2</version>
  241. <scope>provided</scope>
  242. </dependency> -->
  243. <!-- WEB end -->
  244. <!-- CACHE begin -->
  245. <dependency>
  246. <groupId>net.sf.ehcache</groupId>
  247. <artifactId>ehcache-core</artifactId>
  248. <version>${ehcache.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>net.sf.ehcache</groupId>
  252. <artifactId>ehcache-web</artifactId>
  253. <version>${ehcache-web.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>redis.clients</groupId>
  257. <artifactId>jedis</artifactId>
  258. <version>2.5.1</version>
  259. </dependency>
  260. <!-- CACHE end -->
  261. <!-- SECURITY begin -->
  262. <dependency>
  263. <groupId>org.apache.shiro</groupId>
  264. <artifactId>shiro-core</artifactId>
  265. <version>${shiro.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.apache.shiro</groupId>
  269. <artifactId>shiro-spring</artifactId>
  270. <version>${shiro.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.apache.shiro</groupId>
  274. <artifactId>shiro-cas</artifactId>
  275. <version>${shiro.version}</version>
  276. <exclusions>
  277. <exclusion>
  278. <groupId>commons-logging</groupId>
  279. <artifactId>commons-logging</artifactId>
  280. </exclusion>
  281. </exclusions>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.shiro</groupId>
  285. <artifactId>shiro-web</artifactId>
  286. <version>${shiro.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.shiro</groupId>
  290. <artifactId>shiro-ehcache</artifactId>
  291. <version>${shiro.version}</version>
  292. </dependency>
  293. <!-- SECURITY end -->
  294. <!-- Activiti -->
  295. <dependency>
  296. <groupId>org.activiti</groupId>
  297. <artifactId>activiti-engine</artifactId>
  298. <version>${activiti.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.activiti</groupId>
  302. <artifactId>activiti-spring</artifactId>
  303. <version>${activiti.version}</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.activiti</groupId>
  307. <artifactId>activiti-explorer</artifactId>
  308. <version>${activiti.version}</version>
  309. <exclusions>
  310. <exclusion>
  311. <artifactId>vaadin</artifactId>
  312. <groupId>com.vaadin</groupId>
  313. </exclusion>
  314. <exclusion>
  315. <artifactId>dcharts-widget</artifactId>
  316. <groupId>org.vaadin.addons</groupId>
  317. </exclusion>
  318. <exclusion>
  319. <artifactId>activiti-simple-workflow</artifactId>
  320. <groupId>org.activiti</groupId>
  321. </exclusion>
  322. </exclusions>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.activiti</groupId>
  326. <artifactId>activiti-modeler</artifactId>
  327. <version>${activiti.version}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.activiti</groupId>
  331. <artifactId>activiti-diagram-rest</artifactId>
  332. <version>${activiti.version}</version>
  333. </dependency>
  334. <!-- 支持activiti缓存 -->
  335. <!-- <dependency>
  336. <groupId>org.infinispan</groupId>
  337. <artifactId>infinispan-core</artifactId>
  338. <version>5.1.7.Final</version>
  339. </dependency> -->
  340. <!-- LOGGING begin -->
  341. <dependency>
  342. <groupId>org.slf4j</groupId>
  343. <artifactId>slf4j-api</artifactId>
  344. <version>${slf4j.version}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.slf4j</groupId>
  348. <artifactId>slf4j-log4j12</artifactId>
  349. <version>${slf4j.version}</version>
  350. </dependency>
  351. <!-- common-logging 实际调用slf4j -->
  352. <dependency>
  353. <groupId>org.slf4j</groupId>
  354. <artifactId>jcl-over-slf4j</artifactId>
  355. <version>${slf4j.version}</version>
  356. </dependency>
  357. <!-- java.util.logging 实际调用slf4j -->
  358. <dependency>
  359. <groupId>org.slf4j</groupId>
  360. <artifactId>jul-to-slf4j</artifactId>
  361. <version>${slf4j.version}</version>
  362. </dependency>
  363. <!-- LOGGING end -->
  364. <!-- GENERAL UTILS begin -->
  365. <dependency>
  366. <groupId>org.apache.commons</groupId>
  367. <artifactId>commons-lang3</artifactId>
  368. <version>${commons-lang3.version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>commons-io</groupId>
  372. <artifactId>commons-io</artifactId>
  373. <version>${commons-io.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>commons-codec</groupId>
  377. <artifactId>commons-codec</artifactId>
  378. <version>${commons-codec.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>commons-fileupload</groupId>
  382. <artifactId>commons-fileupload</artifactId>
  383. <version>${commons-fileupload.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>commons-beanutils</groupId>
  387. <artifactId>commons-beanutils</artifactId>
  388. <version>${commons-beanutils.version}</version>
  389. <exclusions>
  390. <exclusion>
  391. <groupId>commons-logging</groupId>
  392. <artifactId>commons-logging</artifactId>
  393. </exclusion>
  394. </exclusions>
  395. </dependency>
  396. <!-- google java lib -->
  397. <dependency>
  398. <groupId>com.google.guava</groupId>
  399. <artifactId>guava</artifactId>
  400. <version>${guava.version}</version>
  401. </dependency>
  402. <!-- jackson json -->
  403. <dependency>
  404. <groupId>com.fasterxml.jackson.core</groupId>
  405. <artifactId>jackson-core</artifactId>
  406. <version>${jackson.version}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>com.fasterxml.jackson.core</groupId>
  410. <artifactId>jackson-databind</artifactId>
  411. <version>${jackson.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>com.fasterxml.jackson.core</groupId>
  415. <artifactId>jackson-annotations</artifactId>
  416. <version>${jackson.version}</version>
  417. </dependency>
  418. <dependency>
  419. <groupId>com.fasterxml.jackson.module</groupId>
  420. <artifactId>jackson-module-jaxb-annotations</artifactId>
  421. <version>${jackson.version}</version>
  422. </dependency>
  423. <!-- fastjson json -->
  424. <dependency>
  425. <groupId>com.alibaba</groupId>
  426. <artifactId>fastjson</artifactId>
  427. <version>${fastjson.version}</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>com.bjlt.spider</groupId>
  431. <artifactId>common</artifactId>
  432. <version>0.0.1-SNAPSHOT</version>
  433. </dependency>
  434. <dependency>
  435. <groupId>com.tripto.rpc</groupId>
  436. <artifactId>tripto_rpc</artifactId>
  437. <version>1.0-SNAPSHOT</version>
  438. </dependency>
  439. <!-- xstream xml -->
  440. <dependency>
  441. <groupId>com.thoughtworks.xstream</groupId>
  442. <artifactId>xstream</artifactId>
  443. <version>${xstream.version}</version>
  444. </dependency>
  445. <!-- pojo copy -->
  446. <dependency>
  447. <groupId>net.sf.dozer</groupId>
  448. <artifactId>dozer</artifactId>
  449. <version>${dozer.version}</version>
  450. </dependency>
  451. <!-- freemarker engine -->
  452. <dependency>
  453. <groupId>org.freemarker</groupId>
  454. <artifactId>freemarker</artifactId>
  455. <version>${freemarker.version}</version>
  456. </dependency>
  457. <!-- email -->
  458. <dependency>
  459. <groupId>javax.mail</groupId>
  460. <artifactId>mail</artifactId>
  461. <version>1.4.7</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>javax.activation</groupId>
  465. <artifactId>activation</artifactId>
  466. <version>1.1.1</version>
  467. </dependency>
  468. <!-- poi office -->
  469. <dependency>
  470. <groupId>org.apache.poi</groupId>
  471. <artifactId>poi</artifactId>
  472. <version>${poi.version}</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>org.apache.poi</groupId>
  476. <artifactId>poi-ooxml</artifactId>
  477. <version>${poi.version}</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>org.apache.poi</groupId>
  481. <artifactId>poi-ooxml-schemas</artifactId>
  482. <version>${poi.version}</version>
  483. </dependency>
  484. <!-- image util -->
  485. <dependency>
  486. <groupId>com.drewnoakes</groupId>
  487. <artifactId>metadata-extractor</artifactId>
  488. <version>2.6.2</version>
  489. </dependency>
  490. <!-- 条形码、二维码生成 -->
  491. <dependency>
  492. <groupId>com.google.zxing</groupId>
  493. <artifactId>core</artifactId>
  494. <version>2.2</version>
  495. </dependency>
  496. <dependency>
  497. <groupId>com.google.zxing</groupId>
  498. <artifactId>javase</artifactId>
  499. <version>2.2</version>
  500. </dependency>
  501. <!-- 中文分词 -->
  502. <dependency>
  503. <groupId>org.wltea</groupId>
  504. <artifactId>analyzer</artifactId>
  505. <version>2012_u6</version>
  506. <scope>system</scope>
  507. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/analyzer-2012_u6.jar</systemPath>
  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. <scope>system</scope>
  516. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/thumbnailator-0.4.2.jar</systemPath>
  517. </dependency>
  518. <dependency>
  519. <groupId>com.ckfinder</groupId>
  520. <artifactId>apache-ant-zip</artifactId>
  521. <version>2.3</version>
  522. <scope>system</scope>
  523. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/apache-ant-zip-2.3.jar</systemPath>
  524. </dependency>
  525. <dependency>
  526. <groupId>com.ckfinder</groupId>
  527. <artifactId>ckfinder</artifactId>
  528. <version>2.3</version>
  529. <scope>system</scope>
  530. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinder-2.3.jar</systemPath>
  531. </dependency>
  532. <dependency>
  533. <groupId>com.ckfinder</groupId>
  534. <artifactId>ckfinderplugin-fileeditor</artifactId>
  535. <version>2.3</version>
  536. <scope>system</scope>
  537. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-fileeditor-2.3.jar</systemPath>
  538. </dependency>
  539. <dependency>
  540. <groupId>com.ckfinder</groupId>
  541. <artifactId>ckfinderplugin-imageresize</artifactId>
  542. <version>2.3</version>
  543. <scope>system</scope>
  544. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-imageresize-2.3.jar</systemPath>
  545. </dependency>
  546. <!-- CKFinder end -->
  547. <!-- TEST begin -->
  548. <dependency>
  549. <groupId>junit</groupId>
  550. <artifactId>junit</artifactId>
  551. <version>4.11</version>
  552. </dependency>
  553. <dependency>
  554. <groupId>org.springframework</groupId>
  555. <artifactId>spring-test</artifactId>
  556. <version>${spring.version}</version>
  557. </dependency>
  558. <!-- TEST end -->
  559. <!-- User Agent -->
  560. <dependency>
  561. <groupId>bitwalker</groupId>
  562. <artifactId>UserAgentUtils</artifactId>
  563. <version>1.13</version>
  564. <scope>system</scope>
  565. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/UserAgentUtils-1.13.jar</systemPath>
  566. </dependency>
  567. <!-- Alibaba Json -->
  568. <dependency>
  569. <groupId>com.alibaba</groupId>
  570. <artifactId>fastjson</artifactId>
  571. <version>1.2.4</version>
  572. </dependency>
  573. <!-- activemq 相关maven依赖 -->
  574. <dependency>
  575. <groupId>org.apache.activemq</groupId>
  576. <artifactId>activemq-client</artifactId>
  577. <version>5.14.5</version>
  578. </dependency>
  579. <!-- 6 dubbo zookeeper相关依赖start -->
  580. <dependency>
  581. <groupId>com.alibaba</groupId>
  582. <artifactId>dubbo</artifactId>
  583. <version>2.5.3</version>
  584. <exclusions>
  585. <exclusion>
  586. <groupId>org.springframework</groupId>
  587. <artifactId>spring</artifactId>
  588. </exclusion>
  589. <exclusion>
  590. <groupId>org.jboss.netty</groupId>
  591. <artifactId>netty</artifactId>
  592. </exclusion>
  593. </exclusions>
  594. </dependency>
  595. <dependency>
  596. <groupId>org.apache.zookeeper</groupId>
  597. <artifactId>zookeeper</artifactId>
  598. <version>3.4.10</version>
  599. </dependency>
  600. <dependency>
  601. <groupId>com.github.sgroschupf</groupId>
  602. <artifactId>zkclient</artifactId>
  603. <version>0.1</version>
  604. </dependency>
  605. <!-- dubbo zookeeper相关依赖end -->
  606. <!-- 自定义jar依赖包
  607. <dependency>
  608. <groupId>com.thinkgem.jeesite</groupId>
  609. <artifactId>test-core</artifactId>
  610. <version>1.0</version>
  611. <scope>system</scope>
  612. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/test-core-1.0.jar</systemPath>
  613. </dependency> -->
  614. <!-- 使用 Jetty JSP引擎
  615. <dependency>
  616. <groupId>org.eclipse.jetty</groupId>
  617. <artifactId>jetty-jsp</artifactId>
  618. <version>${jetty.version}</version>
  619. <exclusions>
  620. <exclusion>
  621. <groupId>org.eclipse.jetty.orbit</groupId>
  622. <artifactId>javax.servlet</artifactId>
  623. </exclusion>
  624. <exclusion>
  625. <groupId>org.eclipse.jetty.orbit</groupId>
  626. <artifactId>org.apache.taglibs.standard.glassfish</artifactId>
  627. </exclusion>
  628. </exclusions>
  629. </dependency> -->
  630. </dependencies>
  631. <build>
  632. <outputDirectory>${project.basedir}/src/main/webapp/WEB-INF/classes/</outputDirectory>
  633. <plugins>
  634. <!-- Compiler 插件, 设定JDK版本 -->
  635. <plugin>
  636. <groupId>org.apache.maven.plugins</groupId>
  637. <artifactId>maven-compiler-plugin</artifactId>
  638. <version>3.5.1</version>
  639. <configuration>
  640. <source>${jdk.version}</source>
  641. <target>${jdk.version}</target>
  642. <showWarnings>true</showWarnings>
  643. </configuration>
  644. </plugin>
  645. <!-- JSP 预编译插件 jspweb.xml
  646. <plugin>
  647. <groupId>org.jasig.mojo.jspc</groupId>
  648. <artifactId>jspc-maven-plugin</artifactId>
  649. <version>2.0.0</version>
  650. <configuration>
  651. <injectString>&lt;!- - [INSERT FRAGMENT HERE] - -&gt;</injectString>
  652. </configuration>
  653. <executions>
  654. <execution>
  655. <goals>
  656. <goal>compile</goal>
  657. </goals>
  658. </execution>
  659. </executions>
  660. <dependencies>
  661. <dependency>
  662. <groupId>org.jasig.mojo.jspc</groupId>
  663. <artifactId>jspc-compiler-tomcat6</artifactId>
  664. <version>2.0.0</version>
  665. </dependency>
  666. </dependencies>
  667. </plugin>-->
  668. <!-- Jetty JSP 预编译插件 web.xml
  669. <plugin>
  670. <groupId>org.mortbay.jetty</groupId>
  671. <artifactId>jetty-jspc-maven-plugin</artifactId>
  672. <version>${jetty.version}</version>
  673. <configuration>
  674. <insertionMarker>&lt;!- - [INSERT FRAGMENT HERE] - -&gt;</insertionMarker>
  675. </configuration>
  676. <executions>
  677. <execution>
  678. <goals>
  679. <goal>jspc</goal>
  680. </goals>
  681. </execution>
  682. </executions>
  683. </plugin>-->
  684. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  685. <plugin>
  686. <groupId>org.apache.maven.plugins</groupId>
  687. <artifactId>maven-jar-plugin</artifactId>
  688. <version>2.4</version>
  689. <configuration>
  690. <encoding>${project.build.sourceEncoding}</encoding>
  691. </configuration>
  692. <!-- <executions>
  693. <execution>
  694. <phase>prepare-package</phase>
  695. <goals>
  696. <goal>jar</goal>
  697. </goals>
  698. <configuration>
  699. <classesDirectory>${project.outputDirectory}</classesDirectory>
  700. <finalName>jeesite</finalName>
  701. <outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
  702. <includes>
  703. <include>com/thinkgem/jeesite/**</include>
  704. </includes>
  705. </configuration>
  706. </execution>
  707. </executions> -->
  708. </plugin>
  709. <!-- 混淆代码
  710. <plugin>
  711. <groupId>com.github.wvengen</groupId>
  712. <artifactId>proguard-maven-plugin</artifactId>
  713. <version>2.0.11</version>
  714. <executions>
  715. <execution>
  716. <phase>prepare-package</phase>
  717. <goals>
  718. <goal>proguard</goal>
  719. </goals>
  720. </execution>
  721. </executions>
  722. <configuration>
  723. <obfuscate>true</obfuscate>
  724. <options>
  725. <option>-injars ${project.build.directory}/${project.artifactId}/WEB-INF/lib/jeesite.jar</option>
  726. </options>
  727. <outjar>${project.artifactId}/WEB-INF/lib/jeesite_out.jar</outjar>
  728. <outputDirectory>${project.build.directory}</outputDirectory>
  729. <proguardInclude>${basedir}/proguard.cfg</proguardInclude>
  730. <source>${jdk.version}</source>
  731. <target>${jdk.version}</target>
  732. <encoding>${project.build.sourceEncoding}</encoding>
  733. <libs>
  734. <lib>${java.home}/lib/rt.jar</lib>
  735. <lib>${java.home}/lib/jsse.jar</lib>
  736. <lib>${java.home}/lib/jce.jar</lib>
  737. </libs>
  738. <addMavenDescriptor>false</addMavenDescriptor>
  739. </configuration>
  740. <dependencies>
  741. <dependency>
  742. <groupId>net.sf.proguard</groupId>
  743. <artifactId>proguard-base</artifactId>
  744. <version>4.9</version>
  745. <scope>runtime</scope>
  746. </dependency>
  747. </dependencies>
  748. </plugin> -->
  749. <!-- war 打包插件, 设定war包名称不带版本号 -->
  750. <plugin>
  751. <groupId>org.apache.maven.plugins</groupId>
  752. <artifactId>maven-war-plugin</artifactId>
  753. <version>2.4</version>
  754. <configuration>
  755. <packagingExcludes>
  756. <!-- WEB-INF/classes/com/thinkgem/jeesite/** -->
  757. WEB-INF/classes/org/apache/ibatis/**,
  758. WEB-INF/classes/org/mybatis/spring/**
  759. </packagingExcludes>
  760. <warSourceExcludes>
  761. static/bootstrap/2.3.1/docs/**,
  762. static/ckeditor/_samples/**,
  763. static/ckeditor/_source/**,
  764. static/ckfinder/_samples/**,
  765. static/ckfinder/help/**,
  766. static/compressor*/**,
  767. static/jquery-jbox/2.3/docs/**,
  768. static/jquery-jbox/2.3/Skins2/**,
  769. static/jquery-validation/1.11.0/demo/**,
  770. static/jquery-ztree/3.5.12/demo/**,
  771. static/My97DatePicker/docs/**,
  772. static/supcan/doc/**,
  773. static/SuperSlide/demo/**,
  774. static/treeTable/demo/**<!-- , -->
  775. <!-- userfiles/** --><!-- ,/**/*.jsp -->,
  776. test/**
  777. </warSourceExcludes>
  778. <webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory><!--
  779. <webXml>${project.basedir}/target/jspweb.xml</webXml> -->
  780. <warName>${project.artifactId}</warName>
  781. </configuration>
  782. </plugin>
  783. <!-- Eclipse 插件 -->
  784. <plugin>
  785. <groupId>org.apache.maven.plugins</groupId>
  786. <artifactId>maven-eclipse-plugin</artifactId>
  787. <version>2.9</version>
  788. <configuration>
  789. <downloadSources>${downloadSources}</downloadSources>
  790. <downloadJavadocs>false</downloadJavadocs>
  791. <wtpversion>2.0</wtpversion>
  792. <jeeversion>5.0</jeeversion>
  793. <!-- <jeeversion>6.0</jeeversion> -->
  794. <additionalConfig>
  795. <file>
  796. <name>.settings/org.eclipse.core.resources.prefs</name>
  797. <content>
  798. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
  799. </content>
  800. </file>
  801. </additionalConfig>
  802. <additionalProjectnatures>
  803. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  804. </additionalProjectnatures>
  805. </configuration>
  806. </plugin>
  807. <!-- tomcat6插件 -->
  808. <plugin>
  809. <groupId>org.apache.tomcat.maven</groupId>
  810. <artifactId>tomcat6-maven-plugin</artifactId>
  811. <version>${tomcat.version}</version>
  812. <configuration>
  813. <port>${webserver.port}</port>
  814. <path>/${project.artifactId}</path>
  815. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  816. </configuration>
  817. </plugin>
  818. <!-- tomcat7插件 -->
  819. <plugin>
  820. <groupId>org.apache.tomcat.maven</groupId>
  821. <artifactId>tomcat7-maven-plugin</artifactId>
  822. <version>${tomcat.version}</version>
  823. <configuration>
  824. <port>${webserver.port}</port>
  825. <path>/${project.artifactId}</path>
  826. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  827. </configuration>
  828. </plugin>
  829. <!-- jetty插件 -->
  830. <plugin>
  831. <groupId>org.mortbay.jetty</groupId>
  832. <artifactId>jetty-maven-plugin</artifactId>
  833. <version>${jetty.version}</version>
  834. <configuration>
  835. <connectors>
  836. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  837. <port>${webserver.port}</port>
  838. </connector>
  839. </connectors>
  840. <webAppConfig>
  841. <contextPath>/${project.artifactId}</contextPath>
  842. </webAppConfig>
  843. <systemProperties>
  844. <systemProperty>
  845. <name>org.mortbay.util.URI.charset</name>
  846. <value>${project.build.sourceEncoding}</value>
  847. </systemProperty>
  848. </systemProperties>
  849. </configuration>
  850. </plugin>
  851. <!-- resource插件 -->
  852. <plugin>
  853. <groupId>org.apache.maven.plugins</groupId>
  854. <artifactId>maven-resources-plugin</artifactId>
  855. <version>2.7</version>
  856. </plugin>
  857. <!-- install插件 -->
  858. <plugin>
  859. <groupId>org.apache.maven.plugins</groupId>
  860. <artifactId>maven-install-plugin</artifactId>
  861. <version>2.5.2</version>
  862. </plugin>
  863. <!-- clean插件 -->
  864. <plugin>
  865. <groupId>org.apache.maven.plugins</groupId>
  866. <artifactId>maven-clean-plugin</artifactId>
  867. <version>2.6.1</version>
  868. </plugin>
  869. <!-- ant插件 -->
  870. <plugin>
  871. <groupId>org.apache.maven.plugins</groupId>
  872. <artifactId>maven-antrun-plugin</artifactId>
  873. <version>1.8</version>
  874. </plugin>
  875. <!-- dependency插件 -->
  876. <plugin>
  877. <groupId>org.apache.maven.plugins</groupId>
  878. <artifactId>maven-dependency-plugin</artifactId>
  879. <version>2.10</version>
  880. </plugin>
  881. </plugins>
  882. </build>
  883. <!-- 开发者信息 -->
  884. <developers>
  885. <developer>
  886. <id>thinkgem</id>
  887. <name>WangZhen</name>
  888. <email>thinkgem at 163.com</email>
  889. <roles><role>Project lead</role></roles>
  890. <timezone>+8</timezone>
  891. </developer>
  892. </developers>
  893. </project>