pom.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.cdxw</groupId>
  7. <artifactId>spring_mvc_two</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>war</packaging>
  10. <!-- <properties>-->
  11. <!-- <maven.compiler.source>17</maven.compiler.source>-->
  12. <!-- <maven.compiler.target>17</maven.compiler.target>-->
  13. <!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
  14. <!-- </properties>-->
  15. <dependencies>
  16. <!--SpringMVC-->
  17. <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
  18. <dependency>
  19. <groupId>org.springframework</groupId>
  20. <artifactId>spring-webmvc</artifactId>
  21. <version>5.3.24</version>
  22. </dependency>
  23. <!--日志-->
  24. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  25. <dependency>
  26. <groupId>ch.qos.logback</groupId>
  27. <artifactId>logback-classic</artifactId>
  28. <version>1.4.6</version>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- ServletAPI -->
  32. <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
  33. <dependency>
  34. <groupId>javax.servlet</groupId>
  35. <artifactId>javax.servlet-api</artifactId>
  36. <version>4.0.1</version>
  37. <scope>provided</scope>
  38. </dependency>
  39. <!-- Spring5和Thymeleaf整合包 -->
  40. <!-- https://mvnrepository.com/artifact/org.thymeleaf/thymeleaf-spring5 -->
  41. <dependency>
  42. <groupId>org.thymeleaf</groupId>
  43. <artifactId>thymeleaf-spring5</artifactId>
  44. <version>3.1.1.RELEASE</version>
  45. </dependency>
  46. </dependencies>
  47. </project>