pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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. <!-- 阿里云短信服务 -->
  28. <dependency>
  29. <groupId>com.aliyun</groupId>
  30. <artifactId>aliyun-java-sdk-core</artifactId>
  31. <version>4.5.16</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.aliyun</groupId>
  35. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  36. <version>2.1.0</version>
  37. </dependency>
  38. <!--人脸识别 阿里云 新版-->
  39. <dependency>
  40. <groupId>com.aliyun</groupId>
  41. <artifactId>facebody20191230</artifactId>
  42. <version>3.0.7</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.aliyun</groupId>
  46. <artifactId>ocr20191230</artifactId>
  47. <version>1.0.26</version>
  48. </dependency>
  49. <!-- 失败重试机制 spring-retry -->
  50. <dependency>
  51. <groupId>org.springframework.retry</groupId>
  52. <artifactId>spring-retry</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.aspectj</groupId>
  56. <artifactId>aspectjweaver</artifactId>
  57. </dependency>
  58. <!-- 消息转换器 -->
  59. <dependency>
  60. <groupId>com.fasterxml.jackson.core</groupId>
  61. <artifactId>jackson-databind</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.fasterxml.jackson.dataformat</groupId>
  65. <artifactId>jackson-dataformat-xml</artifactId>
  66. <version>2.9.10</version>
  67. </dependency>
  68. <!-- excel文件导入与导出 -->
  69. <dependency>
  70. <groupId>org.apache.poi</groupId>
  71. <artifactId>poi</artifactId>
  72. <version>4.0.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.poi</groupId>
  76. <artifactId>poi-ooxml</artifactId>
  77. <version>4.0.0</version>
  78. </dependency>
  79. <!-- 自定义验证注解 -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-validation</artifactId>
  83. </dependency>
  84. <!-- EasyExcel -->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>easyexcel</artifactId>
  88. <version>3.1.1</version>
  89. </dependency>
  90. <!-- Swagger3依赖 -->
  91. <!-- <dependency>-->
  92. <!-- <groupId>io.springfox</groupId>-->
  93. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  94. <!-- <version>3.0.0</version>-->
  95. <!-- <exclusions>-->
  96. <!-- <exclusion>-->
  97. <!-- <groupId>io.swagger</groupId>-->
  98. <!-- <artifactId>swagger-models</artifactId>-->
  99. <!-- </exclusion>-->
  100. <!-- </exclusions>-->
  101. <!-- </dependency>-->
  102. <!-- fastjson -->
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>1.2.73</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.alibaba.fastjson2</groupId>
  110. <artifactId>fastjson2</artifactId>
  111. <version>2.0.3.graal</version>
  112. </dependency>
  113. <!-- nacos 注册中心 -->
  114. <dependency>
  115. <groupId>com.alibaba.cloud</groupId>
  116. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  117. </dependency>
  118. <!-- nacos 分布式配置中心 -->
  119. <dependency>
  120. <groupId>com.alibaba.cloud</groupId>
  121. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  122. </dependency>
  123. <!-- Sentinel 熔断、降级、限流 -->
  124. <dependency>
  125. <groupId>com.alibaba.cloud</groupId>
  126. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  127. <!-- 排除jackson-dataformat-xml依赖,否则接口中返回的json会变成xml -->
  128. <exclusions>
  129. <exclusion>
  130. <groupId>com.fasterxml.jackson.dataformat</groupId>
  131. <artifactId>jackson-dataformat-xml</artifactId>
  132. </exclusion>
  133. </exclusions>
  134. </dependency>
  135. <!-- 使用过滤器捕获全局BlockException -->
  136. <dependency>
  137. <groupId>com.alibaba.csp</groupId>
  138. <artifactId>sentinel-spring-webmvc-adapter</artifactId>
  139. </dependency>
  140. <!-- sentinel配置持久化到nacos -->
  141. <dependency>
  142. <groupId>com.alibaba.csp</groupId>
  143. <artifactId>sentinel-datasource-nacos</artifactId>
  144. </dependency>
  145. <!-- springboot依赖 -->
  146. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-starter-web</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-aop</artifactId>
  153. </dependency>
  154. <!-- springboot集成 mybatis-plus -->
  155. <dependency>
  156. <groupId>com.baomidou</groupId>
  157. <artifactId>mybatis-plus-boot-starter</artifactId>
  158. <version>3.3.2</version>
  159. </dependency>
  160. <!-- pagehelper分页插件 -->
  161. <dependency>
  162. <groupId>com.github.pagehelper</groupId>
  163. <artifactId>pagehelper-spring-boot-starter</artifactId>
  164. <version>1.2.13</version>
  165. </dependency>
  166. <!-- mysql -->
  167. <dependency>
  168. <groupId>mysql</groupId>
  169. <artifactId>mysql-connector-java</artifactId>
  170. </dependency>
  171. <!-- 阿里 druid 连接池 -->
  172. <dependency>
  173. <groupId>com.alibaba</groupId>
  174. <artifactId>druid-spring-boot-starter</artifactId>
  175. <version>1.1.10</version>
  176. </dependency>
  177. <!-- 神器lombok插件 -->
  178. <dependency>
  179. <groupId>org.projectlombok</groupId>
  180. <artifactId>lombok</artifactId>
  181. <!-- <optional>true</optional> -->
  182. </dependency>
  183. <!-- 集成redis -->
  184. <dependency>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-starter-data-redis</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.commons</groupId>
  190. <artifactId>commons-pool2</artifactId>
  191. </dependency>
  192. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  193. <dependency>
  194. <groupId>cn.dev33</groupId>
  195. <artifactId>sa-token-spring-boot-starter</artifactId>
  196. <version>1.27.0</version>
  197. </dependency>
  198. <!-- Sa-Token 整合 Redis (使用jdk默认序列化方式) -->
  199. <dependency>
  200. <groupId>cn.dev33</groupId>
  201. <artifactId>sa-token-dao-redis-jackson</artifactId>
  202. <version>1.27.0</version>
  203. </dependency>
  204. <!-- 工具类大全 - 在线文档:https://hutool.cn/docs/#/ -->
  205. <dependency>
  206. <groupId>cn.hutool</groupId>
  207. <artifactId>hutool-all</artifactId>
  208. <version>5.7.15</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>cglib</groupId>
  212. <artifactId>cglib</artifactId>
  213. <version>3.2.8</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.github.whvcse</groupId>
  217. <artifactId>easy-captcha</artifactId>
  218. <version>1.6.2</version>
  219. </dependency>
  220. <!-- ConfigurationProperties -->
  221. <dependency>
  222. <groupId>org.springframework.boot</groupId>
  223. <artifactId>spring-boot-configuration-processor</artifactId>
  224. <!-- <optional>true</optional> -->
  225. </dependency>
  226. <!-- https://mvnrepository.com/artifact/com.github.nobugboy/ydoc-spring-boot-starter -->
  227. <dependency>
  228. <groupId>com.github.nobugboy</groupId>
  229. <artifactId>ydoc-spring-boot-starter</artifactId>
  230. <version>1.1.0</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>com.tencentcloudapi</groupId>
  234. <artifactId>tencentcloud-sdk-java</artifactId>
  235. <!-- go to https://search.maven.org/search?q=tencentcloud-sdk-java and get the latest version. -->
  236. <!-- 请到https://search.maven.org/search?q=tencentcloud-sdk-java查询所有版本,最新版本如下 -->
  237. <version>3.1.322</version>
  238. </dependency>
  239. </dependencies>
  240. </project>