1
0

build(deps): 统一管理 datasource-decorator 依赖版本并优化配置

- 在父 pom.xml 中统一管理 datasource-decorator.version 为 2.0.0
- 添加 xbatis 依赖管理,移除子模块中的重复配置
- 为 JPA 模块添加 p6spy 依赖,配置 SQL 日志格式
This commit is contained in:
2026-01-07 16:28:06 +08:00
parent e4c0dc4884
commit 1b48081d5b
4 changed files with 36 additions and 14 deletions

View File

@@ -26,10 +26,10 @@
<groupId>cn.xbatis</groupId>
<artifactId>xbatis-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.github.gavlyukovskiy</groupId>
<artifactId>p6spy-spring-boot-starter</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
@@ -50,18 +50,6 @@
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>cn.xbatis</groupId>
<artifactId>xbatis-spring-boot-parent</artifactId>
<version>1.9.6-spring-boot4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>