pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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>com.byjc.cloud</groupId>
  7. <artifactId>byjc-module-system</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>byjc-module-system-server</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>com.byjc.cloud</groupId>
  22. <artifactId>byjc-spring-boot-starter-env</artifactId>
  23. </dependency>
  24. <!-- 依赖服务 -->
  25. <dependency>
  26. <groupId>com.byjc.cloud</groupId>
  27. <artifactId>byjc-module-system-api</artifactId>
  28. <version>${revision}</version>
  29. </dependency>
  30. <!-- 业务组件 -->
  31. <dependency>
  32. <groupId>com.byjc.cloud</groupId>
  33. <artifactId>byjc-spring-boot-starter-biz-data-permission</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.byjc.cloud</groupId>
  37. <artifactId>byjc-spring-boot-starter-biz-tenant</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.byjc.cloud</groupId>
  41. <artifactId>byjc-spring-boot-starter-biz-ip</artifactId>
  42. </dependency>
  43. <!-- Web 相关 -->
  44. <dependency>
  45. <groupId>com.byjc.cloud</groupId>
  46. <artifactId>byjc-spring-boot-starter-security</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.byjc.cloud</groupId>
  50. <artifactId>byjc-spring-boot-starter-websocket</artifactId>
  51. </dependency>
  52. <!-- DB 相关 -->
  53. <dependency>
  54. <groupId>com.byjc.cloud</groupId>
  55. <artifactId>byjc-spring-boot-starter-mybatis</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.baomidou</groupId>
  59. <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
  60. </dependency>
  61. <dependency>
  62. <groupId>com.byjc.cloud</groupId>
  63. <artifactId>byjc-spring-boot-starter-redis</artifactId>
  64. </dependency>
  65. <!-- RPC 远程调用相关 -->
  66. <dependency>
  67. <groupId>com.byjc.cloud</groupId>
  68. <artifactId>byjc-spring-boot-starter-rpc</artifactId>
  69. </dependency>
  70. <!-- Registry 注册中心相关 -->
  71. <dependency>
  72. <groupId>com.alibaba.cloud</groupId>
  73. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  74. </dependency>
  75. <!-- Config 配置中心相关 -->
  76. <dependency>
  77. <groupId>com.alibaba.cloud</groupId>
  78. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  79. </dependency>
  80. <!-- Job 定时任务相关 -->
  81. <dependency>
  82. <groupId>com.byjc.cloud</groupId>
  83. <artifactId>byjc-spring-boot-starter-job</artifactId>
  84. </dependency>
  85. <!-- 消息队列相关 -->
  86. <dependency>
  87. <groupId>com.byjc.cloud</groupId>
  88. <artifactId>byjc-spring-boot-starter-mq</artifactId>
  89. </dependency>
  90. <!-- 服务保障相关 TODO 芋艿:暂时去掉 -->
  91. <!-- <dependency>-->
  92. <!-- <groupId>com.byjc.cloud</groupId>-->
  93. <!-- <artifactId>byjc-spring-boot-starter-protection</artifactId>-->
  94. <!-- </dependency>-->
  95. <!-- Test 测试相关 -->
  96. <dependency>
  97. <groupId>com.byjc.cloud</groupId>
  98. <artifactId>byjc-spring-boot-starter-test</artifactId>
  99. <scope>test</scope>
  100. </dependency>
  101. <!-- 工具类相关 -->
  102. <dependency>
  103. <groupId>com.byjc.cloud</groupId>
  104. <artifactId>byjc-spring-boot-starter-excel</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.velocity</groupId>
  108. <artifactId>velocity-engine-core</artifactId> <!-- 实现代码生成 -->
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-mail</artifactId>
  113. </dependency>
  114. <!-- 监控相关 -->
  115. <dependency>
  116. <groupId>com.byjc.cloud</groupId>
  117. <artifactId>byjc-spring-boot-starter-monitor</artifactId>
  118. </dependency>
  119. <!-- 三方云服务相关 -->
  120. <dependency>
  121. <groupId>commons-net</groupId>
  122. <artifactId>commons-net</artifactId> <!-- 文件客户端:解决 ftp 连接 -->
  123. </dependency>
  124. <dependency>
  125. <groupId>com.jcraft</groupId>
  126. <artifactId>jsch</artifactId> <!-- 文件客户端:解决 sftp 连接 -->
  127. </dependency>
  128. <dependency>
  129. <groupId>software.amazon.awssdk</groupId> <!-- 文件客户端:解决阿里云、腾讯云、minio 等 S3 连接 -->
  130. <artifactId>s3</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>me.zhyd.oauth</groupId>
  134. <artifactId>JustAuth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.tika</groupId>
  138. <artifactId>tika-core</artifactId> <!-- 文件客户端:文件类型的识别 -->
  139. </dependency>
  140. <dependency>
  141. <groupId>com.xkcoding.justauth</groupId>
  142. <artifactId>justauth-spring-boot-starter</artifactId>
  143. <exclusions>
  144. <!-- 移除,避免和项目里的 hutool-all 冲突 -->
  145. <exclusion>
  146. <groupId>cn.hutool</groupId>
  147. <artifactId>hutool-core</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.github.binarywang</groupId>
  153. <artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
  154. </dependency>
  155. <dependency>
  156. <groupId>com.github.binarywang</groupId>
  157. <artifactId>wx-java-miniapp-spring-boot-starter</artifactId> <!-- 微信登录(小程序) -->
  158. </dependency>
  159. <dependency>
  160. <groupId>com.anji-plus</groupId>
  161. <artifactId>captcha-spring-boot-starter</artifactId> <!-- 验证码,一般用于登录使用 -->
  162. </dependency>
  163. <dependency>
  164. <groupId>org.dromara.hutool</groupId>
  165. <artifactId>hutool-extra</artifactId> <!-- 邮件 -->
  166. </dependency>
  167. </dependencies>
  168. <build>
  169. <!-- 设置构建的 jar 包名 -->
  170. <finalName>${project.artifactId}</finalName>
  171. <plugins>
  172. <!-- 打包 -->
  173. <plugin>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-maven-plugin</artifactId>
  176. <version>${spring.boot.version}</version>
  177. <executions>
  178. <execution>
  179. <goals>
  180. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>