# 统一依赖管理

为解决开发人员在引入第三方依赖时需要处理版本兼容性的问题，凯亚commons项目提供dependency-bom模块统一维护依赖版本。

开发人员只需确保如下内容出现在自己模块的pom中即可。原则上不允许自行管理依赖版本（即pom中不应该出现`<version></version>`）

```markup
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.taocares</groupId>
            <artifactId>dependency-bom</artifactId>
            <version>1.0-SNAPSHOT</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
```

{% hint style="info" %}
其他的dependencyManagement内容均可移除。
{% endhint %}

{% hint style="warning" %}
如果遇到依赖兼容性问题，或者依赖的Jar未被管理，请及时上报，统一调整依赖版本。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://taocares.gitbook.io/development-guide/chuang-jian-xiang-mu/tong-yi-yi-lai-guan-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
