pom.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908
  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>hotels_sys</artifactId>
  7. <version>1.2.7</version>
  8. <packaging>war</packaging>
  9. <name>JeeSite</name>
  10. <url>http://thinkgem.github.com/jeesite</url>
  11. <inceptionYear>2012-2016</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.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>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.6</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. <!-- xstream xml -->
  430. <dependency>
  431. <groupId>com.thoughtworks.xstream</groupId>
  432. <artifactId>xstream</artifactId>
  433. <version>${xstream.version}</version>
  434. </dependency>
  435. <!-- pojo copy -->
  436. <dependency>
  437. <groupId>net.sf.dozer</groupId>
  438. <artifactId>dozer</artifactId>
  439. <version>${dozer.version}</version>
  440. </dependency>
  441. <!-- freemarker engine -->
  442. <dependency>
  443. <groupId>org.freemarker</groupId>
  444. <artifactId>freemarker</artifactId>
  445. <version>${freemarker.version}</version>
  446. </dependency>
  447. <!-- email -->
  448. <dependency>
  449. <groupId>javax.mail</groupId>
  450. <artifactId>mail</artifactId>
  451. <version>1.4.7</version>
  452. </dependency>
  453. <dependency>
  454. <groupId>javax.activation</groupId>
  455. <artifactId>activation</artifactId>
  456. <version>1.1.1</version>
  457. </dependency>
  458. <!-- poi office -->
  459. <dependency>
  460. <groupId>org.apache.poi</groupId>
  461. <artifactId>poi</artifactId>
  462. <version>${poi.version}</version>
  463. </dependency>
  464. <dependency>
  465. <groupId>org.apache.poi</groupId>
  466. <artifactId>poi-ooxml</artifactId>
  467. <version>${poi.version}</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>org.apache.poi</groupId>
  471. <artifactId>poi-ooxml-schemas</artifactId>
  472. <version>${poi.version}</version>
  473. </dependency>
  474. <!-- image util -->
  475. <dependency>
  476. <groupId>com.drewnoakes</groupId>
  477. <artifactId>metadata-extractor</artifactId>
  478. <version>2.6.2</version>
  479. </dependency>
  480. <!-- 条形码、二维码生成 -->
  481. <dependency>
  482. <groupId>com.google.zxing</groupId>
  483. <artifactId>core</artifactId>
  484. <version>2.2</version>
  485. </dependency>
  486. <dependency>
  487. <groupId>com.google.zxing</groupId>
  488. <artifactId>javase</artifactId>
  489. <version>2.2</version>
  490. </dependency>
  491. <!-- 中文分词 -->
  492. <dependency>
  493. <groupId>org.wltea</groupId>
  494. <artifactId>analyzer</artifactId>
  495. <version>2012_u6</version>
  496. <scope>system</scope>
  497. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/analyzer-2012_u6.jar</systemPath>
  498. </dependency>
  499. <!-- GENERAL UTILS end -->
  500. <!-- CKFinder begin -->
  501. <dependency>
  502. <groupId>net.coobird</groupId>
  503. <artifactId>thumbnailator</artifactId>
  504. <version>0.4.2</version>
  505. <scope>system</scope>
  506. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/thumbnailator-0.4.2.jar</systemPath>
  507. </dependency>
  508. <dependency>
  509. <groupId>com.ckfinder</groupId>
  510. <artifactId>apache-ant-zip</artifactId>
  511. <version>2.3</version>
  512. <scope>system</scope>
  513. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/apache-ant-zip-2.3.jar</systemPath>
  514. </dependency>
  515. <dependency>
  516. <groupId>com.ckfinder</groupId>
  517. <artifactId>ckfinder</artifactId>
  518. <version>2.3</version>
  519. <scope>system</scope>
  520. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinder-2.3.jar</systemPath>
  521. </dependency>
  522. <dependency>
  523. <groupId>com.ckfinder</groupId>
  524. <artifactId>ckfinderplugin-fileeditor</artifactId>
  525. <version>2.3</version>
  526. <scope>system</scope>
  527. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-fileeditor-2.3.jar</systemPath>
  528. </dependency>
  529. <dependency>
  530. <groupId>com.ckfinder</groupId>
  531. <artifactId>ckfinderplugin-imageresize</artifactId>
  532. <version>2.3</version>
  533. <scope>system</scope>
  534. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ckfinderplugin-imageresize-2.3.jar</systemPath>
  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. <scope>system</scope>
  555. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/UserAgentUtils-1.13.jar</systemPath>
  556. </dependency>
  557. <!-- 自定义jar依赖包
  558. <dependency>
  559. <groupId>com.thinkgem.jeesite</groupId>
  560. <artifactId>test-core</artifactId>
  561. <version>1.0</version>
  562. <scope>system</scope>
  563. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/test-core-1.0.jar</systemPath>
  564. </dependency> -->
  565. <!-- 使用 Jetty JSP引擎
  566. <dependency>
  567. <groupId>org.eclipse.jetty</groupId>
  568. <artifactId>jetty-jsp</artifactId>
  569. <version>${jetty.version}</version>
  570. <exclusions>
  571. <exclusion>
  572. <groupId>org.eclipse.jetty.orbit</groupId>
  573. <artifactId>javax.servlet</artifactId>
  574. </exclusion>
  575. <exclusion>
  576. <groupId>org.eclipse.jetty.orbit</groupId>
  577. <artifactId>org.apache.taglibs.standard.glassfish</artifactId>
  578. </exclusion>
  579. </exclusions>
  580. </dependency> -->
  581. </dependencies>
  582. <build>
  583. <outputDirectory>${project.basedir}/src/main/webapp/WEB-INF/classes/</outputDirectory>
  584. <plugins>
  585. <!-- Compiler 插件, 设定JDK版本 -->
  586. <plugin>
  587. <groupId>org.apache.maven.plugins</groupId>
  588. <artifactId>maven-compiler-plugin</artifactId>
  589. <version>3.5.1</version>
  590. <configuration>
  591. <source>${jdk.version}</source>
  592. <target>${jdk.version}</target>
  593. <showWarnings>true</showWarnings>
  594. </configuration>
  595. </plugin>
  596. <!-- JSP 预编译插件 jspweb.xml
  597. <plugin>
  598. <groupId>org.jasig.mojo.jspc</groupId>
  599. <artifactId>jspc-maven-plugin</artifactId>
  600. <version>2.0.0</version>
  601. <configuration>
  602. <injectString>&lt;!- - [INSERT FRAGMENT HERE] - -&gt;</injectString>
  603. </configuration>
  604. <executions>
  605. <execution>
  606. <goals>
  607. <goal>compile</goal>
  608. </goals>
  609. </execution>
  610. </executions>
  611. <dependencies>
  612. <dependency>
  613. <groupId>org.jasig.mojo.jspc</groupId>
  614. <artifactId>jspc-compiler-tomcat6</artifactId>
  615. <version>2.0.0</version>
  616. </dependency>
  617. </dependencies>
  618. </plugin>-->
  619. <!-- Jetty JSP 预编译插件 web.xml
  620. <plugin>
  621. <groupId>org.mortbay.jetty</groupId>
  622. <artifactId>jetty-jspc-maven-plugin</artifactId>
  623. <version>${jetty.version}</version>
  624. <configuration>
  625. <insertionMarker>&lt;!- - [INSERT FRAGMENT HERE] - -&gt;</insertionMarker>
  626. </configuration>
  627. <executions>
  628. <execution>
  629. <goals>
  630. <goal>jspc</goal>
  631. </goals>
  632. </execution>
  633. </executions>
  634. </plugin>-->
  635. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  636. <plugin>
  637. <groupId>org.apache.maven.plugins</groupId>
  638. <artifactId>maven-jar-plugin</artifactId>
  639. <version>2.4</version>
  640. <configuration>
  641. <encoding>${project.build.sourceEncoding}</encoding>
  642. </configuration>
  643. <!-- <executions>
  644. <execution>
  645. <phase>prepare-package</phase>
  646. <goals>
  647. <goal>jar</goal>
  648. </goals>
  649. <configuration>
  650. <classesDirectory>${project.outputDirectory}</classesDirectory>
  651. <finalName>jeesite</finalName>
  652. <outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
  653. <includes>
  654. <include>com/thinkgem/jeesite/**</include>
  655. </includes>
  656. </configuration>
  657. </execution>
  658. </executions> -->
  659. </plugin>
  660. <!-- 混淆代码
  661. <plugin>
  662. <groupId>com.github.wvengen</groupId>
  663. <artifactId>proguard-maven-plugin</artifactId>
  664. <version>2.0.11</version>
  665. <executions>
  666. <execution>
  667. <phase>prepare-package</phase>
  668. <goals>
  669. <goal>proguard</goal>
  670. </goals>
  671. </execution>
  672. </executions>
  673. <configuration>
  674. <obfuscate>true</obfuscate>
  675. <options>
  676. <option>-injars ${project.build.directory}/${project.artifactId}/WEB-INF/lib/jeesite.jar</option>
  677. </options>
  678. <outjar>${project.artifactId}/WEB-INF/lib/jeesite_out.jar</outjar>
  679. <outputDirectory>${project.build.directory}</outputDirectory>
  680. <proguardInclude>${basedir}/proguard.cfg</proguardInclude>
  681. <source>${jdk.version}</source>
  682. <target>${jdk.version}</target>
  683. <encoding>${project.build.sourceEncoding}</encoding>
  684. <libs>
  685. <lib>${java.home}/lib/rt.jar</lib>
  686. <lib>${java.home}/lib/jsse.jar</lib>
  687. <lib>${java.home}/lib/jce.jar</lib>
  688. </libs>
  689. <addMavenDescriptor>false</addMavenDescriptor>
  690. </configuration>
  691. <dependencies>
  692. <dependency>
  693. <groupId>net.sf.proguard</groupId>
  694. <artifactId>proguard-base</artifactId>
  695. <version>4.9</version>
  696. <scope>runtime</scope>
  697. </dependency>
  698. </dependencies>
  699. </plugin> -->
  700. <!-- war 打包插件, 设定war包名称不带版本号 -->
  701. <plugin>
  702. <groupId>org.apache.maven.plugins</groupId>
  703. <artifactId>maven-war-plugin</artifactId>
  704. <version>2.4</version>
  705. <configuration>
  706. <packagingExcludes>
  707. <!-- WEB-INF/classes/com/thinkgem/jeesite/** -->
  708. WEB-INF/classes/org/apache/ibatis/**,
  709. WEB-INF/classes/org/mybatis/spring/**
  710. </packagingExcludes>
  711. <warSourceExcludes>
  712. static/bootstrap/2.3.1/docs/**,
  713. static/ckeditor/_samples/**,
  714. static/ckeditor/_source/**,
  715. static/ckfinder/_samples/**,
  716. static/ckfinder/help/**,
  717. static/compressor*/**,
  718. static/jquery-jbox/2.3/docs/**,
  719. static/jquery-jbox/2.3/Skins2/**,
  720. static/jquery-validation/1.11.0/demo/**,
  721. static/jquery-ztree/3.5.12/demo/**,
  722. static/My97DatePicker/docs/**,
  723. static/supcan/doc/**,
  724. static/SuperSlide/demo/**,
  725. static/treeTable/demo/**<!-- , -->
  726. <!-- userfiles/** --><!-- ,/**/*.jsp -->,
  727. test/**
  728. </warSourceExcludes>
  729. <webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory><!--
  730. <webXml>${project.basedir}/target/jspweb.xml</webXml> -->
  731. <warName>${project.artifactId}</warName>
  732. </configuration>
  733. </plugin>
  734. <!-- Eclipse 插件 -->
  735. <plugin>
  736. <groupId>org.apache.maven.plugins</groupId>
  737. <artifactId>maven-eclipse-plugin</artifactId>
  738. <version>2.9</version>
  739. <configuration>
  740. <downloadSources>${downloadSources}</downloadSources>
  741. <downloadJavadocs>false</downloadJavadocs>
  742. <wtpversion>2.0</wtpversion>
  743. <jeeversion>5.0</jeeversion>
  744. <!-- <jeeversion>6.0</jeeversion> -->
  745. <additionalConfig>
  746. <file>
  747. <name>.settings/org.eclipse.core.resources.prefs</name>
  748. <content>
  749. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
  750. </content>
  751. </file>
  752. </additionalConfig>
  753. <additionalProjectnatures>
  754. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  755. </additionalProjectnatures>
  756. </configuration>
  757. </plugin>
  758. <!-- tomcat6插件 -->
  759. <plugin>
  760. <groupId>org.apache.tomcat.maven</groupId>
  761. <artifactId>tomcat6-maven-plugin</artifactId>
  762. <version>${tomcat.version}</version>
  763. <configuration>
  764. <port>${webserver.port}</port>
  765. <path>/${project.artifactId}</path>
  766. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  767. </configuration>
  768. </plugin>
  769. <!-- tomcat7插件 -->
  770. <plugin>
  771. <groupId>org.apache.tomcat.maven</groupId>
  772. <artifactId>tomcat7-maven-plugin</artifactId>
  773. <version>${tomcat.version}</version>
  774. <configuration>
  775. <port>${webserver.port}</port>
  776. <path>/${project.artifactId}</path>
  777. <uriEncoding>${project.build.sourceEncoding}</uriEncoding>
  778. </configuration>
  779. </plugin>
  780. <!-- jetty插件 -->
  781. <plugin>
  782. <groupId>org.mortbay.jetty</groupId>
  783. <artifactId>jetty-maven-plugin</artifactId>
  784. <version>${jetty.version}</version>
  785. <configuration>
  786. <connectors>
  787. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  788. <port>${webserver.port}</port>
  789. </connector>
  790. </connectors>
  791. <webAppConfig>
  792. <contextPath>/${project.artifactId}</contextPath>
  793. </webAppConfig>
  794. <systemProperties>
  795. <systemProperty>
  796. <name>org.mortbay.util.URI.charset</name>
  797. <value>${project.build.sourceEncoding}</value>
  798. </systemProperty>
  799. </systemProperties>
  800. </configuration>
  801. </plugin>
  802. <!-- resource插件 -->
  803. <plugin>
  804. <groupId>org.apache.maven.plugins</groupId>
  805. <artifactId>maven-resources-plugin</artifactId>
  806. <version>2.7</version>
  807. </plugin>
  808. <!-- install插件 -->
  809. <plugin>
  810. <groupId>org.apache.maven.plugins</groupId>
  811. <artifactId>maven-install-plugin</artifactId>
  812. <version>2.5.2</version>
  813. </plugin>
  814. <!-- clean插件 -->
  815. <plugin>
  816. <groupId>org.apache.maven.plugins</groupId>
  817. <artifactId>maven-clean-plugin</artifactId>
  818. <version>2.6.1</version>
  819. </plugin>
  820. <!-- ant插件 -->
  821. <plugin>
  822. <groupId>org.apache.maven.plugins</groupId>
  823. <artifactId>maven-antrun-plugin</artifactId>
  824. <version>1.8</version>
  825. </plugin>
  826. <!-- dependency插件 -->
  827. <plugin>
  828. <groupId>org.apache.maven.plugins</groupId>
  829. <artifactId>maven-dependency-plugin</artifactId>
  830. <version>2.10</version>
  831. </plugin>
  832. </plugins>
  833. </build>
  834. <!-- 开发者信息 -->
  835. <developers>
  836. <developer>
  837. <id>thinkgem</id>
  838. <name>WangZhen</name>
  839. <email>thinkgem at 163.com</email>
  840. <roles><role>Project lead</role></roles>
  841. <timezone>+8</timezone>
  842. </developer>
  843. </developers>
  844. </project>