Blame view

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