pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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>TourismHD</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>TourismHD</name>
  9. <description>TourismHD</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>com.squareup.okhttp3</groupId>
  19. <artifactId>okhttp</artifactId>
  20. <version>4.12.0</version> <!-- 或更高版本 -->
  21. </dependency>
  22. <dependency>
  23. <groupId>javax.xml.bind</groupId>
  24. <artifactId>jaxb-api</artifactId>
  25. <version>2.3.1</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>javax.activation</groupId>
  29. <artifactId>activation</artifactId>
  30. <version>1.1.1</version>
  31. </dependency>
  32. <!-- no more than 2.3.3-->
  33. <dependency>
  34. <groupId>org.glassfish.jaxb</groupId>
  35. <artifactId>jaxb-runtime</artifactId>
  36. <version>2.3.3</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.aliyun.oss</groupId>
  40. <artifactId>aliyun-sdk-oss</artifactId>
  41. <version>3.17.4</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.zxing</groupId>
  45. <artifactId>core</artifactId>
  46. <version>3.5.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.google.zxing</groupId>
  50. <artifactId>javase</artifactId>
  51. <version>3.5.1</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.elasticsearch.client</groupId>
  55. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  56. <version>7.4.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.elasticsearch.client</groupId>
  60. <artifactId>elasticsearch-rest-client</artifactId>
  61. <version>7.4.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.elasticsearch</groupId>
  65. <artifactId>elasticsearch</artifactId>
  66. <version>7.4.0</version>
  67. </dependency>
  68. <!-- 排除冲突的 JSON 库(可选) -->
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <version>1.2.47</version>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>com.google.code.gson</groupId>
  76. <artifactId>gson</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <!-- <dependency>-->
  81. <!-- <groupId>org.springframework.boot</groupId>-->
  82. <!-- <artifactId>spring-boot-starter-data-mongodb</artifactId>-->
  83. <!-- </dependency>-->
  84. <!-- deekseep-->
  85. <!-- <dependency>-->
  86. <!-- <groupId>com.squareup.okhttp3</groupId>-->
  87. <!-- <artifactId>okhttp</artifactId>-->
  88. <!-- <version>4.9.3</version>-->
  89. <!-- </dependency>-->
  90. <dependency>
  91. <groupId>com.mashape.unirest</groupId>
  92. <artifactId>unirest-java</artifactId>
  93. <version>1.4.9</version>
  94. </dependency>
  95. <!-- Spring Boot Starters -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-web</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-data-redis</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-test</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <!-- MyBatis Plus -->
  114. <dependency>
  115. <groupId>com.baomidou</groupId>
  116. <artifactId>mybatis-plus-boot-starter</artifactId>
  117. <version>3.5.4</version>
  118. </dependency>
  119. <!-- MySQL -->
  120. <dependency>
  121. <groupId>mysql</groupId>
  122. <artifactId>mysql-connector-java</artifactId>
  123. </dependency>
  124. <!-- Lombok -->
  125. <dependency>
  126. <groupId>org.projectlombok</groupId>
  127. <artifactId>lombok</artifactId>
  128. </dependency>
  129. <!-- 关于微信登录的配置-->
  130. <dependency>
  131. <groupId>org.apache.httpcomponents</groupId>
  132. <artifactId>httpclient</artifactId>
  133. <version>4.5.13</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.jsonwebtoken</groupId>
  137. <artifactId>jjwt</artifactId>
  138. <version>0.9.1</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>cn.hutool</groupId>
  142. <artifactId>hutool-all</artifactId>
  143. <version>5.8.11</version> <!-- 确保版本号是正确的 -->
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.httpcomponents</groupId>
  147. <artifactId>httpcore</artifactId>
  148. <version>4.4.14</version>
  149. </dependency>
  150. <!-- jwt支持 -->
  151. <dependency>
  152. <groupId>com.auth0</groupId>
  153. <artifactId>java-jwt</artifactId>
  154. <version>3.19.2</version>
  155. </dependency>
  156. <!-- json格式化 -->
  157. <dependency>
  158. <groupId>com.google.code.gson</groupId>
  159. <artifactId>gson</artifactId>
  160. <version>2.8.9</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.hibernate.validator</groupId>
  164. <artifactId>hibernate-validator</artifactId>
  165. <version>6.2.0.Final</version>
  166. </dependency>
  167. <!-- Redisson -->
  168. <dependency>
  169. <groupId>org.redisson</groupId>
  170. <artifactId>redisson</artifactId>
  171. <version>3.18.0</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>jakarta.xml.bind</groupId>
  175. <artifactId>jakarta.xml.bind-api</artifactId>
  176. </dependency>
  177. </dependencies>
  178. <dependencyManagement>
  179. <dependencies>
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-dependencies</artifactId>
  183. <version>${spring-boot.version}</version>
  184. <type>pom</type>
  185. <scope>import</scope>
  186. </dependency>
  187. </dependencies>
  188. </dependencyManagement>
  189. <build>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-compiler-plugin</artifactId>
  194. <version>3.8.1</version>
  195. <configuration>
  196. <source>11</source>
  197. <target>11</target>
  198. <encoding>UTF-8</encoding>
  199. </configuration>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-maven-plugin</artifactId>
  204. <version>${spring-boot.version}</version>
  205. <configuration>
  206. <mainClass>com.zhentao.TourismHdApplication</mainClass>
  207. <skip>true</skip>
  208. </configuration>
  209. <executions>
  210. <execution>
  211. <id>repackage</id>
  212. <goals>
  213. <goal>repackage</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </project>