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