pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <!-- Spring Boot Starters -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-redis</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <!-- MyBatis Plus -->
  36. <dependency>
  37. <groupId>com.baomidou</groupId>
  38. <artifactId>mybatis-plus-boot-starter</artifactId>
  39. <version>3.5.4</version>
  40. </dependency>
  41. <!-- MySQL -->
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. </dependency>
  46. <!-- Lombok -->
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. </dependency>
  51. <!-- 关于微信登录的配置-->
  52. <dependency>
  53. <groupId>org.apache.httpcomponents</groupId>
  54. <artifactId>httpclient</artifactId>
  55. <version>4.5.13</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>io.jsonwebtoken</groupId>
  59. <artifactId>jjwt</artifactId>
  60. <version>0.9.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>cn.hutool</groupId>
  64. <artifactId>hutool-all</artifactId>
  65. <version>5.8.11</version> <!-- 确保版本号是正确的 -->
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpcore</artifactId>
  70. <version>4.4.14</version>
  71. </dependency>
  72. <!-- jwt支持 -->
  73. <dependency>
  74. <groupId>com.auth0</groupId>
  75. <artifactId>java-jwt</artifactId>
  76. <version>3.19.2</version>
  77. </dependency>
  78. <!-- json格式化 -->
  79. <dependency>
  80. <groupId>com.google.code.gson</groupId>
  81. <artifactId>gson</artifactId>
  82. <version>2.8.9</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.hibernate.validator</groupId>
  86. <artifactId>hibernate-validator</artifactId>
  87. <version>6.2.0.Final</version>
  88. </dependency>
  89. <!-- Redisson -->
  90. <dependency>
  91. <groupId>org.redisson</groupId>
  92. <artifactId>redisson</artifactId>
  93. <version>3.18.0</version>
  94. </dependency>
  95. </dependencies>
  96. <dependencyManagement>
  97. <dependencies>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-dependencies</artifactId>
  101. <version>${spring-boot.version}</version>
  102. <type>pom</type>
  103. <scope>import</scope>
  104. </dependency>
  105. </dependencies>
  106. </dependencyManagement>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-compiler-plugin</artifactId>
  112. <version>3.8.1</version>
  113. <configuration>
  114. <source>1.8</source>
  115. <target>1.8</target>
  116. <encoding>UTF-8</encoding>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <version>${spring-boot.version}</version>
  123. <configuration>
  124. <mainClass>com.zhentao.TourismHdApplication</mainClass>
  125. <skip>true</skip>
  126. </configuration>
  127. <executions>
  128. <execution>
  129. <id>repackage</id>
  130. <goals>
  131. <goal>repackage</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>