pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. <build>
  8. <plugins>
  9. <plugin>
  10. <groupId>org.apache.maven.plugins</groupId>
  11. <artifactId>maven-compiler-plugin</artifactId>
  12. <configuration>
  13. <source>8</source>
  14. <target>8</target>
  15. </configuration>
  16. </plugin>
  17. </plugins>
  18. </build>
  19. <version>1.0-SNAPSHOT</version>
  20. <name>springboot3_29.1 Maven Webapp</name>
  21. <url>http://maven.apache.org</url>
  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. </dependency>
  33. <dependency>
  34. <groupId>org.mybatis.spring.boot</groupId>
  35. <artifactId>mybatis-spring-boot-starter</artifactId>
  36. <version>2.2.2</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.mysql</groupId>
  40. <artifactId>mysql-connector-j</artifactId>
  41. <scope>runtime</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.fastjson2</groupId>
  45. <artifactId>fastjson2</artifactId>
  46. <version>2.0.39</version>
  47. </dependency>
  48. <!-- Validation -->
  49. <dependency>
  50. <groupId>jakarta.validation</groupId>
  51. <artifactId>jakarta.validation-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>3.5.4</version> <!-- 可以根据需要替换为最新稳定版本 -->
  57. </dependency>
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. <version>8.0.33</version> <!-- 根据实际情况选择版本 -->
  62. </dependency>
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-test</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>cn.hutool</groupId>
  75. <artifactId>hutool-all</artifactId>
  76. <version>5.8.16</version>
  77. </dependency>
  78. </dependencies>
  79. <dependencyManagement>
  80. <dependencies>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-dependencies</artifactId>
  84. <version>${spring-boot.version}</version>
  85. <type>pom</type>
  86. <scope>import</scope>
  87. </dependency>
  88. </dependencies>
  89. </dependencyManagement>
  90. <!-- <build>-->
  91. <!-- <plugins>-->
  92. <!-- <plugin>-->
  93. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  94. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  95. <!-- <version>3.8.1</version>-->
  96. <!-- <configuration>-->
  97. <!-- <source>1.8</source>-->
  98. <!-- <target>1.8</target>-->
  99. <!-- <encoding>UTF-8</encoding>-->
  100. <!-- </configuration>-->
  101. <!-- </plugin>-->
  102. <!-- <plugin>-->
  103. <!-- <groupId>org.springframework.boot</groupId>-->
  104. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  105. <!-- <version>${spring-boot.version}</version>-->
  106. <!-- <configuration>-->
  107. <!-- <mainClass>com.example.test0330.Test0330Application</mainClass>-->
  108. <!-- &lt;!&ndash; <skip>true</skip>&ndash;&gt;-->
  109. <!-- </configuration>-->
  110. <!-- <executions>-->
  111. <!-- <execution>-->
  112. <!-- <id>repackage</id>-->
  113. <!-- <goals>-->
  114. <!-- <goal>repackage</goal>-->
  115. <!-- </goals>-->
  116. <!-- </execution>-->
  117. <!-- </executions>-->
  118. <!-- </plugin>-->
  119. <!-- </plugins>-->
  120. <!-- </build>-->
  121. </project>