Copilot commented on code in PR #37065:
URL: https://github.com/apache/shardingsphere/pull/37065#discussion_r2510680684
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
Review Comment:
The documentation references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml). Users following this documentation will encounter dependency
resolution failures.
Please update to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
<artifactId>shardingsphere-parser-sql-engine-dialect-mysql</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- Database Dialects -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Connection Pool -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot Integration (if needed) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## Available Modules
+
+The ShardingSphere BOM includes version information for all major modules,
including but not limited to:
+
+* **Core Modules**: `shardingsphere-jdbc-core`, `shardingsphere-proxy-core`
Review Comment:
The documentation lists `shardingsphere-jdbc-core` and
`shardingsphere-proxy-core` as available core modules, but these artifacts are
not defined in the BOM. The BOM contains `shardingsphere-jdbc` instead (line
950), and doesn't appear to have a `shardingsphere-proxy-core` artifact.
Please update this list to reflect the actual artifacts available in the BOM.
```suggestion
* **Core Modules**: `shardingsphere-jdbc`
```
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- 数据库方言 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 连接池 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot 集成(如果需要) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## 可用模块
+
+ShardingSphere BOM 包含所有主要模块的版本信息,包括但不限于:
+
+* **核心模块**:`shardingsphere-jdbc-core`、`shardingsphere-proxy-core`
+* **SQL
解析器**:`shardingsphere-sql-parser-mysql`、`shardingsphere-sql-parser-postgresql` 等
+* **功能模块**:`shardingsphere-sharding`、`shardingsphere-encryption` 等
+* **基础设施**:`shardingsphere-infra-annotation`、`shardingsphere-infra-spi` 等
+* **数据源池**:`shardingsphere-infra-data-source-pool-hikari` 等
+* **Spring 集成**:`shardingsphere-spring-boot-starter` 等
+
+## Gradle 支持
+
+对于 Gradle 用户,您可以通过 `dependencyManagement` 插件使用 BOM:
+
+```gradle
+plugins {
+ id 'java'
+ id 'io.spring.dependency-management' version '1.0.11.RELEASE'
+}
+
+dependencyManagement {
+ imports {
+ mavenBom
"org.apache.shardingsphere:shardingsphere-bom:${shardingsphereVersion}"
+ }
+}
+
+dependencies {
+ implementation 'org.apache.shardingsphere:shardingsphere-jdbc-core'
Review Comment:
The Gradle example references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use this Gradle
configuration.
Please update the Gradle example to use the correct artifact name
`shardingsphere-jdbc`.
```suggestion
implementation 'org.apache.shardingsphere:shardingsphere-jdbc'
```
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- 数据库方言 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
Review Comment:
The documentation references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml). Users following this documentation will encounter dependency
resolution failures.
Please update to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
<artifactId>shardingsphere-parser-sql-engine-dialect-mysql</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- Database Dialects -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Connection Pool -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot Integration (if needed) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## Available Modules
+
+The ShardingSphere BOM includes version information for all major modules,
including but not limited to:
+
+* **Core Modules**: `shardingsphere-jdbc-core`, `shardingsphere-proxy-core`
+* **SQL Parsers**: `shardingsphere-sql-parser-mysql`,
`shardingsphere-sql-parser-postgresql`, etc.
+* **Feature Modules**: `shardingsphere-sharding`, `shardingsphere-encryption`,
etc.
+* **Infrastructure**: `shardingsphere-infra-annotation`,
`shardingsphere-infra-spi`, etc.
+* **Data Source Pools**: `shardingsphere-infra-data-source-pool-hikari`, etc.
+* **Spring Integration**: `shardingsphere-spring-boot-starter`, etc.
+
+## Gradle Support
+
+For Gradle users, you can use the BOM through the `dependencyManagement`
plugin:
+
+```gradle
+plugins {
+ id 'java'
+ id 'io.spring.dependency-management' version '1.0.11.RELEASE'
+}
+
+dependencyManagement {
+ imports {
+ mavenBom
"org.apache.shardingsphere:shardingsphere-bom:${shardingsphereVersion}"
+ }
+}
+
+dependencies {
+ implementation 'org.apache.shardingsphere:shardingsphere-jdbc-core'
+ implementation 'org.apache.shardingsphere:shardingsphere-sql-parser-mysql'
Review Comment:
The Gradle example references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml).
Please update the Gradle example to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
implementation
'org.apache.shardingsphere:shardingsphere-parser-sql-engine-dialect-mysql'
```
##########
distribution/bom/pom.xml:
##########
@@ -0,0 +1,1314 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<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>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-distribution</artifactId>
+ <version>5.5.3-SNAPSHOT</version>
+ </parent>
+ <artifactId>shardingsphere-bom</artifactId>
+ <packaging>pom</packaging>
+ <name>${project.artifactId}</name>
+ <description>Bill of Materials for Apache ShardingSphere</description>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-annotation</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-exception</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-context</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-url-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-url-classpath</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-url-zookeeper</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-url-etcd</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-url-absolutepath</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-algorithm-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-cryptographic</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-cryptographic-type</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-key-generator</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-key-generator-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-key-generator-snowflake</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-key-generator-uuid</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-load-balancer</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-load-balancer-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-load-balancer-random</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-load-balancer-round-robin</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-load-balancer-weight</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-message-digest</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-message-digest-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-algorithm-message-digest-md5</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-binder-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-binder-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-binder-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-binder-dialect-oracle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-binder-dialect-sqlserver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-binder-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-checker</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-route-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-route-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-route-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-rewrite-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-rewrite-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-merge</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-executor</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-session</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-entry</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-literal</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-interval</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-groovy</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-expr-espresso</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-util</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-reachability-metadata</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-database-connector-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-sql92</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-h2</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-mariadb</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-oracle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-sqlserver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-clickhouse</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-doris</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-hive</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-presto</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-connector-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-database-exception-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-exception-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-exception-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-database-protocol-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-protocol-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-protocol-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-protocol-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-database-protocol-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-distsql-engine</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-parser-sql-engine-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-sql92</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-oracle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-sqlserver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-hive</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-clickhouse</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-doris</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-presto</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-engine-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-dialect-oracle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-dialect-sqlserver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-parser-sql-statement-dialect-hive</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mode-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mode-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mode-node</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-cluster-mode-repository-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-cluster-mode-repository-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-cluster-mode-repository-zookeeper</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-cluster-mode-repository-etcd</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-standalone-mode-repository-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-standalone-mode-repository-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-standalone-mode-repository-memory</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-standalone-mode-repository-jdbc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-authority-provider-simple</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-authority-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-authority-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-authority-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-authority-database</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-single-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-single-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-single-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-single-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-single-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-federation-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-federation-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-federation-compiler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-federation-executor</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-federation-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-federation-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-federation-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-parser-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-parser-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-parser-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-translator-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-translator-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-translator-provider</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-translator-native-provider</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-translator-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-translator-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sql-translator-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-time-service-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-time-service-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-time-service-type</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-system-time-service</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-database-time-service</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-transaction-base-seata-at</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-transaction-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-transaction-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-transaction-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-xa-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-xa-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-xa-atomikos</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-xa-narayana</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-transaction-xa-provider</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-global-clock-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-global-clock-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-global-clock-hlc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-global-clock-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-global-clock-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-global-clock-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-global-clock-tso-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-global-clock-tso-provider-local</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-global-clock-tso-provider-redis</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-schedule-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-feature-sharding</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-data-pipeline-cdc-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-cdc-protocol</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-cdc-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-cdc-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-cdc-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-cdc-client</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-scenario-migration-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-scenario-migration-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-scenario-migration-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-scenario-migration-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-data-pipeline-scenario-consistency-check</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-frontend-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-frontend-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-frontend-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-frontend-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-frontend-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-backend-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-backend-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-backend-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-backend-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-backend-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-dialect-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-oracle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-sqlserver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-hive</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-presto</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-proxy-dialect-clickhouse</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-doris</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-dialect-mariadb</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-proxy-bootstrap</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-protocol-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-protocol-postgresql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-protocol-opengauss</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-protocol-firebird</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-broadcast-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-broadcast-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-broadcast-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-broadcast-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-broadcast-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-encrypt-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-encrypt-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-encrypt-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-encrypt-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-encrypt-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mask-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mask-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mask-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mask-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-mask-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-readwrite-splitting-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-readwrite-splitting-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-readwrite-splitting-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-readwrite-splitting-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-readwrite-splitting-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-shadow-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-shadow-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-shadow-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-shadow-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-shadow-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sharding-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sharding-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sharding-dialect-mysql</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sharding-distsql-statement</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sharding-distsql-parser</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-sharding-distsql-handler</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-plugins</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-plugin-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-plugin-metrics</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-metrics-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-agent-metrics-prometheus</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-plugin-tracing</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-tracing-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-agent-logging-type</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <skipIfEmpty>true</skipIfEmpty>
+ </configuration>
+ </plugin>
+ <plugin>
Review Comment:
Inconsistent indentation: this line uses 14 spaces while the plugin element
above (line 1298) uses 12 spaces. The indentation should be consistent with
other plugin elements.
Please change the indentation to 12 spaces to match line 1298.
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- 数据库方言 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 连接池 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot 集成(如果需要) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## 可用模块
+
+ShardingSphere BOM 包含所有主要模块的版本信息,包括但不限于:
+
Review Comment:
The documentation references SQL parser artifacts like
`shardingsphere-sql-parser-mysql` and `shardingsphere-sql-parser-postgresql`,
but these are not defined in the BOM. The actual artifacts in the BOM use a
different naming pattern: `shardingsphere-parser-sql-engine-dialect-mysql`,
`shardingsphere-parser-sql-engine-dialect-postgresql`, etc. (lines 435-480 in
bom/pom.xml).
Please update the documentation to reflect the correct artifact names.
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
Review Comment:
The documentation references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use the examples as shown.
Please update the documentation to use the correct artifact name
`shardingsphere-jdbc` or add `shardingsphere-jdbc-core` to the BOM if it's a
separate, valid artifact.
```suggestion
<artifactId>shardingsphere-jdbc</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- 数据库方言 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 连接池 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot 集成(如果需要) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## 可用模块
+
+ShardingSphere BOM 包含所有主要模块的版本信息,包括但不限于:
+
+* **核心模块**:`shardingsphere-jdbc-core`、`shardingsphere-proxy-core`
+* **SQL
解析器**:`shardingsphere-sql-parser-mysql`、`shardingsphere-sql-parser-postgresql` 等
+* **功能模块**:`shardingsphere-sharding`、`shardingsphere-encryption` 等
+* **基础设施**:`shardingsphere-infra-annotation`、`shardingsphere-infra-spi` 等
+* **数据源池**:`shardingsphere-infra-data-source-pool-hikari` 等
+* **Spring 集成**:`shardingsphere-spring-boot-starter` 等
+
+## Gradle 支持
+
+对于 Gradle 用户,您可以通过 `dependencyManagement` 插件使用 BOM:
+
+```gradle
+plugins {
+ id 'java'
+ id 'io.spring.dependency-management' version '1.0.11.RELEASE'
+}
+
+dependencyManagement {
+ imports {
+ mavenBom
"org.apache.shardingsphere:shardingsphere-bom:${shardingsphereVersion}"
+ }
+}
+
+dependencies {
+ implementation 'org.apache.shardingsphere:shardingsphere-jdbc-core'
+ implementation 'org.apache.shardingsphere:shardingsphere-sql-parser-mysql'
Review Comment:
The Gradle example references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml).
Please update the Gradle example to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
implementation
'org.apache.shardingsphere:shardingsphere-parser-sql-engine-dialect-mysql'
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- Database Dialects -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Connection Pool -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot Integration (if needed) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## Available Modules
+
+The ShardingSphere BOM includes version information for all major modules,
including but not limited to:
+
+* **Core Modules**: `shardingsphere-jdbc-core`, `shardingsphere-proxy-core`
+* **SQL Parsers**: `shardingsphere-sql-parser-mysql`,
`shardingsphere-sql-parser-postgresql`, etc.
+* **Feature Modules**: `shardingsphere-sharding`, `shardingsphere-encryption`,
etc.
+* **Infrastructure**: `shardingsphere-infra-annotation`,
`shardingsphere-infra-spi`, etc.
+* **Data Source Pools**: `shardingsphere-infra-data-source-pool-hikari`, etc.
+* **Spring Integration**: `shardingsphere-spring-boot-starter`, etc.
+
+## Gradle Support
+
+For Gradle users, you can use the BOM through the `dependencyManagement`
plugin:
+
+```gradle
+plugins {
+ id 'java'
+ id 'io.spring.dependency-management' version '1.0.11.RELEASE'
+}
+
+dependencyManagement {
+ imports {
+ mavenBom
"org.apache.shardingsphere:shardingsphere-bom:${shardingsphereVersion}"
+ }
+}
+
+dependencies {
+ implementation 'org.apache.shardingsphere:shardingsphere-jdbc-core'
Review Comment:
The Gradle example references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use this Gradle
configuration.
Please update the Gradle example to use the correct artifact name
`shardingsphere-jdbc`.
```suggestion
implementation 'org.apache.shardingsphere:shardingsphere-jdbc'
```
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
Review Comment:
The documentation references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use the examples as shown.
Please update the documentation to use the correct artifact name
`shardingsphere-jdbc` or add `shardingsphere-jdbc-core` to the BOM if it's a
separate, valid artifact.
```suggestion
<artifactId>shardingsphere-jdbc</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- Database Dialects -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Connection Pool -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot Integration (if needed) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## Available Modules
+
+The ShardingSphere BOM includes version information for all major modules,
including but not limited to:
+
Review Comment:
The documentation references SQL parser artifacts like
`shardingsphere-sql-parser-mysql` and `shardingsphere-sql-parser-postgresql`,
but these are not defined in the BOM. The actual artifacts in the BOM use a
different naming pattern: `shardingsphere-parser-sql-engine-dialect-mysql`,
`shardingsphere-parser-sql-engine-dialect-postgresql`, etc. (lines 435-480 in
bom/pom.xml).
Please update the documentation to reflect the correct artifact names.
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
Review Comment:
The documentation references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use the examples as shown.
Please update the documentation to use the correct artifact name
`shardingsphere-jdbc` or add `shardingsphere-jdbc-core` to the BOM if it's a
separate, valid artifact.
```suggestion
<artifactId>shardingsphere-jdbc</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 数据源池实现 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## 完整示例
+
+下面是一个使用 ShardingSphere BOM 的完整 `pom.xml` 示例:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- 核心 ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- 数据库方言 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- 连接池 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+
<artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+
+ <!-- Spring Boot 集成(如果需要) -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-spring-boot-starter</artifactId>
+ </dependency>
+ </dependencies>
+</project>
+```
+
+## 可用模块
+
+ShardingSphere BOM 包含所有主要模块的版本信息,包括但不限于:
Review Comment:
The documentation lists `shardingsphere-jdbc-core` and
`shardingsphere-proxy-core` as available core modules, but these artifacts are
not defined in the BOM. The BOM contains `shardingsphere-jdbc` instead (line
950), and doesn't appear to have a `shardingsphere-proxy-core` artifact.
Please update this list to reflect the actual artifacts available in the BOM.
##########
docs/document/content/user-manual/dependencies/bom.cn.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "物料清单 (BOM)"
+weight = 1
++++
+
+物料清单 (Bill of Materials, BOM) 是 Maven 的标准功能,提供集中化的依赖版本管理。ShardingSphere BOM
确保所有模块使用兼容的版本,消除版本冲突并简化依赖管理。
+
+## 什么是 ShardingSphere BOM?
+
+ShardingSphere BOM (`shardingsphere-bom`) 是一个包含所有 ShardingSphere 模块版本信息的 POM
文件。通过在项目中导入 BOM,您不再需要为单个 ShardingSphere 依赖指定版本。
+
+## 使用 BOM 的优势
+
+* **版本一致性**:确保所有 ShardingSphere 模块使用兼容版本
+* **简化依赖管理**:无需为单个模块指定版本
+* **轻松升级**:只需更改 BOM 版本即可升级所有 ShardingSphere 依赖
+* **减少 POM 体积**:更清晰、更易读的依赖声明
+* **冲突预防**:避免传递依赖之间的版本冲突
+
+## Maven 配置
+
+要在 Maven 项目中使用 ShardingSphere BOM,请在您的 `pom.xml` 中添加以下配置:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+导入 BOM 后,您可以声明 ShardingSphere 依赖而无需指定版本:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC 驱动 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- MySQL SQL 解析器 -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
Review Comment:
The documentation references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml). Users following this documentation will encounter dependency
resolution failures.
Please update to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
<artifactId>shardingsphere-parser-sql-engine-dialect-mysql</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
Review Comment:
The documentation references `shardingsphere-jdbc-core` as an artifact, but
the BOM only defines `shardingsphere-jdbc` (line 950 in bom/pom.xml). This will
cause dependency resolution to fail when users try to use the examples as
shown.
Please update the documentation to use the correct artifact name
`shardingsphere-jdbc` or add `shardingsphere-jdbc-core` to the BOM if it's a
separate, valid artifact.
```suggestion
<artifactId>shardingsphere-jdbc</artifactId>
```
##########
docs/document/content/user-manual/dependencies/bom.en.md:
##########
@@ -0,0 +1,158 @@
++++
+pre = "<b>4.5.1. </b>"
+title = "Bill of Materials (BOM)"
+weight = 1
++++
+
+A Bill of Materials (BOM) is a standard Maven feature that provides
centralized dependency version management. ShardingSphere BOM ensures that all
modules use compatible versions, eliminating version conflicts and simplifying
dependency management.
+
+## What is ShardingSphere BOM?
+
+The ShardingSphere BOM (`shardingsphere-bom`) is a POM file that contains
version information for all ShardingSphere modules. By importing the BOM in
your project, you no longer need to specify versions for individual
ShardingSphere dependencies.
+
+## Benefits of Using BOM
+
+* **Version Consistency**: Ensures all ShardingSphere modules use compatible
versions
+* **Simplified Dependency Management**: No need to specify versions for
individual modules
+* **Easy Upgrades**: Upgrade all ShardingSphere dependencies by changing only
the BOM version
+* **Reduced POM Size**: Cleaner and more readable dependency declarations
+* **Conflict Prevention**: Avoids version conflicts between transitive
dependencies
+
+## Maven Configuration
+
+To use ShardingSphere BOM in your Maven project, add the following to your
`pom.xml`:
+
+```xml
+<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+```
+
+After importing the BOM, you can declare ShardingSphere dependencies without
versions:
+
+```xml
+<dependencies>
+ <!-- ShardingSphere JDBC Driver -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- ShardingSphere Parser for MySQL -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
+ </dependency>
+
+ <!-- Data Source Pool Implementation -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-infra-data-source-pool-hikari</artifactId>
+ </dependency>
+</dependencies>
+```
+
+## Complete Example
+
+Here's a complete example of a `pom.xml` using ShardingSphere BOM:
+
+```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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>shardingsphere-example</artifactId>
+ <version>1.0.0</version>
+ <packaging>jar</packaging>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <shardingsphere.version>5.5.2</shardingsphere.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-bom</artifactId>
+ <version>${shardingsphere.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- Core ShardingSphere JDBC -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-jdbc-core</artifactId>
+ </dependency>
+
+ <!-- Database Dialects -->
+ <dependency>
+ <groupId>org.apache.shardingsphere</groupId>
+ <artifactId>shardingsphere-sql-parser-mysql</artifactId>
Review Comment:
The documentation references `shardingsphere-sql-parser-mysql`, but this
artifact is not defined in the BOM. The BOM contains
`shardingsphere-parser-sql-engine-dialect-mysql` instead (line 435 in
bom/pom.xml). Users following this documentation will encounter dependency
resolution failures.
Please update to use the correct artifact name:
`shardingsphere-parser-sql-engine-dialect-mysql`.
```suggestion
<artifactId>shardingsphere-parser-sql-engine-dialect-mysql</artifactId>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]