pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.5.7</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.yingpai</groupId>
  12. <artifactId>gupiao</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>gupiao</name>
  15. <description>gupiao</description>
  16. <url/>
  17. <licenses>
  18. <license/>
  19. </licenses>
  20. <developers>
  21. <developer/>
  22. </developers>
  23. <scm>
  24. <connection/>
  25. <developerConnection/>
  26. <tag/>
  27. <url/>
  28. </scm>
  29. <properties>
  30. <java.version>17</java.version>
  31. <mybatis-plus.version>3.5.8</mybatis-plus.version>
  32. </properties>
  33. <dependencies>
  34. <!-- 基础 Spring Boot -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter</artifactId>
  38. </dependency>
  39. <!-- Web MVC,用于提供 REST 接口 -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <!-- MyBatis-Plus(统一数据访问层) -->
  45. <dependency>
  46. <groupId>com.baomidou</groupId>
  47. <artifactId>mybatis-plus-boot-starter</artifactId>
  48. <version>${mybatis-plus.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mybatis</groupId>
  52. <artifactId>mybatis-spring</artifactId>
  53. <version>3.0.3</version>
  54. </dependency>
  55. <!-- MySQL 8 驱动 -->
  56. <dependency>
  57. <groupId>com.mysql</groupId>
  58. <artifactId>mysql-connector-j</artifactId>
  59. <version>9.1.0</version>
  60. <scope>runtime</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <!-- 微信支付 SDK -->
  73. <dependency>
  74. <groupId>com.github.wechatpay-apiv3</groupId>
  75. <artifactId>wechatpay-java</artifactId>
  76. <version>0.2.14</version>
  77. </dependency>
  78. <!-- JWT 用于生成和验证token -->
  79. <dependency>
  80. <groupId>io.jsonwebtoken</groupId>
  81. <artifactId>jjwt-api</artifactId>
  82. <version>0.11.5</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.jsonwebtoken</groupId>
  86. <artifactId>jjwt-impl</artifactId>
  87. <version>0.11.5</version>
  88. <scope>runtime</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.jsonwebtoken</groupId>
  92. <artifactId>jjwt-jackson</artifactId>
  93. <version>0.11.5</version>
  94. <scope>runtime</scope>
  95. </dependency>
  96. </dependencies>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>