pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.0.1.RELEASE</version>
  11. </parent>
  12. <groupId>com.juxiao.xchat</groupId>
  13. <artifactId>xchat</artifactId>
  14. <packaging>pom</packaging>
  15. <version>1.0.0</version>
  16. <name>xchat</name>
  17. <description>友期语音新服务</description>
  18. <modules>
  19. <module>xchat-base</module>
  20. <module>xchat-dao</module>
  21. <module>xchat-manager</module>
  22. <module>xchat-service-admin</module>
  23. <module>xchat-service-api</module>
  24. <module>xchat-service-common</module>
  25. <module>xchat-service-oauth2</module>
  26. <module>xchat-service-record</module>
  27. <module>xchat-service-task</module>
  28. <module>xchat-web-admin</module>
  29. <module>xchat-web-api</module>
  30. <module>xchat-web-oauth2</module>
  31. <module>xchat-web-record</module>
  32. <module>xchat-web-task</module>
  33. </modules>
  34. <properties>
  35. <alibaba.druid>1.1.9</alibaba.druid>
  36. </properties>
  37. <build>
  38. <pluginManagement>
  39. <plugins>
  40. <plugin>
  41. <artifactId>maven-resources-plugin</artifactId>
  42. <configuration>
  43. <encoding>utf-8</encoding>
  44. <useDefaultDelimiters>true</useDefaultDelimiters>
  45. </configuration>
  46. </plugin>
  47. </plugins>
  48. </pluginManagement>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <configuration>
  54. <source>1.8</source>
  55. <target>1.8</target>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-surefire-plugin</artifactId>
  61. <configuration>
  62. <skip>true</skip>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <artifactId>maven-resources-plugin</artifactId>
  67. <configuration>
  68. <encoding>UTF-8</encoding>
  69. <useDefaultDelimiters>true</useDefaultDelimiters>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. <resources>
  74. <resource>
  75. <directory>src/main/resources</directory>
  76. <filtering>true</filtering>
  77. <includes>
  78. <include>**/*.properties</include>
  79. <include>**/*.xml</include>
  80. <include>**/*.yml</include>
  81. </includes>
  82. </resource>
  83. </resources>
  84. </build>
  85. <dependencies>
  86. <!-- ================================== springboot开始 ================================== -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-jdbc</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-logging</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-configuration-processor</artifactId>
  102. <optional>true</optional>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-web</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-tomcat</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-test</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. <!-- ================================== springboot结束 ================================== -->
  118. <!-- ================================== mysql jdbc驱动开始 ================================== -->
  119. <dependency>
  120. <groupId>mysql</groupId>
  121. <artifactId>mysql-connector-java</artifactId>
  122. </dependency>
  123. <!-- ================================== mysql jdbc驱动结束 ================================== -->
  124. <!-- ================================== alibaba的druid数据库连接池开始 ================================== -->
  125. <dependency>
  126. <groupId>com.alibaba</groupId>
  127. <artifactId>druid</artifactId>
  128. <version>1.1.9</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>druid-spring-boot-starter</artifactId>
  133. <version>1.1.9</version>
  134. </dependency>
  135. <!-- ================================== alibaba的druid数据库连接池结束 ================================== -->
  136. <!-- ==================================整合mybatis 开始 ================================== -->
  137. <dependency>
  138. <groupId>org.mybatis.spring.boot</groupId>
  139. <artifactId>mybatis-spring-boot-starter</artifactId>
  140. <version>1.3.0</version>
  141. </dependency>
  142. <!-- ==================================整合mybatis 结束 ================================== -->
  143. <!-- ================================== jackson 开始 ================================== -->
  144. <dependency>
  145. <groupId>com.fasterxml.jackson.core</groupId>
  146. <artifactId>jackson-core</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.fasterxml.jackson.core</groupId>
  150. <artifactId>jackson-databind</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.fasterxml.jackson.datatype</groupId>
  154. <artifactId>jackson-datatype-joda</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.fasterxml.jackson.module</groupId>
  158. <artifactId>jackson-module-parameter-names</artifactId>
  159. </dependency>
  160. <!-- ================================== jackson 开始 ================================== -->
  161. <!-- ================================== redis缓存开始 ================================== -->
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-data-redis</artifactId>
  165. <exclusions>
  166. <exclusion>
  167. <groupId>io.lettuce</groupId>
  168. <artifactId>lettuce-core</artifactId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>redis.clients</groupId>
  174. <artifactId>jedis</artifactId>
  175. </dependency>
  176. <!-- ================================== redis缓存结束 ================================== -->
  177. <!-- ================================== activemq缓存开始 ================================== -->
  178. <dependency>
  179. <groupId>org.apache.activemq</groupId>
  180. <artifactId>activemq-client</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.bouncycastle</groupId>
  184. <artifactId>bcprov-jdk15on</artifactId>
  185. <version>1.47</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.springframework</groupId>
  189. <artifactId>spring-jms</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.geronimo.specs</groupId>
  193. <artifactId>geronimo-jms_1.1_spec</artifactId>
  194. <version>1.1.1</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.activemq</groupId>
  198. <artifactId>activemq-pool</artifactId>
  199. </dependency>
  200. <!-- ================================== activemq缓存结束 ================================== -->
  201. <!-- ================================== httpclient 开始 ================================== -->
  202. <dependency>
  203. <groupId>org.apache.httpcomponents</groupId>
  204. <artifactId>httpclient</artifactId>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.httpcomponents</groupId>
  208. <artifactId>httpmime</artifactId>
  209. </dependency>
  210. <!-- ================================== httpclient 结束 ================================== -->
  211. <dependency>
  212. <groupId>com.alibaba</groupId>
  213. <artifactId>fastjson</artifactId>
  214. <version>1.2.47</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.thoughtworks.xstream</groupId>
  218. <artifactId>xstream</artifactId>
  219. <version>1.4.9</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>log4j</groupId>
  223. <artifactId>log4j</artifactId>
  224. <version>1.2.17</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.slf4j</groupId>
  228. <artifactId>jcl-over-slf4j</artifactId>
  229. </dependency>
  230. <dependency>
  231. <groupId>commons-lang</groupId>
  232. <artifactId>commons-lang</artifactId>
  233. <version>2.6</version>
  234. </dependency>
  235. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
  236. <dependency>
  237. <groupId>org.apache.commons</groupId>
  238. <artifactId>commons-io</artifactId>
  239. <version>1.3.2</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.projectlombok</groupId>
  243. <artifactId>lombok</artifactId>
  244. <version>1.16.10</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.aliyun</groupId>
  248. <artifactId>aliyun-java-sdk-core</artifactId>
  249. <version>4.0.3</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>io.springfox</groupId>
  253. <artifactId>springfox-swagger2</artifactId>
  254. <version>2.9.2</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>io.springfox</groupId>
  258. <artifactId>springfox-swagger-ui</artifactId>
  259. <version>2.6.1</version>
  260. </dependency>
  261. </dependencies>
  262. <profiles>
  263. <profile>
  264. <id>dev</id>
  265. <activation>
  266. <activeByDefault>true</activeByDefault>
  267. </activation>
  268. <properties>
  269. <spring.datasource.master.url><![CDATA[jdbc:mysql://120.79.211.173:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.master.url>
  270. <spring.datasource.master.username><![CDATA[root]]></spring.datasource.master.username>
  271. <spring.datasource.master.password><![CDATA[Shanp123.]]></spring.datasource.master.password>
  272. <spring.datasource.slave.url><![CDATA[jdbc:mysql://120.79.211.173:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.slave.url>
  273. <spring.datasource.slave.username><![CDATA[root]]></spring.datasource.slave.username>
  274. <spring.datasource.slave.password><![CDATA[Shanp123.]]></spring.datasource.slave.password>
  275. <spring.redis.host><![CDATA[120.79.211.173]]></spring.redis.host>
  276. <spring.redis.port><![CDATA[6379]]></spring.redis.port>
  277. <spring.redis.password><![CDATA[Shanp123.]]></spring.redis.password>
  278. <spring.activemq.brokerurl><![CDATA[tcp://120.79.211.173:61616]]></spring.activemq.brokerurl>
  279. <logback.stdout><![CDATA[
  280. <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
  281. <encoder>
  282. <pattern>%d %p [%thread] (%logger:%line\) - %m%n</pattern>
  283. <charset>UTF-8</charset>
  284. </encoder>
  285. </appender>
  286. <logger name="org.apache.ibatis.logging.jdbc" level="DEBUG">
  287. <appender-ref ref="STDOUT"/>
  288. </logger>
  289. ]]></logback.stdout>
  290. <logback.root><![CDATA[
  291. <root level="info">
  292. <appender-ref ref="STDOUT"/>
  293. </root>
  294. ]]></logback.root>
  295. <common.system.env>dev</common.system.env>
  296. <common.system.envName>开发</common.system.envName>
  297. <common.system.secretaryUid>0</common.system.secretaryUid>
  298. <common.system.likeMsgUid>0</common.system.likeMsgUid>
  299. <common.system.officialUid>0</common.system.officialUid>
  300. <common.system.officialRoomId>0</common.system.officialRoomId>
  301. <external.im.host>http://chat.test.uqchat.cn</external.im.host>
  302. <!--<external.im.host>http://localhost:3006</external.im.host>-->
  303. <external.pingxx.appId>no_use</external.pingxx.appId>
  304. <external.pingxx.apiKey>no_use</external.pingxx.apiKey>
  305. <external.pingxx.publicKey>no_use</external.pingxx.publicKey>
  306. <external.pingxx.pingxxPrivateKeyPath>no_use</external.pingxx.pingxxPrivateKeyPath>
  307. <external.weixin.notifyUrl>no_use</external.weixin.notifyUrl>
  308. <external.zego.tokenUrl>no_use</external.zego.tokenUrl>
  309. <external.joinpay.notifyUrl>no_use</external.joinpay.notifyUrl>
  310. </properties>
  311. </profile>
  312. <profile>
  313. <id>test</id>
  314. <properties>
  315. <spring.datasource.master.url><![CDATA[jdbc:mysql://localhost:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.master.url>
  316. <spring.datasource.master.username><![CDATA[root]]></spring.datasource.master.username>
  317. <spring.datasource.master.password><![CDATA[Shanp123.]]></spring.datasource.master.password>
  318. <spring.datasource.slave.url><![CDATA[jdbc:mysql://localhost:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.slave.url>
  319. <spring.datasource.slave.username><![CDATA[root]]></spring.datasource.slave.username>
  320. <spring.datasource.slave.password><![CDATA[Shanp123.]]></spring.datasource.slave.password>
  321. <spring.redis.host><![CDATA[localhost]]></spring.redis.host>
  322. <spring.redis.port><![CDATA[6379]]></spring.redis.port>
  323. <spring.redis.password><![CDATA[Shanp123.]]></spring.redis.password>
  324. <spring.activemq.brokerurl><![CDATA[tcp://localhost:61616]]></spring.activemq.brokerurl>
  325. <logback.stdout>
  326. </logback.stdout>
  327. <logback.root>
  328. </logback.root>
  329. <common.system.env>test</common.system.env>
  330. <common.system.envName>测试</common.system.envName>
  331. <common.system.secretaryUid>0</common.system.secretaryUid>
  332. <common.system.likeMsgUid>0</common.system.likeMsgUid>
  333. <common.system.officialUid>0</common.system.officialUid>
  334. <common.system.officialRoomId>0</common.system.officialRoomId>
  335. <external.im.host>http://chat.test.uqchat.cn</external.im.host>
  336. <external.pingxx.appId>no_use</external.pingxx.appId>
  337. <external.pingxx.apiKey>no_use</external.pingxx.apiKey>
  338. <external.pingxx.publicKey>no_use</external.pingxx.publicKey>
  339. <external.pingxx.pingxxPrivateKeyPath>no_use</external.pingxx.pingxxPrivateKeyPath>
  340. <external.weixin.notifyUrl>no_use</external.weixin.notifyUrl>
  341. <external.zego.tokenUrl>no_use</external.zego.tokenUrl>
  342. <external.joinpay.notifyUrl>no_use</external.joinpay.notifyUrl>
  343. </properties>
  344. </profile>
  345. <profile>
  346. <id>prod</id>
  347. <properties>
  348. <spring.datasource.master.url><![CDATA[jdbc:mysql://172.18.111.245:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.master.url>
  349. <spring.datasource.master.username><![CDATA[root]]></spring.datasource.master.username>
  350. <spring.datasource.master.password><![CDATA[Shanp123.]]></spring.datasource.master.password>
  351. <spring.datasource.slave.url><![CDATA[jdbc:mysql://172.18.111.245:3306/yingtao?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false]]></spring.datasource.slave.url>
  352. <spring.datasource.slave.username><![CDATA[root]]></spring.datasource.slave.username>
  353. <spring.datasource.slave.password><![CDATA[Shanp123.]]></spring.datasource.slave.password>
  354. <spring.redis.host><![CDATA[172.18.111.245]]></spring.redis.host>
  355. <spring.redis.port><![CDATA[6379]]></spring.redis.port>
  356. <spring.redis.password><![CDATA[Shanp123.]]></spring.redis.password>
  357. <spring.activemq.brokerurl><![CDATA[tcp://172.18.111.245:61616]]></spring.activemq.brokerurl>
  358. <logback.stdout>
  359. </logback.stdout>
  360. <logback.root>
  361. </logback.root>
  362. <common.system.env>prod</common.system.env>
  363. <common.system.envName>正式</common.system.envName>
  364. <common.system.secretaryUid>0</common.system.secretaryUid>
  365. <common.system.likeMsgUid>0</common.system.likeMsgUid>
  366. <common.system.officialUid>0</common.system.officialUid>
  367. <common.system.officialRoomId>0</common.system.officialRoomId>
  368. <external.im.host>https://chat.uqchat.cn</external.im.host>
  369. <external.pingxx.appId>no_use</external.pingxx.appId>
  370. <external.pingxx.apiKey>no_use</external.pingxx.apiKey>
  371. <external.pingxx.publicKey>no_use</external.pingxx.publicKey>
  372. <external.pingxx.pingxxPrivateKeyPath>no_use</external.pingxx.pingxxPrivateKeyPath>
  373. <external.weixin.notifyUrl>no_use</external.weixin.notifyUrl>
  374. <external.zego.tokenUrl>no_use</external.zego.tokenUrl>
  375. <external.joinpay.notifyUrl>no_use</external.joinpay.notifyUrl>
  376. </properties>
  377. </profile>
  378. </profiles>
  379. </project>