pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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.pj</groupId>
  7. <artifactId>sp-core</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>sp-base</artifactId>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <!-- ================= 模块依赖 start ================= -->
  16. <dependency>
  17. <groupId>com.pj</groupId>
  18. <artifactId>sp-nacos</artifactId>
  19. <version>${project.parent.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.pj</groupId>
  23. <artifactId>sp-api</artifactId>
  24. <version>${project.parent.version}</version>
  25. </dependency>
  26. <!-- ================= 模块依赖 end ================= -->
  27. <!-- excel文件导入与导出 -->
  28. <dependency>
  29. <groupId>org.apache.poi</groupId>
  30. <artifactId>poi</artifactId>
  31. <version>4.0.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.poi</groupId>
  35. <artifactId>poi-ooxml</artifactId>
  36. <version>4.0.0</version>
  37. </dependency>
  38. <!-- 自定义验证注解 -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-validation</artifactId>
  42. </dependency>
  43. <!-- EasyExcel -->
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>easyexcel</artifactId>
  47. <version>3.1.1</version>
  48. </dependency>
  49. <!-- Swagger3依赖 -->
  50. <!-- <dependency>-->
  51. <!-- <groupId>io.springfox</groupId>-->
  52. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  53. <!-- <version>3.0.0</version>-->
  54. <!-- <exclusions>-->
  55. <!-- <exclusion>-->
  56. <!-- <groupId>io.swagger</groupId>-->
  57. <!-- <artifactId>swagger-models</artifactId>-->
  58. <!-- </exclusion>-->
  59. <!-- </exclusions>-->
  60. <!-- </dependency>-->
  61. <!-- fastjson -->
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. <version>1.2.73</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.alibaba.fastjson2</groupId>
  69. <artifactId>fastjson2</artifactId>
  70. <version>2.0.3.graal</version>
  71. </dependency>
  72. <!-- nacos 注册中心 -->
  73. <dependency>
  74. <groupId>com.alibaba.cloud</groupId>
  75. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  76. </dependency>
  77. <!-- nacos 分布式配置中心 -->
  78. <dependency>
  79. <groupId>com.alibaba.cloud</groupId>
  80. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  81. </dependency>
  82. <!-- Sentinel 熔断、降级、限流 -->
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  86. <!-- 排除jackson-dataformat-xml依赖,否则接口中返回的json会变成xml -->
  87. <exclusions>
  88. <exclusion>
  89. <groupId>com.fasterxml.jackson.dataformat</groupId>
  90. <artifactId>jackson-dataformat-xml</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <!-- 使用过滤器捕获全局BlockException -->
  95. <dependency>
  96. <groupId>com.alibaba.csp</groupId>
  97. <artifactId>sentinel-spring-webmvc-adapter</artifactId>
  98. </dependency>
  99. <!-- sentinel配置持久化到nacos -->
  100. <dependency>
  101. <groupId>com.alibaba.csp</groupId>
  102. <artifactId>sentinel-datasource-nacos</artifactId>
  103. </dependency>
  104. <!-- springboot依赖 -->
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-web</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-aop</artifactId>
  112. </dependency>
  113. <!-- springboot集成 mybatis-plus -->
  114. <dependency>
  115. <groupId>com.baomidou</groupId>
  116. <artifactId>mybatis-plus-boot-starter</artifactId>
  117. <version>3.3.2</version>
  118. </dependency>
  119. <!-- pagehelper分页插件 -->
  120. <dependency>
  121. <groupId>com.github.pagehelper</groupId>
  122. <artifactId>pagehelper-spring-boot-starter</artifactId>
  123. <version>1.2.13</version>
  124. </dependency>
  125. <!-- mysql -->
  126. <dependency>
  127. <groupId>mysql</groupId>
  128. <artifactId>mysql-connector-java</artifactId>
  129. </dependency>
  130. <!-- 阿里 druid 连接池 -->
  131. <dependency>
  132. <groupId>com.alibaba</groupId>
  133. <artifactId>druid-spring-boot-starter</artifactId>
  134. <version>1.1.10</version>
  135. </dependency>
  136. <!-- 神器lombok插件 -->
  137. <dependency>
  138. <groupId>org.projectlombok</groupId>
  139. <artifactId>lombok</artifactId>
  140. <!-- <optional>true</optional> -->
  141. </dependency>
  142. <!-- 集成redis -->
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-data-redis</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.commons</groupId>
  149. <artifactId>commons-pool2</artifactId>
  150. </dependency>
  151. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  152. <dependency>
  153. <groupId>cn.dev33</groupId>
  154. <artifactId>sa-token-spring-boot-starter</artifactId>
  155. <version>1.27.0</version>
  156. </dependency>
  157. <!-- Sa-Token 整合 Redis (使用jdk默认序列化方式) -->
  158. <dependency>
  159. <groupId>cn.dev33</groupId>
  160. <artifactId>sa-token-dao-redis-jackson</artifactId>
  161. <version>1.27.0</version>
  162. </dependency>
  163. <!-- 工具类大全 - 在线文档:https://hutool.cn/docs/#/ -->
  164. <dependency>
  165. <groupId>cn.hutool</groupId>
  166. <artifactId>hutool-all</artifactId>
  167. <version>5.0.7</version>
  168. </dependency>
  169. <!--Alijson插件-->
  170. <dependency>
  171. <groupId>com.alibaba</groupId>
  172. <artifactId>fastjson</artifactId>
  173. <version>1.2.73</version>
  174. </dependency>
  175. <!-- ConfigurationProperties -->
  176. <dependency>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-configuration-processor</artifactId>
  179. <!-- <optional>true</optional> -->
  180. </dependency>
  181. <!-- https://mvnrepository.com/artifact/com.github.nobugboy/ydoc-spring-boot-starter -->
  182. <dependency>
  183. <groupId>com.github.nobugboy</groupId>
  184. <artifactId>ydoc-spring-boot-starter</artifactId>
  185. <version>1.1.0</version>
  186. </dependency>
  187. </dependencies>
  188. </project>