pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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.zhentao</groupId>
  6. <artifactId>Xiaoe-Tech</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>Xiaoe-Tech</name>
  9. <description>Xiaoe-Tech</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <parent>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-parent</artifactId>
  19. <version>2.7.15</version> <!-- 使用最新的稳定版本 -->
  20. <relativePath/> <!-- lookup parent from repository -->
  21. </parent>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.apache.httpcomponents</groupId>
  25. <artifactId>httpclient</artifactId>
  26. <version>4.5.13</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.httpcomponents</groupId>
  30. <artifactId>httpcore</artifactId>
  31. <version>4.4.14</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>commons-lang</groupId>
  35. <artifactId>commons-lang</artifactId>
  36. <version>2.6</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.jsonwebtoken</groupId>
  40. <artifactId>jjwt</artifactId>
  41. <version>0.9.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.hutool</groupId>
  45. <artifactId>hutool-all</artifactId>
  46. <version>5.8.11</version> <!-- 确保版本号是正确的 -->
  47. </dependency>
  48. <!-- Jackson -->
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.core</groupId>
  51. <artifactId>jackson-core</artifactId>
  52. <version>2.13.3</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.fasterxml.jackson.core</groupId>
  56. <artifactId>jackson-databind</artifactId>
  57. <version>2.13.3</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.fasterxml.jackson.core</groupId>
  61. <artifactId>jackson-annotations</artifactId>
  62. <version>2.13.3</version>
  63. </dependency>
  64. <!-- Spring Boot Starters -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-web</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-redis</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <!-- MyBatis Plus -->
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-boot-starter</artifactId>
  86. <version>3.5.4</version>
  87. </dependency>
  88. <!-- MySQL -->
  89. <dependency>
  90. <groupId>mysql</groupId>
  91. <artifactId>mysql-connector-java</artifactId>
  92. </dependency>
  93. <!-- Hibernate Validator -->
  94. <dependency>
  95. <groupId>org.hibernate.validator</groupId>
  96. <artifactId>hibernate-validator</artifactId>
  97. <version>6.2.0.Final</version>
  98. </dependency>
  99. <!-- Redisson -->
  100. <dependency>
  101. <groupId>org.redisson</groupId>
  102. <artifactId>redisson</artifactId>
  103. <version>3.12.1</version>
  104. </dependency>
  105. <!-- MinIO -->
  106. <dependency>
  107. <groupId>io.minio</groupId>
  108. <artifactId>minio</artifactId>
  109. <version>7.1.0</version>
  110. </dependency>
  111. <!-- FastJSON -->
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>fastjson</artifactId>
  115. <version>2.0.29</version>
  116. </dependency>
  117. <!-- Lombok -->
  118. <dependency>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. </dependency>
  122. </dependencies>
  123. <dependencyManagement>
  124. <dependencies>
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-dependencies</artifactId>
  128. <version>${spring-boot.version}</version>
  129. <type>pom</type>
  130. <scope>import</scope>
  131. </dependency>
  132. </dependencies>
  133. </dependencyManagement>
  134. <build>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-compiler-plugin</artifactId>
  139. <version>3.8.1</version>
  140. <configuration>
  141. <source>1.8</source>
  142. <target>1.8</target>
  143. <encoding>UTF-8</encoding>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-maven-plugin</artifactId>
  149. <version>${spring-boot.version}</version>
  150. <configuration>
  151. <mainClass>com.zhentao.XiaoeTechApplication</mainClass>
  152. <skip>true</skip>
  153. </configuration>
  154. <executions>
  155. <execution>
  156. <id>repackage</id>
  157. <goals>
  158. <goal>repackage</goal>
  159. </goals>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. </plugins>
  164. </build>
  165. </project>