pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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.7.10</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.pavis</groupId>
  12. <artifactId>backend-slim</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>backend-slim</name>
  15. <description>backend-slim</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <jwt.version>0.9.1</jwt.version>
  19. <minio.version>8.5.2</minio.version>
  20. <mysql.version>8.0.29</mysql.version>
  21. <okhttp.version>4.9.3</okhttp.version>
  22. <hutool.version>5.8.16</hutool.version>
  23. <knife4j.version>4.1.0</knife4j.version>
  24. <fastjson.version>2.0.28</fastjson.version>
  25. <mybatisplus.version>3.5.3</mybatisplus.version>
  26. <mybatisplus.dynamic.version>3.6.1</mybatisplus.dynamic.version>
  27. <spring-cloud.version>2021.0.7</spring-cloud.version>
  28. <mockito-core.version>4.3.1</mockito-core.version>
  29. <mockito-inline.version>4.3.1</mockito-inline.version>
  30. <junit-jupiter.version>5.8.2</junit-jupiter.version>
  31. <junit.version>4.12</junit.version>
  32. </properties>
  33. <dependencies>
  34. <!-- httpClient的依赖 -->
  35. <dependency>
  36. <groupId>io.github.openfeign</groupId>
  37. <artifactId>feign-httpclient</artifactId>
  38. </dependency>
  39. <!-- spring cloud依赖 -->
  40. <dependency>
  41. <groupId>org.springframework.cloud</groupId>
  42. <artifactId>spring-cloud-starter-openfeign</artifactId>
  43. </dependency>
  44. <!-- api文档 -->
  45. <dependency>
  46. <groupId>com.github.xiaoymin</groupId>
  47. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  48. <version>${knife4j.version}</version>
  49. </dependency>
  50. <!-- MyBatisPlus多数据源配置 -->
  51. <dependency>
  52. <groupId>com.baomidou</groupId>
  53. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  54. <version>${mybatisplus.dynamic.version}</version>
  55. </dependency>
  56. <!-- MyBatis增强工具 -->
  57. <dependency>
  58. <groupId>com.baomidou</groupId>
  59. <artifactId>mybatis-plus-boot-starter</artifactId>
  60. <version>${mybatisplus.version}</version>
  61. </dependency>
  62. <!-- Java工具类库 -->
  63. <dependency>
  64. <groupId>cn.hutool</groupId>
  65. <artifactId>hutool-all</artifactId>
  66. <version>${hutool.version}</version>
  67. </dependency>
  68. <!-- JSON操作工具类 -->
  69. <dependency>
  70. <groupId>com.alibaba.fastjson2</groupId>
  71. <artifactId>fastjson2</artifactId>
  72. <version>${fastjson.version}</version>
  73. </dependency>
  74. <!-- Token生成与解析-->
  75. <dependency>
  76. <groupId>io.jsonwebtoken</groupId>
  77. <artifactId>jjwt</artifactId>
  78. <version>${jwt.version}</version>
  79. </dependency>
  80. <!-- minio依赖okhttp -->
  81. <dependency>
  82. <groupId>com.squareup.okhttp3</groupId>
  83. <artifactId>okhttp</artifactId>
  84. <version>${okhttp.version}</version>
  85. </dependency>
  86. <!-- 分布式文件对象存储 -->
  87. <dependency>
  88. <groupId>io.minio</groupId>
  89. <artifactId>minio</artifactId>
  90. <version>${minio.version}</version>
  91. </dependency>
  92. <!-- redis 缓存操作 -->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-data-redis</artifactId>
  96. </dependency>
  97. <!-- 自定义验证注解 -->
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-validation</artifactId>
  101. </dependency>
  102. <!-- SpringBoot Web容器 -->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-web</artifactId>
  106. </dependency>
  107. <!-- spring security 安全认证 -->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-security</artifactId>
  111. </dependency>
  112. <!-- SpringBoot 拦截器 -->
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-aop</artifactId>
  116. </dependency>
  117. <!-- Mysql驱动包 -->
  118. <dependency>
  119. <groupId>mysql</groupId>
  120. <artifactId>mysql-connector-java</artifactId>
  121. <version>${mysql.version}</version>
  122. <scope>runtime</scope>
  123. </dependency>
  124. <!-- 自定义配置解析 -->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-configuration-processor</artifactId>
  128. <optional>true</optional>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-test</artifactId>
  133. <scope>test</scope>
  134. </dependency>
  135. <!-- 常用工具类 -->
  136. <dependency>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-lang3</artifactId>
  139. </dependency>
  140. <!-- mybatis 分页-->
  141. <dependency>
  142. <groupId>com.github.pagehelper</groupId>
  143. <artifactId>pagehelper-spring-boot-starter</artifactId>
  144. <version>1.4.3</version>
  145. </dependency>
  146. <!-- todo ghj add mock -->
  147. <dependency>
  148. <groupId>org.mockito</groupId>
  149. <artifactId>mockito-core</artifactId>
  150. <version>${mockito-core.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mockito</groupId>
  154. <artifactId>mockito-inline</artifactId>
  155. <version>${mockito-inline.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.junit.jupiter</groupId>
  159. <artifactId>junit-jupiter</artifactId>
  160. <version>${junit-jupiter.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>junit</groupId>
  164. <artifactId>junit</artifactId>
  165. <version>${junit.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>MavenRepository.MavenRepository.junit</groupId>
  169. <artifactId>junit</artifactId>
  170. <version>4.13.2</version>
  171. <scope>test</scope>
  172. </dependency>
  173. </dependencies>
  174. <dependencyManagement>
  175. <dependencies>
  176. <dependency>
  177. <groupId>org.springframework.cloud</groupId>
  178. <artifactId>spring-cloud-dependencies</artifactId>
  179. <version>${spring-cloud.version}</version>
  180. <type>pom</type>
  181. <scope>import</scope>
  182. </dependency>
  183. </dependencies>
  184. </dependencyManagement>
  185. <build>
  186. <plugins>
  187. <plugin>
  188. <groupId>org.springframework.boot</groupId>
  189. <artifactId>spring-boot-maven-plugin</artifactId>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. </project>