pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <parent>
  6. <groupId>cn.tz.cloud</groupId>
  7. <artifactId>tz-module-system</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tz-module-system-biz</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. system 模块下,我们放通用业务,支撑上层的核心业务。
  16. 例如说:用户、部门、权限、数据字典等等
  17. </description>
  18. <dependencies>
  19. <!-- Spring Cloud 基础 -->
  20. <dependency>
  21. <groupId>cn.tz.cloud</groupId>
  22. <artifactId>tz-spring-boot-starter-env</artifactId>
  23. </dependency>
  24. <!-- 依赖服务 -->
  25. <dependency>
  26. <groupId>cn.tz.cloud</groupId>
  27. <artifactId>tz-module-system-api</artifactId>
  28. <version>${revision}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>cn.tz.cloud</groupId>
  32. <artifactId>tz-module-infra-api</artifactId>
  33. <version>${revision}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>cn.tz.cloud</groupId>
  37. <artifactId>tz-module-member-api</artifactId>
  38. <version>${revision}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>cn.tz.cloud</groupId>
  42. <artifactId>tz-module-grape-city-api</artifactId>
  43. <version>${revision}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>cn.tz.cloud</groupId>
  47. <artifactId>tz-module-pressure-api</artifactId>
  48. <version>${revision}</version>
  49. </dependency>
  50. <!-- 业务组件 -->
  51. <dependency>
  52. <groupId>cn.tz.cloud</groupId>
  53. <artifactId>tz-spring-boot-starter-biz-data-permission</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>cn.tz.cloud</groupId>
  57. <artifactId>tz-spring-boot-starter-biz-tenant</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>cn.tz.cloud</groupId>
  61. <artifactId>tz-spring-boot-starter-biz-ip</artifactId>
  62. </dependency>
  63. <!-- Web 相关 -->
  64. <dependency>
  65. <groupId>cn.tz.cloud</groupId>
  66. <artifactId>tz-spring-boot-starter-security</artifactId>
  67. </dependency>
  68. <!-- DB 相关 -->
  69. <dependency>
  70. <groupId>cn.tz.cloud</groupId>
  71. <artifactId>tz-spring-boot-starter-mybatis</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>cn.tz.cloud</groupId>
  75. <artifactId>tz-spring-boot-starter-redis</artifactId>
  76. </dependency>
  77. <!-- RPC 远程调用相关 -->
  78. <dependency>
  79. <groupId>cn.tz.cloud</groupId>
  80. <artifactId>tz-spring-boot-starter-rpc</artifactId>
  81. </dependency>
  82. <!-- Registry 注册中心相关 -->
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  86. </dependency>
  87. <!-- Config 配置中心相关 -->
  88. <dependency>
  89. <groupId>com.alibaba.cloud</groupId>
  90. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  91. </dependency>
  92. <!-- Job 定时任务相关 -->
  93. <dependency>
  94. <groupId>cn.tz.cloud</groupId>
  95. <artifactId>tz-spring-boot-starter-job</artifactId>
  96. </dependency>
  97. <!-- 消息队列相关 -->
  98. <dependency>
  99. <groupId>cn.tz.cloud</groupId>
  100. <artifactId>tz-spring-boot-starter-mq</artifactId>
  101. </dependency>
  102. <!-- 服务保障相关 TODO 芋艿:暂时去掉 -->
  103. <!-- <dependency>-->
  104. <!-- <groupId>cn.tz.cloud</groupId>-->
  105. <!-- <artifactId>tz-spring-boot-starter-protection</artifactId>-->
  106. <!-- </dependency>-->
  107. <!-- Test 测试相关 -->
  108. <dependency>
  109. <groupId>cn.tz.cloud</groupId>
  110. <artifactId>tz-spring-boot-starter-test</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <!-- 工具类相关 -->
  114. <dependency>
  115. <groupId>cn.tz.cloud</groupId>
  116. <artifactId>tz-spring-boot-starter-excel</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-mail</artifactId>
  121. </dependency>
  122. <!-- 监控相关 -->
  123. <dependency>
  124. <groupId>cn.tz.cloud</groupId>
  125. <artifactId>tz-spring-boot-starter-monitor</artifactId>
  126. </dependency>
  127. <!-- 三方云服务相关 -->
  128. <dependency>
  129. <groupId>com.xingyuv</groupId>
  130. <artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
  131. </dependency>
  132. <dependency>
  133. <groupId>com.github.binarywang</groupId>
  134. <artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
  135. <version>4.6.0</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.github.binarywang</groupId>
  139. <artifactId>wx-java-miniapp-spring-boot-starter</artifactId> <!-- 微信登录(小程序) -->
  140. <version>4.7.5.B</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.xingyuv</groupId>
  144. <artifactId>spring-boot-starter-captcha-plus</artifactId> <!-- 验证码,一般用于登录使用 -->
  145. </dependency>
  146. <dependency>
  147. <groupId>org.dromara.hutool</groupId>
  148. <artifactId>hutool-extra</artifactId> <!-- 邮件 -->
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.rocketmq</groupId>
  152. <artifactId>rocketmq-client</artifactId>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.rocketmq</groupId>
  157. <artifactId>rocketmq-remoting</artifactId>
  158. <version>5.3.1</version>
  159. <scope>test</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.rocketmq</groupId>
  163. <artifactId>rocketmq-client-java</artifactId>
  164. <version>5.0.8</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.rocketmq</groupId>
  168. <artifactId>rocketmq-acl</artifactId>
  169. <scope>test</scope>
  170. </dependency>
  171. </dependencies>
  172. <build>
  173. <!-- 设置构建的 jar 包名 -->
  174. <finalName>${project.artifactId}</finalName>
  175. <plugins>
  176. <!-- 打包 -->
  177. <plugin>
  178. <groupId>org.springframework.boot</groupId>
  179. <artifactId>spring-boot-maven-plugin</artifactId>
  180. <version>${spring.boot.version}</version>
  181. <executions>
  182. <execution>
  183. <goals>
  184. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>