pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.yushu</groupId>
  7. <artifactId>iot-framework</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>iot-spring-boot-starter-web</artifactId>
  13. <packaging>jar</packaging>
  14. <name>${project.artifactId}</name>
  15. <description>用户的认证、权限的校验</description>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.yushu</groupId>
  19. <artifactId>iot-common</artifactId>
  20. </dependency>
  21. <!-- Web 相关 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.github.xiaoymin</groupId>
  28. <artifactId>knife4j-spring-boot-starter</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.swagger</groupId>
  32. <artifactId>swagger-annotations</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-validation</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <!-- 服务保障相关 -->
  44. <dependency>
  45. <groupId>io.github.resilience4j</groupId>
  46. <artifactId>resilience4j-ratelimiter</artifactId>
  47. <scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-aop</artifactId>
  52. </dependency>
  53. </dependencies>
  54. </project>