pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.zhentao</groupId>
  5. <artifactId>springboot3_29.1</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>springboot3_29.1 Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  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.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.mybatis.spring.boot</groupId>
  23. <artifactId>mybatis-spring-boot-starter</artifactId>
  24. <version>2.2.2</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.mysql</groupId>
  28. <artifactId>mysql-connector-j</artifactId>
  29. <scope>runtime</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.alibaba.fastjson2</groupId>
  33. <artifactId>fastjson2</artifactId>
  34. <version>2.0.39</version>
  35. </dependency>
  36. <!-- Validation -->
  37. <dependency>
  38. <groupId>jakarta.validation</groupId>
  39. <artifactId>jakarta.validation-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. <version>3.5.4</version> <!-- 可以根据需要替换为最新稳定版本 -->
  45. </dependency>
  46. <dependency>
  47. <groupId>mysql</groupId>
  48. <artifactId>mysql-connector-java</artifactId>
  49. <version>8.0.33</version> <!-- 根据实际情况选择版本 -->
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>cn.hutool</groupId>
  63. <artifactId>hutool-all</artifactId>
  64. <version>5.8.16</version>
  65. </dependency>
  66. </dependencies>
  67. <dependencyManagement>
  68. <dependencies>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-dependencies</artifactId>
  72. <version>${spring-boot.version}</version>
  73. <type>pom</type>
  74. <scope>import</scope>
  75. </dependency>
  76. </dependencies>
  77. </dependencyManagement>
  78. <!-- <build>-->
  79. <!-- <plugins>-->
  80. <!-- <plugin>-->
  81. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  82. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  83. <!-- <version>3.8.1</version>-->
  84. <!-- <configuration>-->
  85. <!-- <source>1.8</source>-->
  86. <!-- <target>1.8</target>-->
  87. <!-- <encoding>UTF-8</encoding>-->
  88. <!-- </configuration>-->
  89. <!-- </plugin>-->
  90. <!-- <plugin>-->
  91. <!-- <groupId>org.springframework.boot</groupId>-->
  92. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  93. <!-- <version>${spring-boot.version}</version>-->
  94. <!-- <configuration>-->
  95. <!-- <mainClass>com.example.test0330.Test0330Application</mainClass>-->
  96. <!-- &lt;!&ndash; <skip>true</skip>&ndash;&gt;-->
  97. <!-- </configuration>-->
  98. <!-- <executions>-->
  99. <!-- <execution>-->
  100. <!-- <id>repackage</id>-->
  101. <!-- <goals>-->
  102. <!-- <goal>repackage</goal>-->
  103. <!-- </goals>-->
  104. <!-- </execution>-->
  105. <!-- </executions>-->
  106. <!-- </plugin>-->
  107. <!-- </plugins>-->
  108. <!-- </build>-->
  109. </project>