build(deps): 统一管理 datasource-decorator 依赖版本并优化配置
- 在父 pom.xml 中统一管理 datasource-decorator.version 为 2.0.0 - 添加 xbatis 依赖管理,移除子模块中的重复配置 - 为 JPA 模块添加 p6spy 依赖,配置 SQL 日志格式
This commit is contained in:
21
pom.xml
21
pom.xml
@@ -27,6 +27,7 @@
|
||||
<querydsl.version>7.1</querydsl.version>
|
||||
<mapstruct.version>1.6.3</mapstruct.version>
|
||||
<mapstruct-plus.version>1.5.0</mapstruct-plus.version>
|
||||
<datasource-decorator.version>2.0.0</datasource-decorator.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -89,11 +90,31 @@
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.gavlyukovskiy</groupId>
|
||||
<artifactId>p6spy-spring-boot-starter</artifactId>
|
||||
<version>${datasource-decorator.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.gavlyukovskiy</groupId>
|
||||
<artifactId>datasource-proxy-spring-boot-starter</artifactId>
|
||||
<version>${datasource-decorator.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jspecify</groupId>
|
||||
<artifactId>jspecify</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- xbatis -->
|
||||
<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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user