pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <dependency>
  35. <groupId>cn.hutool</groupId>
  36. <artifactId>hutool-all</artifactId>
  37. <version>5.8.36</version>
  38. </dependency>
  39. <!-- 基础 Spring Boot -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter</artifactId>
  43. </dependency>
  44. <!-- Web MVC,用于提供 REST 接口 -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-web</artifactId>
  48. </dependency>
  49. <!-- MyBatis-Plus(统一数据访问层) -->
  50. <dependency>
  51. <groupId>com.baomidou</groupId>
  52. <artifactId>mybatis-plus-boot-starter</artifactId>
  53. <version>${mybatis-plus.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.mybatis</groupId>
  57. <artifactId>mybatis-spring</artifactId>
  58. <version>3.0.3</version>
  59. </dependency>
  60. <!-- MySQL 8 驱动 -->
  61. <dependency>
  62. <groupId>com.mysql</groupId>
  63. <artifactId>mysql-connector-j</artifactId>
  64. <version>9.1.0</version>
  65. <scope>runtime</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <optional>true</optional>
  76. </dependency>
  77. <!-- 微信支付 SDK -->
  78. <dependency>
  79. <groupId>com.github.wechatpay-apiv3</groupId>
  80. <artifactId>wechatpay-java</artifactId>
  81. <version>0.2.14</version>
  82. </dependency>
  83. <!-- JWT 用于生成和验证token -->
  84. <dependency>
  85. <groupId>io.jsonwebtoken</groupId>
  86. <artifactId>jjwt-api</artifactId>
  87. <version>0.11.5</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.jsonwebtoken</groupId>
  91. <artifactId>jjwt-impl</artifactId>
  92. <version>0.11.5</version>
  93. <scope>runtime</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.jsonwebtoken</groupId>
  97. <artifactId>jjwt-jackson</artifactId>
  98. <version>0.11.5</version>
  99. <scope>runtime</scope>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>