pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.uas.platform</groupId>
  5. <artifactId>platform</artifactId>
  6. <packaging>pom</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>platform app</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.7</maven.compiler.source>
  13. <maven.compiler.target>1.7</maven.compiler.target>
  14. <skipTests>true</skipTests>
  15. <spring.version>4.1.6.RELEASE</spring.version>
  16. <spring.security.version>3.2.7.RELEASE</spring.security.version>
  17. <spring.mobile.version>1.1.2.RELEASE</spring.mobile.version>
  18. <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
  19. <jackson.version>1.9.13</jackson.version>
  20. <fasterxml.jackson.version>2.5.3</fasterxml.jackson.version>
  21. <commons.dbcp.version>1.4</commons.dbcp.version>
  22. <druid.version>1.0.24</druid.version>
  23. <javax.servlet.version>3.0-alpha-1</javax.servlet.version>
  24. <junit.version>4.12</junit.version>
  25. <log4j.version>1.2.16</log4j.version>
  26. <aspectj.version>1.7.2</aspectj.version>
  27. <slf4j.version>1.7.5</slf4j.version>
  28. <ehcache.web.version>2.0.4</ehcache.web.version>
  29. <platform.version>0.0.1-SNAPSHOT</platform.version>
  30. <spring.data.jpa>1.8.0.RELEASE</spring.data.jpa>
  31. <jboss.logging>3.2.1.Final</jboss.logging>
  32. <lucene.version>5.2.0</lucene.version>
  33. <activemq.version>5.12.1</activemq.version>
  34. <common.compress.version>1.10</common.compress.version>
  35. <hessian.version>4.0.38</hessian.version>
  36. <dubbo.version>2.8.4</dubbo.version>
  37. <zookeeper.version>3.4.6</zookeeper.version>
  38. <zkclient.version>0.1</zkclient.version>
  39. <dfs.version>0.0.2</dfs.version>
  40. <kryo.version>1.04</kryo.version>
  41. <search.version>0.1.9-SNAPSHOT</search.version>
  42. <account.version>0.0.1-SNAPSHOT</account.version>
  43. <message.version>0.0.1</message.version>
  44. <pinyin.version>2.5.1</pinyin.version>
  45. </properties>
  46. <profiles>
  47. <profile>
  48. <id>snapshot</id>
  49. <activation>
  50. <activeByDefault>true</activeByDefault>
  51. </activation>
  52. <modules>
  53. <!-- 基础技术 -->
  54. <module>../platform-core</module>
  55. <!-- 业务 -->
  56. <module>../platform-b2b</module>
  57. <module>../platform-b2c</module>
  58. <!-- 管理 -->
  59. <module>../platform-manage</module>
  60. </modules>
  61. </profile>
  62. <profile>
  63. <id>release</id>
  64. </profile>
  65. </profiles>
  66. <!-- 集中管理dependency,避免各子模块版本不一致 -->
  67. <dependencyManagement>
  68. <dependencies>
  69. <dependency>
  70. <groupId>javax.servlet</groupId>
  71. <artifactId>servlet-api</artifactId>
  72. <version>${javax.servlet.version}</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>junit</groupId>
  77. <artifactId>junit</artifactId>
  78. <version>${junit.version}</version>
  79. <scope>test</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>log4j</groupId>
  83. <artifactId>log4j</artifactId>
  84. <version>${log4j.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.uas.platform</groupId>
  88. <artifactId>platform-core</artifactId>
  89. <version>${platform.version}</version>
  90. <type>jar</type>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.uas.platform</groupId>
  94. <artifactId>platform-supports</artifactId>
  95. <version>${platform.version}</version>
  96. <type>jar</type>
  97. </dependency>
  98. <!-- spring -->
  99. <dependency>
  100. <groupId>org.springframework</groupId>
  101. <artifactId>spring-core</artifactId>
  102. <version>${spring.version}</version>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>commons-logging</groupId>
  106. <artifactId>commons-logging</artifactId>
  107. </exclusion>
  108. </exclusions>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-context</artifactId>
  113. <version>${spring.version}</version>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>commons-logging</groupId>
  117. <artifactId>commons-logging</artifactId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework</groupId>
  123. <artifactId>spring-context-support</artifactId>
  124. <version>${spring.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-web</artifactId>
  129. <version>${spring.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-webmvc</artifactId>
  134. <version>${spring.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework</groupId>
  138. <artifactId>spring-jdbc</artifactId>
  139. <version>${spring.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework</groupId>
  143. <artifactId>spring-tx</artifactId>
  144. <version>${spring.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-aop</artifactId>
  149. <version>${spring.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework</groupId>
  153. <artifactId>spring-aspects</artifactId>
  154. <version>${spring.version}</version>
  155. </dependency>
  156. <!-- spring mobile -->
  157. <dependency>
  158. <groupId>org.springframework.mobile</groupId>
  159. <artifactId>spring-mobile-device</artifactId>
  160. <version>${spring.mobile.version}</version>
  161. </dependency>
  162. <!-- hibernate -->
  163. <dependency>
  164. <groupId>org.hibernate</groupId>
  165. <artifactId>hibernate-core</artifactId>
  166. <version>4.3.7.Final</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.hibernate</groupId>
  170. <artifactId>hibernate-entitymanager</artifactId>
  171. <version>4.3.7.Final</version>
  172. <exclusions>
  173. <exclusion>
  174. <groupId>cglib</groupId>
  175. <artifactId>cglib</artifactId>
  176. </exclusion>
  177. <exclusion>
  178. <groupId>dom4j</groupId>
  179. <artifactId>dom4j</artifactId>
  180. </exclusion>
  181. </exclusions>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.hibernate.javax.persistence</groupId>
  185. <artifactId>hibernate-jpa-2.1-api</artifactId>
  186. <version>1.0.0.Final</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>commons-collections</groupId>
  190. <artifactId>commons-collections</artifactId>
  191. <version>3.2.1</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.hibernate</groupId>
  195. <artifactId>hibernate-validator</artifactId>
  196. <version>5.1.3.Final</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>slf4j-api</artifactId>
  201. <version>${slf4j.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.slf4j</groupId>
  205. <artifactId>jcl-over-slf4j</artifactId>
  206. <version>${slf4j.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.slf4j</groupId>
  210. <artifactId>slf4j-log4j12</artifactId>
  211. <version>${slf4j.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.aspectj</groupId>
  215. <artifactId>aspectjrt</artifactId>
  216. <version>${aspectj.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.aspectj</groupId>
  220. <artifactId>aspectjweaver</artifactId>
  221. <version>${aspectj.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.commons</groupId>
  225. <artifactId>commons-lang3</artifactId>
  226. <version>3.1</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>javax.validation</groupId>
  230. <artifactId>validation-api</artifactId>
  231. <version>1.1.0.Final</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>javax.transaction</groupId>
  235. <artifactId>jta</artifactId>
  236. <version>1.1</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.hibernate</groupId>
  240. <artifactId>hibernate-ehcache</artifactId>
  241. <version>4.3.7.Final</version>
  242. </dependency>
  243. <!-- security -->
  244. <dependency>
  245. <groupId>org.springframework.security</groupId>
  246. <artifactId>spring-security-core</artifactId>
  247. <version>${spring.security.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.springframework.security</groupId>
  251. <artifactId>spring-security-config</artifactId>
  252. <version>${spring.security.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.springframework.security</groupId>
  256. <artifactId>spring-security-web</artifactId>
  257. <version>${spring.security.version}</version>
  258. </dependency>
  259. <!-- jdbc -->
  260. <dependency>
  261. <groupId>com.oracle</groupId>
  262. <artifactId>ojdbc6</artifactId>
  263. <version>${oracle.jdbc.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.springframework</groupId>
  267. <artifactId>spring-orm</artifactId>
  268. <version>${spring.version}</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>commons-pool</groupId>
  272. <artifactId>commons-pool</artifactId>
  273. <version>1.5.6</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>commons-dbcp</groupId>
  277. <artifactId>commons-dbcp</artifactId>
  278. <version>${commons.dbcp.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.alibaba</groupId>
  282. <artifactId>druid</artifactId>
  283. <version>${druid.version}</version>
  284. </dependency>
  285. <!-- jpa -->
  286. <dependency>
  287. <groupId>org.springframework.data</groupId>
  288. <artifactId>spring-data-jpa</artifactId>
  289. <version>${spring.data.jpa}</version>
  290. </dependency>
  291. <!--json-lib -->
  292. <dependency>
  293. <groupId>net.sf.json-lib</groupId>
  294. <artifactId>json-lib</artifactId>
  295. <version>2.4</version>
  296. <classifier>jdk15</classifier>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.codehaus.jackson</groupId>
  300. <artifactId>jackson-core-asl</artifactId>
  301. <version>${jackson.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.codehaus.jackson</groupId>
  305. <artifactId>jackson-mapper-asl</artifactId>
  306. <version>${jackson.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>net.sf.flexjson</groupId>
  310. <artifactId>flexjson</artifactId>
  311. <version>3.3</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.alibaba</groupId>
  315. <artifactId>fastjson</artifactId>
  316. <version>1.2.14</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>com.fasterxml.jackson.core</groupId>
  320. <artifactId>jackson-core</artifactId>
  321. <version>${fasterxml.jackson.version}</version>
  322. </dependency>
  323. <dependency>
  324. <groupId>com.fasterxml.jackson.core</groupId>
  325. <artifactId>jackson-databind</artifactId>
  326. <version>${fasterxml.jackson.version}</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>com.fasterxml.jackson.core</groupId>
  330. <artifactId>jackson-annotations</artifactId>
  331. <version>${fasterxml.jackson.version}</version>
  332. </dependency>
  333. <!-- velocity -->
  334. <dependency>
  335. <groupId>org.apache.velocity</groupId>
  336. <artifactId>velocity</artifactId>
  337. <version>1.7</version>
  338. <exclusions>
  339. <exclusion>
  340. <groupId>javax.servlet</groupId>
  341. <artifactId>servlet-api</artifactId>
  342. </exclusion>
  343. </exclusions>
  344. </dependency>
  345. <!-- ehcache -->
  346. <dependency>
  347. <groupId>net.sf.ehcache</groupId>
  348. <artifactId>ehcache-web</artifactId>
  349. <version>${ehcache.web.version}</version>
  350. </dependency>
  351. <!-- pinyin -->
  352. <dependency>
  353. <groupId>com.belerweb</groupId>
  354. <artifactId>pinyin4j</artifactId>
  355. <version>${pinyin.version}</version>
  356. </dependency>
  357. <!-- mail -->
  358. <dependency>
  359. <groupId>javax.mail</groupId>
  360. <artifactId>mail</artifactId>
  361. <version>1.4.1</version>
  362. </dependency>
  363. <!-- axis -->
  364. <dependency>
  365. <groupId>org.apache.axis</groupId>
  366. <artifactId>axis</artifactId>
  367. <version>1.4</version>
  368. </dependency>
  369. <!-- mq -->
  370. <dependency>
  371. <groupId>org.apache.activemq</groupId>
  372. <artifactId>activemq-all</artifactId>
  373. <version>${activemq.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>org.apache.commons</groupId>
  377. <artifactId>commons-compress</artifactId>
  378. <version>${common.compress.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>com.caucho</groupId>
  382. <artifactId>hessian</artifactId>
  383. <version>${hessian.version}</version>
  384. </dependency>
  385. <!-- dubbo -->
  386. <dependency>
  387. <groupId>com.alibaba</groupId>
  388. <artifactId>dubbo</artifactId>
  389. <version>${dubbo.version}</version>
  390. </dependency>
  391. <dependency>
  392. <groupId>org.apache.zookeeper</groupId>
  393. <artifactId>zookeeper</artifactId>
  394. <version>${zookeeper.version}</version>
  395. </dependency>
  396. <dependency>
  397. <groupId>com.github.sgroschupf</groupId>
  398. <artifactId>zkclient</artifactId>
  399. <version>${zkclient.version}</version>
  400. </dependency>
  401. <!-- dfs service on dubbo -->
  402. <dependency>
  403. <groupId>com.uas.dfs</groupId>
  404. <artifactId>dfs-api</artifactId>
  405. <version>${dfs.version}</version>
  406. </dependency>
  407. <!-- kryo -->
  408. <dependency>
  409. <groupId>com.googlecode</groupId>
  410. <artifactId>kryo</artifactId>
  411. <version>${kryo.version}</version>
  412. </dependency>
  413. <!-- search service on dubbo -->
  414. <dependency>
  415. <groupId>com.uas.search</groupId>
  416. <artifactId>search-api</artifactId>
  417. <version>${search.version}</version>
  418. </dependency>
  419. <!-- search service on dubbo -->
  420. <dependency>
  421. <groupId>com.uas.search</groupId>
  422. <artifactId>search-api-b2b</artifactId>
  423. <version>${search.version}</version>
  424. </dependency>
  425. <!-- account center -->
  426. <dependency>
  427. <groupId>com.uas.account</groupId>
  428. <artifactId>account-common</artifactId>
  429. <version>${account.version}</version>
  430. </dependency>
  431. <!-- message center -->
  432. <dependency>
  433. <groupId>com.uas.message</groupId>
  434. <artifactId>message-mail-api</artifactId>
  435. <version>${message.version}</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>com.uas.message</groupId>
  439. <artifactId>message-sms-api</artifactId>
  440. <version>${message.version}</version>
  441. </dependency>
  442. </dependencies>
  443. </dependencyManagement>
  444. <build>
  445. <finalName>platform</finalName>
  446. <pluginManagement>
  447. <plugins>
  448. <plugin>
  449. <groupId>org.apache.maven.plugins</groupId>
  450. <artifactId>maven-resources-plugin</artifactId>
  451. <version>2.6</version>
  452. <configuration>
  453. <encoding>UTF-8</encoding>
  454. </configuration>
  455. </plugin>
  456. <plugin>
  457. <groupId>org.apache.maven.plugins</groupId>
  458. <artifactId>maven-compiler-plugin</artifactId>
  459. <version>2.5.1</version>
  460. <configuration>
  461. <encoding>UTF-8</encoding>
  462. </configuration>
  463. </plugin>
  464. </plugins>
  465. </pluginManagement>
  466. </build>
  467. <distributionManagement>
  468. <!-- 发布release仓库 -->
  469. <repository>
  470. <id>platform-release</id>
  471. <name>platform-release</name>
  472. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  473. </repository>
  474. <!-- 发布快照版本 -->
  475. <snapshotRepository>
  476. <id>platform-snapshots</id>
  477. <name>platform-snapshots</name>
  478. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  479. </snapshotRepository>
  480. </distributionManagement>
  481. </project>