pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. <groupId>com.we</groupId>
  6. <artifactId>orderFood</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>orderFood</name>
  9. <description>orderFood</description>
  10. <properties>
  11. <java.version>17</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>3.0.2</spring-boot.version>
  15. <mybatisplus.version>3.5.3</mybatisplus.version>
  16. <druid.version>1.1.21</druid.version>
  17. <fastjson.version>1.2.80</fastjson.version>
  18. <swagger.version>3.0.0</swagger.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <!-- Spring 集成支持(若使用 Spring Boot,可省略,已自动集成) -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-validation</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.baomidou</groupId>
  37. <artifactId>mybatis-plus-boot-starter</artifactId>
  38. <version>${mybatisplus.version}</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>mybatis-plus-generator</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid-spring-boot-starter</artifactId>
  53. <version>${druid.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.mysql</groupId>
  57. <artifactId>mysql-connector-j</artifactId>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <!-- MinIO Java客户端 -->
  61. <dependency>
  62. <groupId>io.minio</groupId>
  63. <artifactId>minio</artifactId>
  64. <version>8.5.7</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.jsonwebtoken</groupId>
  68. <artifactId>jjwt</artifactId>
  69. <version>0.9.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>cn.hutool</groupId>
  73. <artifactId>hutool-all</artifactId>
  74. <version>5.7.15</version>
  75. </dependency>
  76. <!-- apache commons end -->
  77. <dependency>
  78. <groupId>com.alibaba</groupId>
  79. <artifactId>fastjson</artifactId>
  80. <version>${fastjson.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.redisson</groupId>
  84. <artifactId>redisson</artifactId>
  85. <version>3.20.0</version> <!-- 最新版本可到官网查询 -->
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.kafka</groupId>
  89. <artifactId>spring-kafka</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-io</groupId>
  97. <artifactId>commons-io</artifactId>
  98. <version>2.5</version>
  99. </dependency>
  100. <!-- <dependency>-->
  101. <!-- <groupId>io.springfox</groupId>-->
  102. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  103. <!-- <version>${swagger.version}</version>-->
  104. <!-- </dependency>-->
  105. <!-- <dependency>-->
  106. <!-- <groupId>io.springfox</groupId>-->
  107. <!-- <artifactId>springfox-swagger-ui</artifactId>-->
  108. <!-- <version>${swagger.version}</version>-->
  109. <!-- </dependency>-->
  110. <!-- SpringDoc OpenAPI 3 核心依赖(适配 Spring Boot 3.x) -->
  111. <dependency>
  112. <groupId>org.springdoc</groupId>
  113. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  114. <version>2.2.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>jakarta.xml.bind</groupId>
  118. <artifactId>jakarta.xml.bind-api</artifactId>
  119. <version>4.0.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.glassfish.jaxb</groupId>
  123. <artifactId>jaxb-runtime</artifactId>
  124. <version>4.0.1</version>
  125. <scope>runtime</scope>
  126. </dependency>
  127. <!-- MapStruct核心依赖 -->
  128. <dependency>
  129. <groupId>org.mapstruct</groupId>
  130. <artifactId>mapstruct</artifactId>
  131. <version>1.5.5.Final</version>
  132. </dependency>
  133. <!-- 编译时生成映射代码,必须加 -->
  134. <dependency>
  135. <groupId>org.mapstruct</groupId>
  136. <artifactId>mapstruct-processor</artifactId>
  137. <version>1.5.5.Final</version>
  138. <scope>provided</scope>
  139. </dependency>
  140. </dependencies>
  141. <dependencyManagement>
  142. <dependencies>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-dependencies</artifactId>
  146. <version>${spring-boot.version}</version>
  147. <type>pom</type>
  148. <scope>import</scope>
  149. </dependency>
  150. </dependencies>
  151. </dependencyManagement>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-compiler-plugin</artifactId>
  157. <version>3.8.1</version>
  158. <configuration>
  159. <source>17</source>
  160. <target>17</target>
  161. <encoding>UTF-8</encoding>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. <version>${spring-boot.version}</version>
  168. <configuration>
  169. <mainClass>com.OrderFoodApplication</mainClass>
  170. <skip>true</skip>
  171. </configuration>
  172. <executions>
  173. <execution>
  174. <id>repackage</id>
  175. <goals>
  176. <goal>repackage</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </project>