pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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.example</groupId>
  6. <artifactId>jingling</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.5.9</version>
  13. </parent>
  14. <name>jingling</name>
  15. <description>jingling</description>
  16. <!-- <repositories>-->
  17. <!-- <repository>-->
  18. <!-- <id>central</id>-->
  19. <!-- <url>https://repo1.maven.org/maven2/</url>-->
  20. <!-- </repository>-->
  21. <!-- </repositories>-->
  22. <properties>
  23. <java.version>1.8</java.version>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  26. <spring-boot.version>2.6.13</spring-boot.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. <exclusions>
  33. <!-- 排除冲突的日志框架 -->
  34. <exclusion>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-logging</artifactId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.fasterxml.jackson.core</groupId>
  42. <artifactId>jackson-databind</artifactId>
  43. <version>2.15.0</version> <!-- 使用最新稳定版 -->
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>2.2.2</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.json</groupId>
  52. <artifactId>json</artifactId>
  53. <version>20160810</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.bouncycastle</groupId>
  57. <artifactId>bcprov-jdk15to18</artifactId>
  58. <version>1.76</version> <!-- 使用最新版本 -->
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.httpcomponents</groupId>
  62. <artifactId>httpclient</artifactId>
  63. <version>4.5.13</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.mysql</groupId>
  67. <artifactId>mysql-connector-j</artifactId>
  68. <scope>runtime</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <optional>true</optional>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-test</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>fastjson</artifactId>
  83. <version>1.2.83_noneautotype</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.httpcomponents</groupId>
  87. <artifactId>httpclient</artifactId>
  88. <version>4.5.13</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>commons-io</groupId>
  92. <artifactId>commons-io</artifactId>
  93. <version>2.11.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>cn.hutool</groupId>
  97. <artifactId>hutool-all</artifactId>
  98. <version>5.8.19</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-websocket</artifactId>
  103. <version>5.3.23</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>ch.qos.logback</groupId>
  107. <artifactId>logback-classic</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.data</groupId>
  115. <artifactId>spring-data-redis</artifactId>
  116. <version>3.1.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>jakarta.validation</groupId>
  120. <artifactId>jakarta.validation-api</artifactId>
  121. <version>2.0.2</version>
  122. </dependency>
  123. </dependencies>
  124. <dependencyManagement>
  125. <dependencies>
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-dependencies</artifactId>
  129. <version>${spring-boot.version}</version>
  130. <type>pom</type>
  131. <scope>import</scope>
  132. </dependency>
  133. </dependencies>
  134. </dependencyManagement>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-compiler-plugin</artifactId>
  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.example.jingling.JinglingApplication</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>