pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  143. <dependency>
  144. <groupId>com.alibaba</groupId>
  145. <artifactId>fastjson</artifactId>
  146. <version>1.2.75</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>joda-time</groupId>
  150. <artifactId>joda-time</artifactId>
  151. <version>2.10.3</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>commons-fileupload</groupId>
  155. <artifactId>commons-fileupload</artifactId>
  156. <version>1.3.3</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>commons-io</groupId>
  160. <artifactId>commons-io</artifactId>
  161. <version>2.2</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.google.code.gson</groupId>
  165. <artifactId>gson</artifactId>
  166. <version>2.8.5</version>
  167. </dependency>
  168. <!-- <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-devtools</artifactId>
  171. <version>2.1.8.RELEASE</version>
  172. <scope>runtime</scope>
  173. <optional>true</optional>
  174. </dependency>-->
  175. <dependency>
  176. <groupId>com.baomidou</groupId>
  177. <artifactId>mybatis-plus-boot-starter</artifactId>
  178. <version>3.2.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-starter-aop</artifactId>
  183. <version>2.1.8.RELEASE</version>
  184. </dependency>
  185. <!-- 缓存 -->
  186. <!-- <dependency>
  187. <groupId>org.redisson</groupId>
  188. <artifactId>redisson</artifactId>
  189. <version>3.11.5</version>
  190. </dependency>-->
  191. <dependency>
  192. <groupId>io.netty</groupId>
  193. <artifactId>netty-all</artifactId>
  194. <version>4.1.23.Final</version>
  195. </dependency>
  196. <!-- mybatis数据库字段类型映射,此处是重点 -->
  197. <dependency>
  198. <groupId>org.mybatis</groupId>
  199. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  200. <version>1.0.1</version>
  201. </dependency>
  202. </dependencies>
  203. </dependencyManagement>
  204. <profiles>
  205. <profile>
  206. <id>dev</id>
  207. <properties>
  208. <spring.active.profile>dev</spring.active.profile>
  209. <spring.logic.port>8888</spring.logic.port>
  210. <spring.admin.port>8081</spring.admin.port>
  211. <spring.socket.port>8082</spring.socket.port>
  212. <spring.task.port>8083</spring.task.port>
  213. <director-mq-borker-url><![CDATA[tcp://120.79.211.173:61616]]></director-mq-borker-url>
  214. <director-redis-host><![CDATA[120.79.211.173]]></director-redis-host>
  215. <director-redis-port><![CDATA[6379]]></director-redis-port>
  216. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  217. <director-redis-database><![CDATA[4]]></director-redis-database>
  218. <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>
  219. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  220. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  221. <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>
  222. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  223. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  224. <director-log-config><![CDATA[classpath:logback-dev.xml]]></director-log-config>
  225. <director-alipay-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/appCertPublicKey_2021002111654462.crt]]></director-alipay-cert-path>
  226. <director-alipay-public-key-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/alipayCertPublicKey_RSA2.crt]]></director-alipay-public-key-cert-path>
  227. <director-alipay-root-cert-path><![CDATA[/Users/shiyi/IdeaWorkSpace/director/logic/src/main/resources/alipayRootCert.crt]]></director-alipay-root-cert-path>
  228. </properties>
  229. </profile>
  230. <profile>
  231. <id>test</id>
  232. <properties>
  233. <spring.active.profile>test</spring.active.profile>
  234. <spring.logic.port>9001</spring.logic.port>
  235. <spring.admin.port>9002</spring.admin.port>
  236. <spring.socket.port>9003</spring.socket.port>
  237. <spring.task.port>9004</spring.task.port>
  238. <director-mq-borker-url><![CDATA[tcp://127.0.0.1:61616]]></director-mq-borker-url>
  239. <director-redis-host><![CDATA[127.0.0.1]]></director-redis-host>
  240. <director-redis-port><![CDATA[6379]]></director-redis-port>
  241. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  242. <director-redis-database><![CDATA[4]]></director-redis-database>
  243. <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>
  244. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  245. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  246. <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>
  247. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  248. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  249. <director-log-config><![CDATA[classpath:logback-txt.xml]]></director-log-config>
  250. <director-alipay-cert-path><![CDATA[/srv/server/director/alicert/cert/appCertPublicKey_2021002111654462.crt]]></director-alipay-cert-path>
  251. <director-alipay-public-key-cert-path><![CDATA[/srv/server/director/alicert/cert/alipayCertPublicKey_RSA2.crt]]></director-alipay-public-key-cert-path>
  252. <director-alipay-root-cert-path><![CDATA[/srv/server/director/alicert/cert/alipayRootCert.crt]]></director-alipay-root-cert-path>
  253. </properties>
  254. </profile>
  255. <profile>
  256. <id>pro</id>
  257. <properties>
  258. <spring.active.profile>pro</spring.active.profile>
  259. <director-mq-borker-url><![CDATA[tcp://120.79.211.173:61616]]></director-mq-borker-url>
  260. <director-redis-host><![CDATA[120.79.211.173]]></director-redis-host>
  261. <director-redis-password><![CDATA[Shanp123.]]></director-redis-password>
  262. <director-redis-port><![CDATA[6379]]></director-redis-port>
  263. <director-redis-database><![CDATA[4]]></director-redis-database>
  264. <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>
  265. <director-db-master-username><![CDATA[root]]></director-db-master-username>
  266. <director-db-master-password><![CDATA[Shanpin#!#123456]]></director-db-master-password>
  267. <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>
  268. <director-db-slaver-username><![CDATA[root]]></director-db-slaver-username>
  269. <director-db-slaver-password><![CDATA[Shanpin#!#123456]]></director-db-slaver-password>
  270. <director-log-config><![CDATA[classpath:logback-dev.xml]]></director-log-config>
  271. </properties>
  272. </profile>
  273. </profiles>
  274. </project>