pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. <dependencies>
  17. <dependency>
  18. <groupId>org.apache.httpcomponents</groupId>
  19. <artifactId>httpclient</artifactId>
  20. <version>4.5.13</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.apache.httpcomponents</groupId>
  24. <artifactId>httpcore</artifactId>
  25. <version>4.4.14</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>commons-lang</groupId>
  29. <artifactId>commons-lang</artifactId>
  30. <version>2.6</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>cn.hutool</groupId>
  34. <artifactId>hutool-all</artifactId>
  35. <version>5.8.11</version> <!-- 确保版本号是正确的 -->
  36. </dependency>
  37. <dependency>
  38. <groupId>io.jsonwebtoken</groupId>
  39. <artifactId>jjwt</artifactId>
  40. <version>0.9.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.hibernate.validator</groupId>
  44. <artifactId>hibernate-validator</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.redisson</groupId>
  48. <artifactId>redisson</artifactId>
  49. <version>3.12.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.fasterxml.jackson.core</groupId>
  57. <artifactId>jackson-databind</artifactId>
  58. <version>2.13.3</version> <!-- 可以根据需要选择合适的版本 -->
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-redis</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-boot-starter</artifactId>
  67. <version>3.5.4</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>javax.servlet</groupId>
  75. <artifactId>javax.servlet-api</artifactId>
  76. <version>4.0.1</version>
  77. <scope>provided</scope>
  78. </dependency>
  79. <!-- Spring Security -->
  80. <!-- <dependency>-->
  81. <!-- <groupId>org.springframework.boot</groupId>-->
  82. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  83. <!-- </dependency>-->
  84. <!-- FastJSON -->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>2.0.29</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-test</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. </dependency>
  103. </dependencies>
  104. <dependencyManagement>
  105. <dependencies>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-dependencies</artifactId>
  109. <version>${spring-boot.version}</version>
  110. <type>pom</type>
  111. <scope>import</scope>
  112. </dependency>
  113. </dependencies>
  114. </dependencyManagement>
  115. <build>
  116. <plugins>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-compiler-plugin</artifactId>
  120. <version>3.8.1</version>
  121. <configuration>
  122. <source>1.8</source>
  123. <target>1.8</target>
  124. <encoding>UTF-8</encoding>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-maven-plugin</artifactId>
  130. <version>${spring-boot.version}</version>
  131. <configuration>
  132. <mainClass>com.zhentao.XiaoeTechApplication</mainClass>
  133. <skip>true</skip>
  134. </configuration>
  135. <executions>
  136. <execution>
  137. <id>repackage</id>
  138. <goals>
  139. <goal>repackage</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>