pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>cn.com.liandisys</groupId>
  4. <artifactId>ycjt-ggcx</artifactId>
  5. <packaging>war</packaging>
  6. <version>2.1-SNAPSHOT</version>
  7. <name>ycjt-ggcx Maven Webapp</name>
  8. <url>http://maven.apache.org</url>
  9. <!-- 定义相关属性 -->
  10. <properties>
  11. <jdk-version>1.7</jdk-version>
  12. <junit-version>4.11</junit-version>
  13. <spring-version>4.2.8.RELEASE</spring-version>
  14. <shiro.version>1.2.2</shiro.version>
  15. <ehcache.version>2.6.0</ehcache.version>
  16. <jackson.version>2.2.3</jackson.version>
  17. <commons-lang3.version>3.3.2</commons-lang3.version>
  18. <commons-io.version>2.4</commons-io.version>
  19. <commons-codec.version>1.9</commons-codec.version>
  20. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  21. <guava.version>17.0</guava.version>
  22. <ehcache.version>2.6.11</ehcache.version>
  23. <ehcache-web.version>2.0.4</ehcache-web.version>
  24. <sitemesh.version>2.4.2</sitemesh.version>
  25. </properties>
  26. <!-- 设定除中央仓库(repo1.maven.org/maven2/)外的其他仓库,按设定顺序进行查找. -->
  27. <repositories>
  28. <!-- LDNS Nexus私服 -->
  29. <repository>
  30. <id>nexus</id>
  31. <name>Team Nexus Repository</name>
  32. <url>http://172.16.4.110:8081/nexus/content/groups/public</url>
  33. </repository>
  34. </repositories>
  35. <pluginRepositories>
  36. <!-- 插件仓库 LDNS Nexus私服 -->
  37. <pluginRepository>
  38. <id>nexus</id>
  39. <name>Team Nexus Repository</name>
  40. <url>http://172.16.4.110:8081/nexus/content/groups/public</url>
  41. <snapshots>
  42. <enabled>false</enabled>
  43. </snapshots>
  44. </pluginRepository>
  45. </pluginRepositories>
  46. <!-- 设定除中央仓库(repo1.maven.org/maven2/)外的其他仓库,按设定顺序进行查找. -->
  47. <!-- 定义依赖包 -->
  48. <dependencies>
  49. <dependency>
  50. <groupId>junit</groupId>
  51. <artifactId>junit</artifactId>
  52. <version>3.8.1</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- spring begin-->
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-core</artifactId>
  59. <version>${spring-version}</version>
  60. <exclusions>
  61. <exclusion>
  62. <artifactId>commons-logging</artifactId>
  63. <groupId>commons-logging</groupId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-beans</artifactId>
  70. <version>${spring-version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-web</artifactId>
  75. <version>${spring-version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework</groupId>
  79. <artifactId>spring-webmvc</artifactId>
  80. <version>${spring-version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-context</artifactId>
  85. <version>${spring-version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.data</groupId>
  89. <artifactId>spring-data-jpa</artifactId>
  90. <version>1.7.0.RELEASE</version>
  91. </dependency>
  92. <!-- spring end-->
  93. <!-- hibernate begin -->
  94. <dependency>
  95. <groupId>org.hibernate</groupId>
  96. <artifactId>hibernate-core</artifactId>
  97. <version>4.2.1.Final</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.hibernate</groupId>
  101. <artifactId>hibernate-entitymanager</artifactId>
  102. <version>4.2.1.Final</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.hibernate.common</groupId>
  106. <artifactId>hibernate-commons-annotations</artifactId>
  107. <version>4.0.1.Final</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.hibernate</groupId>
  111. <artifactId>hibernate-validator</artifactId>
  112. <version>5.1.3.Final</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.hibernate</groupId>
  116. <artifactId>hibernate-c3p0</artifactId>
  117. <version>4.2.1.Final</version>
  118. </dependency>
  119. <!-- hibernate end -->
  120. <!-- SECURITY begin -->
  121. <dependency>
  122. <groupId>org.apache.shiro</groupId>
  123. <artifactId>shiro-core</artifactId>
  124. <version>${shiro.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.shiro</groupId>
  128. <artifactId>shiro-spring</artifactId>
  129. <version>${shiro.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.shiro</groupId>
  133. <artifactId>shiro-cas</artifactId>
  134. <version>${shiro.version}</version>
  135. <exclusions>
  136. <exclusion>
  137. <groupId>commons-logging</groupId>
  138. <artifactId>commons-logging</artifactId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.shiro</groupId>
  144. <artifactId>shiro-web</artifactId>
  145. <version>${shiro.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.shiro</groupId>
  149. <artifactId>shiro-ehcache</artifactId>
  150. <version>${shiro.version}</version>
  151. </dependency>
  152. <!-- SECURITY end -->
  153. <!-- CACHE begin -->
  154. <dependency>
  155. <groupId>net.sf.ehcache</groupId>
  156. <artifactId>ehcache-core</artifactId>
  157. <version>${ehcache.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>net.sf.ehcache</groupId>
  161. <artifactId>ehcache-web</artifactId>
  162. <version>${ehcache-web.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>redis.clients</groupId>
  166. <artifactId>jedis</artifactId>
  167. <version>2.5.1</version>
  168. </dependency>
  169. <!-- CACHE end -->
  170. <!-- jackson json -->
  171. <dependency>
  172. <groupId>com.fasterxml.jackson.core</groupId>
  173. <artifactId>jackson-core</artifactId>
  174. <version>${jackson.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.fasterxml.jackson.core</groupId>
  178. <artifactId>jackson-databind</artifactId>
  179. <version>${jackson.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.fasterxml.jackson.core</groupId>
  183. <artifactId>jackson-annotations</artifactId>
  184. <version>${jackson.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.fasterxml.jackson.module</groupId>
  188. <artifactId>jackson-module-jaxb-annotations</artifactId>
  189. <version>${jackson.version}</version>
  190. </dependency>
  191. <!-- log begin -->
  192. <dependency>
  193. <groupId>log4j</groupId>
  194. <artifactId>log4j</artifactId>
  195. <version>1.2.17</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.slf4j</groupId>
  199. <artifactId>slf4j-api</artifactId>
  200. <version>1.7.5</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>jcl-over-slf4j</artifactId>
  205. <version>1.7.5</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.slf4j</groupId>
  209. <artifactId>slf4j-log4j12</artifactId>
  210. <version>1.7.5</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>commons-logging</groupId>
  214. <artifactId>commons-logging</artifactId>
  215. <version>1.1.3</version>
  216. </dependency>
  217. <!-- log end -->
  218. <!-- optional datasource pool -->
  219. <dependency>
  220. <groupId>commons-dbcp</groupId>
  221. <artifactId>commons-dbcp</artifactId>
  222. <version>1.4</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>commons-pool</groupId>
  226. <artifactId>commons-pool</artifactId>
  227. <version>1.6</version>
  228. </dependency>
  229. <!-- PERSISTENCE end -->
  230. <dependency>
  231. <groupId>org.springframework</groupId>
  232. <artifactId>spring-tx</artifactId>
  233. <version>4.0.9.RELEASE</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>jstl</groupId>
  237. <artifactId>jstl</artifactId>
  238. <version>1.2</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>commons-lang</groupId>
  242. <artifactId>commons-lang</artifactId>
  243. <version>2.6</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.apache.commons</groupId>
  247. <artifactId>commons-lang3</artifactId>
  248. <version>${commons-lang3.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>commons-io</groupId>
  252. <artifactId>commons-io</artifactId>
  253. <version>${commons-io.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>commons-codec</groupId>
  257. <artifactId>commons-codec</artifactId>
  258. <version>${commons-codec.version}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>commons-fileupload</groupId>
  262. <artifactId>commons-fileupload</artifactId>
  263. <version>${commons-fileupload.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>commons-collections</groupId>
  267. <artifactId>commons-collections</artifactId>
  268. <version>3.2.1</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.codehaus.jackson</groupId>
  272. <artifactId>jackson-mapper-asl</artifactId>
  273. <version>1.9.13</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.codehaus.jackson</groupId>
  277. <artifactId>jackson-core-asl</artifactId>
  278. <version>1.9.13</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.oracle</groupId>
  282. <artifactId>ojdbc6</artifactId>
  283. <version>6_g</version>
  284. </dependency>
  285. <!-- google java lib -->
  286. <dependency>
  287. <groupId>com.google.guava</groupId>
  288. <artifactId>guava</artifactId>
  289. <version>${guava.version}</version>
  290. </dependency>
  291. <!-- log4jdbc -->
  292. <dependency>
  293. <groupId>org.bgee.log4jdbc-log4j2</groupId>
  294. <artifactId>log4jdbc-log4j2-jdbc4</artifactId>
  295. <version>1.16</version>
  296. <scope>runtime</scope>
  297. </dependency>
  298. <!-- log4jdbc end -->
  299. <dependency>
  300. <groupId>org.codehaus.jackson</groupId>
  301. <artifactId>jackson-jaxrs</artifactId>
  302. <version>1.9.13</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>net.sf.json-lib</groupId>
  306. <artifactId>json-lib</artifactId>
  307. <version>2.2.3</version>
  308. <classifier>jdk13</classifier>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.springframework.data</groupId>
  312. <artifactId>spring-data-commons</artifactId>
  313. <version>1.9.0.RELEASE</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>opensymphony</groupId>
  317. <artifactId>sitemesh</artifactId>
  318. <version>${sitemesh.version}</version>
  319. </dependency>
  320. <!-- CKFinder begin -->
  321. <dependency>
  322. <groupId>net.coobird</groupId>
  323. <artifactId>thumbnailator</artifactId>
  324. <version>0.4.2</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.ckfinder</groupId>
  328. <artifactId>apache-ant-zip</artifactId>
  329. <version>2.3</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.ckfinder</groupId>
  333. <artifactId>ckfinder</artifactId>
  334. <version>2.3</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>com.ckfinder</groupId>
  338. <artifactId>ckfinderplugin-fileeditor</artifactId>
  339. <version>2.3</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.ckfinder</groupId>
  343. <artifactId>ckfinderplugin-imageresize</artifactId>
  344. <version>2.3</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.jsoup</groupId>
  348. <artifactId>jsoup</artifactId>
  349. <version>1.10.1</version>
  350. </dependency>
  351. <!-- CKFinder end -->
  352. <dependency>
  353. <groupId>org.apache.axis2</groupId>
  354. <artifactId>axis2-adb</artifactId>
  355. <version>1.7.1</version>
  356. <exclusions>
  357. <exclusion>
  358. <groupId>javax.servlet</groupId>
  359. <artifactId>servlet-api</artifactId>
  360. </exclusion>
  361. </exclusions>
  362. </dependency>
  363. <!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2-transport-local -->
  364. <dependency>
  365. <groupId>org.apache.axis2</groupId>
  366. <artifactId>axis2-transport-local</artifactId>
  367. <version>1.7.1</version>
  368. </dependency>
  369. <!-- https://mvnrepository.com/artifact/org.apache.axis2/axis2-transport-http -->
  370. <dependency>
  371. <groupId>org.apache.axis2</groupId>
  372. <artifactId>axis2-transport-http</artifactId>
  373. <version>1.7.1</version>
  374. </dependency>
  375. <!-- axis 1.4 jar start -->
  376. <dependency>
  377. <groupId>org.apache.axis</groupId>
  378. <artifactId>axis</artifactId>
  379. <version>1.4</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>commons-discovery</groupId>
  383. <artifactId>commons-discovery</artifactId>
  384. <version>0.2</version>
  385. <exclusions>
  386. <exclusion>
  387. <groupId>commons-logging</groupId>
  388. <artifactId>commons-logging</artifactId>
  389. </exclusion>
  390. </exclusions>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.apache.axis</groupId>
  394. <artifactId>axis-jaxrpc</artifactId>
  395. <version>1.4</version>
  396. </dependency>
  397. <dependency>
  398. <groupId>org.apache.axis</groupId>
  399. <artifactId>axis-saaj</artifactId>
  400. <version>1.4</version>
  401. </dependency>
  402. <dependency>
  403. <groupId>wsdl4j</groupId>
  404. <artifactId>wsdl4j</artifactId>
  405. <version>1.4</version>
  406. </dependency>
  407. <!-- axis 1.4 jar end -->
  408. <dependency>
  409. <groupId>org.jdom</groupId>
  410. <artifactId>jdom</artifactId>
  411. <version>1.1.2</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>com.alibaba</groupId>
  415. <artifactId>fastjson</artifactId>
  416. <version>1.2.31</version>
  417. </dependency>
  418. <!-- 增加类似说明,防止报错 -->
  419. <dependency>
  420. <groupId>jaxen</groupId>
  421. <artifactId>jaxen</artifactId>
  422. <version>1.1.3</version>
  423. <exclusions>
  424. <exclusion>
  425. <artifactId>maven-cobertura-plugin</artifactId>
  426. <groupId>maven-plugins</groupId>
  427. </exclusion>
  428. <exclusion>
  429. <artifactId>maven-findbugs-plugin</artifactId>
  430. <groupId>maven-plugins</groupId>
  431. </exclusion>
  432. </exclusions>
  433. </dependency>
  434. <!-- APP消息推送 -->
  435. <dependency>
  436. <groupId>cn.jpush.api</groupId>
  437. <artifactId>jpush-client</artifactId>
  438. <version>3.3.0</version>
  439. </dependency>
  440. <dependency>
  441. <groupId>cn.jpush.api</groupId>
  442. <artifactId>jiguang-common</artifactId>
  443. <version>1.0.8</version>
  444. </dependency>
  445. <dependency>
  446. <groupId>io.netty</groupId>
  447. <artifactId>netty-all</artifactId>
  448. <version>4.1.6.Final</version>
  449. <scope>compile</scope>
  450. </dependency>
  451. <dependency>
  452. <groupId>com.google.code.gson</groupId>
  453. <artifactId>gson</artifactId>
  454. <version>2.3</version>
  455. </dependency>
  456. <dependency>
  457. <groupId>org.slf4j</groupId>
  458. <artifactId>slf4j-api</artifactId>
  459. <version>1.7.7</version>
  460. </dependency>
  461. <!-- For log4j -->
  462. <dependency>
  463. <groupId>org.slf4j</groupId>
  464. <artifactId>slf4j-log4j12</artifactId>
  465. <version>1.7.7</version>
  466. </dependency>
  467. <dependency>
  468. <groupId>log4j</groupId>
  469. <artifactId>log4j</artifactId>
  470. <version>1.2.17</version>
  471. </dependency>
  472. </dependencies>
  473. <!-- 配置构建 -->
  474. <build>
  475. <plugins>
  476. <!-- 指定JDK版本 -->
  477. <plugin>
  478. <groupId>org.apache.maven.plugins</groupId>
  479. <artifactId>maven-compiler-plugin</artifactId>
  480. <version>3.1</version>
  481. <configuration>
  482. <source>1.7</source>
  483. <target>1.7</target>
  484. <encoding>UTF-8</encoding>
  485. </configuration>
  486. </plugin>
  487. <!-- ant插件 -->
  488. <plugin>
  489. <groupId>org.apache.maven.plugins</groupId>
  490. <artifactId>maven-antrun-plugin</artifactId>
  491. <version>${jdk-version}</version>
  492. </plugin>
  493. </plugins>
  494. </build>
  495. </project>