pom.xml 26 KB

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