pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <packaging>pom</packaging>
  7. <modules>
  8. <module>xchat-oauth2-service</module>
  9. <module>xchat-oauth2-web</module>
  10. <module>xchat-web</module>
  11. <module>xchat-service</module>
  12. <module>xchat-common</module>
  13. <module>xchat-admin-service</module>
  14. <module>xchat-admin-web</module>
  15. </modules>
  16. <groupId>com.xchat</groupId>
  17. <artifactId>xchat</artifactId>
  18. <version>0.0.1-SNAPSHOT</version>
  19. <name>xchat</name>
  20. <inceptionYear>2015</inceptionYear>
  21. <dependencies>
  22. <!--<dependency>-->
  23. <!--<groupId>org.slf4j</groupId>-->
  24. <!--<artifactId>slf4j-api</artifactId>-->
  25. <!--&lt;!&ndash;<version>1.6.2</version>&ndash;&gt;-->
  26. <!--<version>${slf4j.version}</version>-->
  27. <!--</dependency>-->
  28. <!--<dependency>-->
  29. <!--<groupId>org.slf4j</groupId>-->
  30. <!--<artifactId>jcl-over-slf4j</artifactId>-->
  31. <!--&lt;!&ndash;<version>1.6.2</version>&ndash;&gt;-->
  32. <!--<version>${slf4j.version}</version>-->
  33. <!--</dependency>-->
  34. <!--<dependency>-->
  35. <!--<groupId>ch.qos.logback</groupId>-->
  36. <!--<artifactId>logback-core</artifactId>-->
  37. <!--<version>0.9.29</version>-->
  38. <!--</dependency>-->
  39. <!--<dependency>-->
  40. <!--<groupId>ch.qos.logback</groupId>-->
  41. <!--<artifactId>logback-classic</artifactId>-->
  42. <!--<version>0.9.29</version>-->
  43. <!--</dependency>-->
  44. <!--<dependency>-->
  45. <!--<groupId>org.logback-extensions</groupId>-->
  46. <!--<artifactId>logback-ext-spring</artifactId>-->
  47. <!--<version>0.1.1</version>-->
  48. <!--</dependency>-->
  49. <!--spring切面日志-->
  50. <dependency>
  51. <groupId>org.aspectj</groupId>
  52. <artifactId>aspectjrt</artifactId>
  53. <version>${aspectj.version}</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.aspectj</groupId>
  58. <artifactId>aspectjweaver</artifactId>
  59. <version>${aspectj.version}</version>
  60. <scope>compile</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.slf4j</groupId>
  64. <artifactId>slf4j-api</artifactId>
  65. <version>${slf4j.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.slf4j</groupId>
  69. <artifactId>jul-to-slf4j</artifactId>
  70. <version>${slf4j.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.slf4j</groupId>
  74. <artifactId>jcl-over-slf4j</artifactId>
  75. <version>${slf4j.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.slf4j</groupId>
  79. <artifactId>log4j-over-slf4j</artifactId>
  80. <version>${slf4j.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>ch.qos.logback</groupId>
  84. <artifactId>logback-classic</artifactId>
  85. <version>${logback.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>ch.qos.logback</groupId>
  89. <artifactId>logback-core</artifactId>
  90. <version>${logback.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.logback-extensions</groupId>
  94. <artifactId>logback-ext-spring</artifactId>
  95. <version>0.1.1</version>
  96. </dependency>
  97. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  98. <dependency>
  99. <groupId>com.google.guava</groupId>
  100. <artifactId>guava</artifactId>
  101. <version>18.0</version>
  102. </dependency>
  103. <!-- connection pool -->
  104. <dependency>
  105. <groupId>commons-dbcp</groupId>
  106. <artifactId>commons-dbcp</artifactId>
  107. <version>1.4</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-pool</groupId>
  111. <artifactId>commons-pool</artifactId>
  112. <version>1.6</version>
  113. </dependency>
  114. <!-- jdbc driver -->
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <version>5.1.26</version>
  119. <scope>runtime</scope>
  120. </dependency>
  121. <!-- PERSISTENCE end -->
  122. <!-- JSON begin -->
  123. <dependency>
  124. <groupId>com.fasterxml.jackson.module</groupId>
  125. <artifactId>jackson-module-jaxb-annotations</artifactId>
  126. <version>2.3.3</version>
  127. </dependency>
  128. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
  129. <dependency>
  130. <groupId>com.fasterxml.jackson.core</groupId>
  131. <artifactId>jackson-core</artifactId>
  132. <version>2.8.7</version>
  133. </dependency>
  134. <!-- JSON end -->
  135. <!-- gson -->
  136. <dependency>
  137. <groupId>com.google.code.gson</groupId>
  138. <artifactId>gson</artifactId>
  139. <version>2.8.2</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>fastjson</artifactId>
  144. <version>1.2.47</version>
  145. </dependency>
  146. <!-- gson end -->
  147. <!-- spring -->
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-core</artifactId>
  151. <version>${springframework.version}</version>
  152. <exclusions>
  153. <exclusion>
  154. <groupId>commons-logging</groupId>
  155. <artifactId>commons-logging</artifactId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-context</artifactId>
  162. <version>${springframework.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-web</artifactId>
  167. <version>${springframework.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-webmvc</artifactId>
  172. <version>${springframework.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-jdbc</artifactId>
  177. <version>${springframework.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>spring-context-support</artifactId>
  182. <version>${springframework.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-orm</artifactId>
  187. <version>${springframework.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-tx</artifactId>
  192. <version>${springframework.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-aspects</artifactId>
  197. <version>${springframework.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-aop</artifactId>
  202. <version>${springframework.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.springframework</groupId>
  206. <artifactId>spring-oxm</artifactId>
  207. <version>${springframework.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.springframework.data</groupId>
  211. <artifactId>spring-data-jpa</artifactId>
  212. <version>1.0.2.RELEASE</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.httpcomponents</groupId>
  216. <artifactId>httpclient</artifactId>
  217. <version>4.4.1</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.httpcomponents</groupId>
  221. <artifactId>httpmime</artifactId>
  222. <version>4.4.1</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>Pingplusplus</groupId>
  226. <artifactId>pingpp-java</artifactId>
  227. <version>2.3.8</version>
  228. <type>jar</type>
  229. </dependency>
  230. <!-- https://mvnrepository.com/artifact/oro/oro -->
  231. <dependency>
  232. <groupId>oro</groupId>
  233. <artifactId>oro</artifactId>
  234. <version>2.0.8</version>
  235. </dependency>
  236. </dependencies>
  237. <!--
  238. <repositories>
  239. <repository>
  240. <snapshots>
  241. <enabled>false</enabled>
  242. </snapshots>
  243. <id>central</id>
  244. <name>bintray</name>
  245. <url>http://jcenter.bintray.com</url>
  246. </repository>
  247. </repositories>
  248. -->
  249. <!--<repositories>-->
  250. <!--<repository>-->
  251. <!--<releases>-->
  252. <!--<enabled>true</enabled>-->
  253. <!--</releases>-->
  254. <!--<snapshots>-->
  255. <!--<enabled>true</enabled>-->
  256. <!--</snapshots>-->
  257. <!--<id>public</id>-->
  258. <!--<name>Public Repositories</name>-->
  259. <!--<url>http://nexus.yy.com/nexus/content/groups/public/</url>-->
  260. <!--</repository>-->
  261. <!--<repository>-->
  262. <!--<releases>-->
  263. <!--<enabled>true</enabled>-->
  264. <!--</releases>-->
  265. <!--<id>yymz</id>-->
  266. <!--<name>Public Repositories</name>-->
  267. <!--<url>http://nexus.yy.com/nexus/content/repositories/yymz/</url>-->
  268. <!--</repository>-->
  269. <!--<repository>-->
  270. <!--<releases>-->
  271. <!--<enabled>true</enabled>-->
  272. <!--</releases>-->
  273. <!--<snapshots>-->
  274. <!--<enabled>true</enabled>-->
  275. <!--</snapshots>-->
  276. <!--<id>yyent</id>-->
  277. <!--<name>Public Repositories</name>-->
  278. <!--<url>http://nexus.yy.com/nexus/content/repositories/yyent/</url>-->
  279. <!--</repository>-->
  280. <!--<repository>-->
  281. <!--<id>yyent-release</id>-->
  282. <!--<name>Public Repositories</name>-->
  283. <!--<url>http://nexus.yy.com/nexus/content/repositories/yyent-release/</url>-->
  284. <!--<releases>-->
  285. <!--<enabled>true</enabled>-->
  286. <!--</releases>-->
  287. <!--</repository>-->
  288. <!--</repositories>-->
  289. <properties>
  290. <spring.security.version>3.2.5.RELEASE</spring.security.version>
  291. <aspectj.version>1.6.10</aspectj.version>
  292. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  293. <springframework.version>4.1.0.RELEASE</springframework.version>
  294. <guava.version>18.0</guava.version>
  295. <joda_time.version>2.4</joda_time.version>
  296. <jackson.version>2.3.3</jackson.version>
  297. <hessian.version>4.0.38</hessian.version>
  298. <jedis.version>2.6.0</jedis.version>
  299. <mongodb.version>2.11.3</mongodb.version>
  300. <thrift.version>0.6.1</thrift.version>
  301. <jetty.version>8.1.14.v20131031</jetty.version>
  302. <slf4j.version>1.7.7</slf4j.version>
  303. <logback.version>1.1.2</logback.version>
  304. <junit.version>4.11</junit.version>
  305. <mockito.version>1.9.5</mockito.version>
  306. <powermock.version>1.5.6</powermock.version>
  307. <solrj.version>4.10.1</solrj.version>
  308. <java.version>1.8</java.version>
  309. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  310. <thrift_client_pooling.version>1.3.1</thrift_client_pooling.version>
  311. <thrift.version>0.6.1</thrift.version>
  312. <libpooling.version>1.0.0.3</libpooling.version>
  313. </properties>
  314. <build>
  315. <plugins>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-compiler-plugin</artifactId>
  319. <version>3.1</version>
  320. <configuration>
  321. <source>${java.version}</source>
  322. <target>${java.version}</target>
  323. <showWarnings>true</showWarnings>
  324. <encoding>${project.build.sourceEncoding}</encoding>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-war-plugin</artifactId>
  330. <version>2.4</version>
  331. <configuration>
  332. <warName>${project.artifactId}</warName>
  333. </configuration>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-surefire-plugin</artifactId>
  338. <version>2.17</version>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.apache.maven.plugins</groupId>
  342. <artifactId>maven-resources-plugin</artifactId>
  343. <version>2.6</version>
  344. <configuration>
  345. <encoding>${project.build.sourceEncoding}</encoding>
  346. </configuration>
  347. </plugin>
  348. <plugin>
  349. <groupId>org.apache.maven.plugins</groupId>
  350. <artifactId>maven-source-plugin</artifactId>
  351. <version>2.2.1</version>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-clean-plugin</artifactId>
  356. <version>2.5</version>
  357. </plugin>
  358. <plugin>
  359. <groupId>org.apache.maven.plugins</groupId>
  360. <artifactId>maven-install-plugin</artifactId>
  361. <version>2.5.1</version>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.apache.maven.plugins</groupId>
  365. <artifactId>maven-deploy-plugin</artifactId>
  366. <version>2.8.1</version>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.apache.maven.plugins</groupId>
  370. <artifactId>maven-dependency-plugin</artifactId>
  371. <version>2.8</version>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-antrun-plugin</artifactId>
  376. <version>1.7</version>
  377. </plugin>
  378. <plugin>
  379. <groupId>org.apache.maven.plugins</groupId>
  380. <artifactId>maven-assembly-plugin</artifactId>
  381. <version>2.4</version>
  382. </plugin>
  383. <plugin>
  384. <groupId>org.mortbay.jetty</groupId>
  385. <artifactId>jetty-maven-plugin</artifactId>
  386. <version>${jetty.version}</version>
  387. </plugin>
  388. <plugin>
  389. <groupId>net.alchim31.maven</groupId>
  390. <artifactId>yuicompressor-maven-plugin</artifactId>
  391. <version>1.5.1</version>
  392. </plugin>
  393. </plugins>
  394. </build>
  395. </project>