pom.xml 3.1 KB

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