pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.zqt.ccj</groupId>
  7. <artifactId>patrol-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>patrol-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.zqt.ccj</groupId>
  19. <artifactId>patrol-common</artifactId>
  20. </dependency>
  21. <!-- Web 相关 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <!-- spring boot 配置所需依赖 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-configuration-processor</artifactId>
  30. <optional>true</optional>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.github.xiaoymin</groupId>
  34. <artifactId>knife4j-spring-boot-starter</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.swagger</groupId>
  38. <artifactId>swagger-annotations</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-validation</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.security</groupId>
  46. <artifactId>spring-security-core</artifactId>
  47. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  48. </dependency>
  49. <!-- 业务组件 -->
  50. <dependency>
  51. <groupId>com.zqt.ccj</groupId>
  52. <artifactId>patrol-module-infra-api</artifactId> <!-- 需要使用它,进行操作日志的记录 -->
  53. <version>${revision}</version>
  54. </dependency>
  55. <!-- 服务保障相关 -->
  56. <dependency>
  57. <groupId>io.github.resilience4j</groupId>
  58. <artifactId>resilience4j-ratelimiter</artifactId>
  59. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  60. </dependency>
  61. </dependencies>
  62. </project>