Phase 5: 全局编译修复 — Security 引用清理、JT1078 引用移除
PageInfo shim 兼容类(后续迁移到 PageResult)
web/custom 和 web/gb28181 补充迁移
Phase 6: SecurityConfiguration 更新放行 Hook/SSE 路径
Phase 7: 32 个 Controller 路径 /api/ → /video/
Phase 8: aiot-video 数据库 SQL(25 张表,含多租户 tenant_id + 逻辑删除 deleted)
Phase 9: mvn compile BUILD SUCCESS
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
226 lines
7.6 KiB
XML
226 lines
7.6 KiB
XML
<?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>
|
||
|
||
<!-- ==================== 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>
|
||
|
||
<!-- 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>
|
||
</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>
|