pom.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <artifactId>springboot-jdbc-mysql</artifactId>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.3.6.RELEASE</version>
  11. </parent>
  12. <properties>
  13. <swagger.version>2.7.0</swagger.version>
  14. </properties>
  15. <dependencies>
  16. <!-- Spring Boot web依赖 -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <!-- Spring Boot Starter JDBC -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-jdbc</artifactId>
  25. </dependency>
  26. <!-- MySQL Connector -->
  27. <dependency>
  28. <groupId>mysql</groupId>
  29. <artifactId>mysql-connector-java</artifactId>
  30. <version>8.0.21</version>
  31. </dependency>
  32. <!-- swagger Dependency -->
  33. <dependency>
  34. <groupId>io.springfox</groupId>
  35. <artifactId>springfox-swagger2</artifactId>
  36. <version>${swagger.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.springfox</groupId>
  40. <artifactId>springfox-swagger-ui</artifactId>
  41. <version>${swagger.version}</version>
  42. </dependency>
  43. <!-- Knife4j Dependency -->
  44. <dependency>
  45. <groupId>com.github.xiaoymin</groupId>
  46. <artifactId>knife4j-spring-boot-starter</artifactId>
  47. <version>2.0.4</version>
  48. </dependency>
  49. </dependencies>
  50. </project>