pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt</artifactId>
  63. <version>0.9.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>cn.hutool</groupId>
  67. <artifactId>hutool-all</artifactId>
  68. <version>5.7.15</version>
  69. </dependency>
  70. <!-- apache commons end -->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. <version>${fastjson.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.redisson</groupId>
  78. <artifactId>redisson</artifactId>
  79. <version>3.20.0</version> <!-- 最新版本可到官网查询 -->
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.kafka</groupId>
  83. <artifactId>spring-kafka</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-io</groupId>
  91. <artifactId>commons-io</artifactId>
  92. <version>2.5</version>
  93. </dependency>
  94. <!-- <dependency>-->
  95. <!-- <groupId>io.springfox</groupId>-->
  96. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  97. <!-- <version>${swagger.version}</version>-->
  98. <!-- </dependency>-->
  99. <!-- <dependency>-->
  100. <!-- <groupId>io.springfox</groupId>-->
  101. <!-- <artifactId>springfox-swagger-ui</artifactId>-->
  102. <!-- <version>${swagger.version}</version>-->
  103. <!-- </dependency>-->
  104. <!-- SpringDoc OpenAPI 3 核心依赖(适配 Spring Boot 3.x) -->
  105. <dependency>
  106. <groupId>org.springdoc</groupId>
  107. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  108. <version>2.2.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>jakarta.xml.bind</groupId>
  112. <artifactId>jakarta.xml.bind-api</artifactId>
  113. <version>4.0.1</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.glassfish.jaxb</groupId>
  117. <artifactId>jaxb-runtime</artifactId>
  118. <version>4.0.1</version>
  119. <scope>runtime</scope>
  120. </dependency>
  121. <!-- MapStruct核心依赖 -->
  122. <dependency>
  123. <groupId>org.mapstruct</groupId>
  124. <artifactId>mapstruct</artifactId>
  125. <version>1.5.5.Final</version>
  126. </dependency>
  127. <!-- 编译时生成映射代码,必须加 -->
  128. <dependency>
  129. <groupId>org.mapstruct</groupId>
  130. <artifactId>mapstruct-processor</artifactId>
  131. <version>1.5.5.Final</version>
  132. <scope>provided</scope>
  133. </dependency>
  134. </dependencies>
  135. <dependencyManagement>
  136. <dependencies>
  137. <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-dependencies</artifactId>
  140. <version>${spring-boot.version}</version>
  141. <type>pom</type>
  142. <scope>import</scope>
  143. </dependency>
  144. </dependencies>
  145. </dependencyManagement>
  146. <build>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-compiler-plugin</artifactId>
  151. <version>3.8.1</version>
  152. <configuration>
  153. <source>17</source>
  154. <target>17</target>
  155. <encoding>UTF-8</encoding>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. <version>${spring-boot.version}</version>
  162. <configuration>
  163. <mainClass>com.we.OrderFoodApplication</mainClass>
  164. <skip>true</skip>
  165. </configuration>
  166. <executions>
  167. <execution>
  168. <id>repackage</id>
  169. <goals>
  170. <goal>repackage</goal>
  171. </goals>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </project>