simple-starter/simple-starter-log/simple-starter-log-engine/pom.xml

106 lines
4.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log</artifactId>
<version>${revision}</version>
</parent>
<artifactId>simple-starter-log-engine</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>日志模块 - 异步持久化引擎(有界队列攒批/指数退避重试/降级落盘/定时回放,存储格式经 LogBatchWriter SPI 下沉接入方)</description>
<dependencies>
<!-- 日志模块 - 核心模块(LogRecord/LogDao/ConditionalOnEnabledLog) -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log-core</artifactId>
</dependency>
<!-- Hutool 核心(StrUtil,脱敏判空) -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
</dependency>
<!-- Hutool JSON(JSONUtil,请求/响应头与参数序列化;版本由 hutool-bom 管理) -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-json</artifactId>
</dependency>
<!-- AOP 织入器(@OperationLog/@Scheduled/@JobExecutor 切面:spring-aop 由 spring-boot-starter
传递,AopAutoConfiguration 检测到 aspectjweaver 自动启用代理;Spring Boot 4 已移除
spring-boot-starter-aop,版本由 spring-boot-dependencies 管理) -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
</dependency>
<!-- gRPC ServerInterceptor 通道(optional:仅引入 spring-grpc 的服务激活,
自动装配以 @ConditionalOnClass 守护;版本由 spring-boot-dependencies 管理为 1.1.0) -->
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-core</artifactId>
<optional>true</optional>
</dependency>
<!-- Snail Job @JobExecutor 定时任务切面(optional:引入 snail-job 的服务激活,
自动装配以 @ConditionalOnClass 守护) -->
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>snail-job-client-job-core</artifactId>
<optional>true</optional>
</dependency>
<!-- protobuf JSON 序列化(gRPC 请求/响应消息体进明细;grpc-services 同源传递依赖,
版本必须与 protobuf-java 一致,由 spring-boot-dependencies 的 protobuf-bom 锁定 4.34.2) -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<optional>true</optional>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- Spring Boot 自动装配 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- OpenTelemetry API(TraceContextResolver 读 Span.current() 兜底;纯 API 无 SDK 传递) -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
<!-- 单元测试 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- OpenTelemetry SDK(仅测试:构造真实 Span 验证 Span.current() 兜底逻辑) -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>