2026-04-05 16:48:40 +08:00
|
|
|
|
<?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>
|
|
|
|
|
|
<artifactId>viewsh-module-video</artifactId>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>viewsh-module-video-server</artifactId>
|
|
|
|
|
|
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
|
<description>
|
|
|
|
|
|
video 模块,主要实现摄像头管理、视频流管理、录像回放、NVR 对接等功能。
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring Cloud 基础 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-env</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 依赖服务 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-module-system-api</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-module-iot-api</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-module-video-api</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 业务组件 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-biz-tenant</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-security</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-mybatis</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-redis</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- RPC 远程调用相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-rpc</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Config 配置中心相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Job 定时任务相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-job</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 消息队列相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-mq</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Test 测试相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-test</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 监控相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-monitor</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 工具类相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.viewsh</groupId>
|
|
|
|
|
|
<artifactId>viewsh-spring-boot-starter-excel</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-04-05 23:46:07 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- ==================== WVP 迁移所需依赖 ==================== -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- T2.1: 必须依赖 -->
|
|
|
|
|
|
<!-- GB28181 SIP 协议栈(JAIN SIP) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>javax.sip</groupId>
|
|
|
|
|
|
<artifactId>jain-sip-ri</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SIP XML 消息解析 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 调用 ZLMediaKit REST API -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- HTTP Digest 认证 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.rburgst</groupId>
|
|
|
|
|
|
<artifactId>okhttp-digest</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SIP 认证加密 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
|
|
<artifactId>bcprov-jdk18on</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Redis 序列化(WVP 使用 FastJSON2,与框架 Jackson 隔离) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Spring 6 适配(不能用 spring5 版本) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2-extension-spring6</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- T2.2: 按需依赖 -->
|
|
|
|
|
|
<!-- AI MQTT 推送(WVP AI 模块使用 MQTT v5) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.eclipse.paho</groupId>
|
|
|
|
|
|
<artifactId>org.eclipse.paho.mqttv5.client</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 地理位置计算 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.locationtech.jts</groupId>
|
|
|
|
|
|
<artifactId>jts-core</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- AI 截图上传腾讯云 COS -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.qcloud</groupId>
|
|
|
|
|
|
<artifactId>cos_api</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-04-06 00:57:44 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- MVT 矢量瓦片库(GbChannelService 使用)
|
|
|
|
|
|
NOTE: no.ecc.vectortile:java-vector-tile:1.4.1 is not available in configured repos.
|
|
|
|
|
|
A stub no/ecc/vectortile/VectorTileEncoder.java has been added to the source tree.
|
|
|
|
|
|
TODO: Either install the jar in a local Maven repo or replace with mapbox-vector-tile.
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- OkHttp 日志拦截器 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
|
<artifactId>logging-interceptor</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- WebSocket(支持 JSR-356 @ServerEndpoint,WVP LogChannel 使用) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 系统硬件信息(OSHI,ServerController / SystemInfoUtils 使用) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-04-05 16:48:40 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|