pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <aws-sdk.version>2.25.60</aws-sdk.version>
  33. </properties>
  34. <dependencies>
  35. <!-- 基础 Spring Boot -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter</artifactId>
  39. </dependency>
  40. <!-- Web MVC,用于提供 REST 接口 -->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. </dependency>
  45. <!-- MyBatis-Plus(统一数据访问层) -->
  46. <dependency>
  47. <groupId>com.baomidou</groupId>
  48. <artifactId>mybatis-plus-boot-starter</artifactId>
  49. <version>${mybatis-plus.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.mybatis</groupId>
  53. <artifactId>mybatis-spring</artifactId>
  54. <version>3.0.3</version>
  55. </dependency>
  56. <!-- MySQL 8 驱动 -->
  57. <dependency>
  58. <groupId>com.mysql</groupId>
  59. <artifactId>mysql-connector-j</artifactId>
  60. <version>9.1.0</version>
  61. <scope>runtime</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.projectlombok</groupId>
  70. <artifactId>lombok</artifactId>
  71. <optional>true</optional>
  72. </dependency>
  73. <!-- JWT 用于生成和验证token -->
  74. <dependency>
  75. <groupId>io.jsonwebtoken</groupId>
  76. <artifactId>jjwt-api</artifactId>
  77. <version>0.11.5</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.jsonwebtoken</groupId>
  81. <artifactId>jjwt-impl</artifactId>
  82. <version>0.11.5</version>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>io.jsonwebtoken</groupId>
  87. <artifactId>jjwt-jackson</artifactId>
  88. <version>0.11.5</version>
  89. <scope>runtime</scope>
  90. </dependency>
  91. <!-- AWS S3 SDK (兼容阿里云/腾讯云/MinIO等) -->
  92. <dependency>
  93. <groupId>software.amazon.awssdk</groupId>
  94. <artifactId>s3</artifactId>
  95. <version>${aws-sdk.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>software.amazon.awssdk</groupId>
  99. <artifactId>s3-transfer-manager</artifactId>
  100. <version>${aws-sdk.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>software.amazon.awssdk</groupId>
  104. <artifactId>netty-nio-client</artifactId>
  105. <version>${aws-sdk.version}</version>
  106. </dependency>
  107. </dependencies>
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>