pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.8.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.sp.director</groupId>
  12. <artifactId>director</artifactId>
  13. <version>1.0.0</version>
  14. <name>director</name>
  15. <packaging>pom</packaging>
  16. <description>director project parent</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <director-version>1.0.0</director-version>
  20. </properties>
  21. <modules>
  22. <module>base</module>
  23. <module>core</module>
  24. <module>logic</module>
  25. <module>admin</module>
  26. <module>task</module>
  27. <module>socket</module>
  28. <module>pay</module>
  29. <module>push</module>
  30. </modules>
  31. <dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <version>1.18.2</version>
  37. <optional>true</optional>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.aliyun.oss</groupId>
  41. <artifactId>aliyun-sdk-oss</artifactId>
  42. <version>3.4.2</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.springfox</groupId>
  46. <artifactId>springfox-swagger2</artifactId>
  47. <version>2.7.0</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.github.caspar-chen</groupId>
  51. <artifactId>swagger-ui-layer</artifactId>
  52. <version>1.1.3</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.github.pagehelper</groupId>
  56. <artifactId>pagehelper-spring-boot-starter</artifactId>
  57. <version>1.2.12</version>
  58. </dependency>
  59. <!-- JWT 相关 -->
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt-api</artifactId>
  63. <version>0.10.5</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>io.jsonwebtoken</groupId>
  67. <artifactId>jjwt-impl</artifactId>
  68. <version>0.10.5</version>
  69. <scope>runtime</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.jsonwebtoken</groupId>
  73. <artifactId>jjwt-jackson</artifactId>
  74. <version>0.10.5</version>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.auth0</groupId>
  79. <artifactId>java-jwt</artifactId>
  80. <version>3.2.0</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-generator</artifactId>
  85. <version>3.2.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-lang3</artifactId>
  90. <version>3.5</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-pool</groupId>
  94. <artifactId>commons-pool</artifactId>
  95. <version>1.6</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-codec</groupId>
  99. <artifactId>commons-codec</artifactId>
  100. <version>1.13</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. <version>1.1.18</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.auth0</groupId>
  109. <artifactId>jwks-rsa</artifactId>
  110. <version>0.9.0</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.bitbucket.b_c</groupId>
  114. <artifactId>jose4j</artifactId>
  115. <version>0.6.4</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.jsonwebtoken</groupId>
  119. <artifactId>jjwt</artifactId>
  120. <version>0.9.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.gavaghan</groupId>
  124. <artifactId>geodesy</artifactId>
  125. <version>1.1.3</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.squareup.okhttp3</groupId>
  129. <artifactId>okhttp</artifactId>
  130. <version>3.8.1</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.fasterxml.jackson.core</groupId>
  134. <artifactId>jackson-databind</artifactId>
  135. <version>2.9.9.3</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.google.guava</groupId>
  139. <artifactId>guava</artifactId>
  140. <version>20.0</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.alibaba</groupId>
  144. <artifactId>fastjson</artifactId>
  145. <version>1.2.60</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>joda-time</groupId>
  149. <artifactId>joda-time</artifactId>
  150. <version>2.10.3</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>commons-fileupload</groupId>
  154. <artifactId>commons-fileupload</artifactId>
  155. <version>1.3.3</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>commons-io</groupId>
  159. <artifactId>commons-io</artifactId>
  160. <version>2.2</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.google.code.gson</groupId>
  164. <artifactId>gson</artifactId>
  165. <version>2.8.5</version>
  166. </dependency>
  167. <!-- <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-devtools</artifactId>
  170. <version>2.1.8.RELEASE</version>
  171. <scope>runtime</scope>
  172. <optional>true</optional>
  173. </dependency>-->
  174. <dependency>
  175. <groupId>com.baomidou</groupId>
  176. <artifactId>mybatis-plus-boot-starter</artifactId>
  177. <version>3.2.0</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-aop</artifactId>
  182. <version>2.1.8.RELEASE</version>
  183. </dependency>
  184. <!-- 缓存 -->
  185. <!-- <dependency>
  186. <groupId>org.redisson</groupId>
  187. <artifactId>redisson</artifactId>
  188. <version>3.11.5</version>
  189. </dependency>-->
  190. <dependency>
  191. <groupId>io.netty</groupId>
  192. <artifactId>netty-all</artifactId>
  193. <version>4.1.23.Final</version>
  194. </dependency>
  195. <!-- mybatis数据库字段类型映射,此处是重点 -->
  196. <dependency>
  197. <groupId>org.mybatis</groupId>
  198. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  199. <version>1.0.1</version>
  200. </dependency>
  201. </dependencies>
  202. </dependencyManagement>
  203. <profiles>
  204. <profile>
  205. <id>dev</id>
  206. <properties>
  207. <spring.active.profile>dev</spring.active.profile>
  208. <spring.logic.port>8888</spring.logic.port>
  209. <spring.admin.port>8081</spring.admin.port>
  210. <spring.socket.port>8082</spring.socket.port>
  211. <spring.task.port>8083</spring.task.port>
  212. <director-mq-borker-url><![CDATA[tcp://120.79.211.173:61616]]></director-mq-borker-url>
  213. <director-redis-host><![CDATA[120.79.211.173]]></director-redis-host>
  214. <director-redis-port><![CDATA[6379]]></director-redis-port>
  215. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  216. <director-redis-database><![CDATA[4]]></director-redis-database>
  217. <director-db-master-url><![CDATA[jdbc:mysql://120.79.211.173/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-master-url>
  218. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  219. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  220. <director-db-slaver-url><![CDATA[jdbc:mysql://120.79.211.173/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-slaver-url>
  221. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  222. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  223. <director-log-config><![CDATA[classpath:logback-dev.xml]]></director-log-config>
  224. <director-alipay-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/appCertPublicKey_2021002111654462.crt]]></director-alipay-cert-path>
  225. <director-alipay-public-key-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/alipayCertPublicKey_RSA2.crt]]></director-alipay-public-key-cert-path>
  226. <director-alipay-root-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/alipayRootCert.crt]]></director-alipay-root-cert-path>
  227. </properties>
  228. </profile>
  229. <profile>
  230. <id>test</id>
  231. <properties>
  232. <spring.active.profile>test</spring.active.profile>
  233. <spring.logic.port>9001</spring.logic.port>
  234. <spring.admin.port>9002</spring.admin.port>
  235. <spring.socket.port>9003</spring.socket.port>
  236. <spring.task.port>9004</spring.task.port>
  237. <director-mq-borker-url><![CDATA[tcp://127.0.0.1:61616]]></director-mq-borker-url>
  238. <director-redis-host><![CDATA[127.0.0.1]]></director-redis-host>
  239. <director-redis-port><![CDATA[6379]]></director-redis-port>
  240. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  241. <director-redis-database><![CDATA[4]]></director-redis-database>
  242. <director-db-master-url><![CDATA[jdbc:mysql://127.0.0.1/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-master-url>
  243. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  244. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  245. <director-db-slaver-url><![CDATA[jdbc:mysql://127.0.0.1/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-slaver-url>
  246. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  247. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  248. <director-log-config><![CDATA[classpath:logback-dev.xml]]></director-log-config>
  249. <director-alipay-cert-path><![CDATA[/srv/server/director/alicert/cert/appCertPublicKey_2021002111654462.crt]]></director-alipay-cert-path>
  250. <director-alipay-public-key-cert-path><![CDATA[/srv/server/director/alicert/cert/alipayCertPublicKey_RSA2.crt]]></director-alipay-public-key-cert-path>
  251. <director-alipay-root-cert-path><![CDATA[/srv/server/director/alicert/cert/alipayRootCert.crt]]></director-alipay-root-cert-path>
  252. </properties>
  253. </profile>
  254. <profile>
  255. <id>pro</id>
  256. <properties>
  257. <spring.active.profile>pro</spring.active.profile>
  258. <director-mq-borker-url><![CDATA[tcp://120.79.211.173:61616]]></director-mq-borker-url>
  259. <director-redis-host><![CDATA[120.79.211.173]]></director-redis-host>
  260. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  261. <director-redis-port><![CDATA[6379]]></director-redis-port>
  262. <director-redis-database><![CDATA[4]]></director-redis-database>
  263. <director-db-master-url><![CDATA[jdbc:mysql://120.79.211.173/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-master-url>
  264. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  265. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  266. <director-db-slaver-url><![CDATA[jdbc:mysql://120.79.211.173/director?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&allowMultiQueries=true]]></director-db-slaver-url>
  267. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  268. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  269. <director-log-config><![CDATA[classpath:logback-dev.xml]]></director-log-config>
  270. </properties>
  271. </profile>
  272. </profiles>
  273. </project>