pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. </properties>
  29. <dependencies>
  30. <!-- httpClient的依赖 -->
  31. <dependency>
  32. <groupId>io.github.openfeign</groupId>
  33. <artifactId>feign-httpclient</artifactId>
  34. </dependency>
  35. <!-- spring cloud依赖 -->
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-openfeign</artifactId>
  39. </dependency>
  40. <!-- api文档 -->
  41. <dependency>
  42. <groupId>com.github.xiaoymin</groupId>
  43. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  44. <version>${knife4j.version}</version>
  45. </dependency>
  46. <!-- MyBatisPlus多数据源配置 -->
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  50. <version>${mybatisplus.dynamic.version}</version>
  51. </dependency>
  52. <!-- MyBatis增强工具 -->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>${mybatisplus.version}</version>
  57. </dependency>
  58. <!-- Java工具类库 -->
  59. <dependency>
  60. <groupId>cn.hutool</groupId>
  61. <artifactId>hutool-all</artifactId>
  62. <version>${hutool.version}</version>
  63. </dependency>
  64. <!-- JSON操作工具类 -->
  65. <dependency>
  66. <groupId>com.alibaba.fastjson2</groupId>
  67. <artifactId>fastjson2</artifactId>
  68. <version>${fastjson.version}</version>
  69. </dependency>
  70. <!-- Token生成与解析-->
  71. <dependency>
  72. <groupId>io.jsonwebtoken</groupId>
  73. <artifactId>jjwt</artifactId>
  74. <version>${jwt.version}</version>
  75. </dependency>
  76. <!-- minio依赖okhttp -->
  77. <dependency>
  78. <groupId>com.squareup.okhttp3</groupId>
  79. <artifactId>okhttp</artifactId>
  80. <version>${okhttp.version}</version>
  81. </dependency>
  82. <!-- 分布式文件对象存储 -->
  83. <dependency>
  84. <groupId>io.minio</groupId>
  85. <artifactId>minio</artifactId>
  86. <version>${minio.version}</version>
  87. </dependency>
  88. <!-- redis 缓存操作 -->
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-data-redis</artifactId>
  92. </dependency>
  93. <!-- 自定义验证注解 -->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-validation</artifactId>
  97. </dependency>
  98. <!-- SpringBoot Web容器 -->
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-web</artifactId>
  102. </dependency>
  103. <!-- spring security 安全认证 -->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-security</artifactId>
  107. </dependency>
  108. <!-- SpringBoot 拦截器 -->
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-aop</artifactId>
  112. </dependency>
  113. <!-- Mysql驱动包 -->
  114. <dependency>
  115. <groupId>mysql</groupId>
  116. <artifactId>mysql-connector-java</artifactId>
  117. <version>${mysql.version}</version>
  118. <scope>runtime</scope>
  119. </dependency>
  120. <!-- 自定义配置解析 -->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-configuration-processor</artifactId>
  124. <optional>true</optional>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-test</artifactId>
  129. <scope>test</scope>
  130. </dependency>
  131. <!-- 常用工具类 -->
  132. <dependency>
  133. <groupId>org.apache.commons</groupId>
  134. <artifactId>commons-lang3</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <dependencyManagement>
  138. <dependencies>
  139. <dependency>
  140. <groupId>org.springframework.cloud</groupId>
  141. <artifactId>spring-cloud-dependencies</artifactId>
  142. <version>${spring-cloud.version}</version>
  143. <type>pom</type>
  144. <scope>import</scope>
  145. </dependency>
  146. </dependencies>
  147. </dependencyManagement>
  148. <build>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-maven-plugin</artifactId>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>