pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <parent>
  6. <groupId>com.xindazhou</groupId>
  7. <artifactId>xdz-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>xdz-spring-boot-starter-web</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>Web 框架,全局异常、API 日志、脱敏、错误码等</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.xindazhou</groupId>
  18. <artifactId>xdz-common</artifactId>
  19. </dependency>
  20. <!-- Spring Boot 配置所需依赖 -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-configuration-processor</artifactId>
  24. <optional>true</optional>
  25. </dependency>
  26. <!-- Web 相关 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-validation</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.security</groupId>
  37. <artifactId>spring-security-core</artifactId>
  38. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  39. </dependency>
  40. <dependency>
  41. <groupId>com.github.xiaoymin</groupId>
  42. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springdoc</groupId>
  46. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  47. </dependency>
  48. <!-- RPC 远程调用相关 -->
  49. <dependency>
  50. <groupId>com.xindazhou</groupId>
  51. <artifactId>xdz-spring-boot-starter-rpc</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <!-- 工具类相关 -->
  55. <dependency>
  56. <groupId>com.google.guava</groupId>
  57. <artifactId>guava</artifactId>
  58. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  59. </dependency>
  60. <dependency>
  61. <groupId>org.jsoup</groupId>
  62. <artifactId>jsoup</artifactId>
  63. </dependency>
  64. <!-- Test 测试相关 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.mockito</groupId>
  72. <artifactId>mockito-inline</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. </dependencies>
  76. </project>