pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-spring-boot-starter-websocket</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>WebSocket 框架,支持多节点的广播</description>
  15. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>cn.iocoder.boot</groupId>
  19. <artifactId>yudao-common</artifactId>
  20. </dependency>
  21. <!-- Web 相关 -->
  22. <dependency>
  23. <!-- 为什么是 websocket 依赖 security 呢?而不是 security 拓展 websocket 呢?
  24. 因为 websocket 和 LoginUser 当前登录的用户有一定的相关性,具体可见 WebSocketSessionManagerImpl 逻辑。
  25. 如果让 security 拓展 websocket 的话,会导致 websocket 组件的封装很散,进而增大理解成本。
  26. -->
  27. <groupId>cn.iocoder.boot</groupId>
  28. <artifactId>yudao-spring-boot-starter-security</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-websocket</artifactId>
  34. </dependency>
  35. <!-- Web 相关 -->
  36. <dependency>
  37. <!-- 为什么是 websocket 依赖 security 呢?而不是 security 拓展 websocket 呢?
  38. 因为 websocket 和 LoginUser 当前登录的用户有一定的相关性,具体可见 WebSocketSessionManagerImpl 逻辑。
  39. 如果让 security 拓展 websocket 的话,会导致 websocket 组件的封装很散,进而增大理解成本。
  40. -->
  41. <groupId>cn.iocoder.boot</groupId>
  42. <artifactId>yudao-spring-boot-starter-security</artifactId>
  43. <scope>provided</scope>
  44. </dependency>
  45. <!-- 消息队列相关 -->
  46. <dependency>
  47. <groupId>cn.iocoder.boot</groupId>
  48. <artifactId>yudao-spring-boot-starter-mq</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.kafka</groupId>
  52. <artifactId>spring-kafka</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.amqp</groupId>
  57. <artifactId>spring-rabbit</artifactId>
  58. <optional>true</optional>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.rocketmq</groupId>
  62. <artifactId>rocketmq-spring-boot-starter</artifactId>
  63. <optional>true</optional>
  64. </dependency>
  65. <!-- 业务组件 -->
  66. <dependency>
  67. <!-- 为什么要依赖 tenant 组件?
  68. 因为广播某个类型的用户时候,需要根据租户过滤下,避免广播到别的租户!
  69. -->
  70. <groupId>cn.iocoder.boot</groupId>
  71. <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. </dependencies>
  75. </project>