This commit is contained in:
2025-08-27 19:57:16 +08:00
parent 9e474a68d4
commit 872ec57d65

25
docs/zh/intro/maven.md Normal file
View File

@@ -0,0 +1,25 @@
# Maven 依赖
## 前言
以下的 xml maven 依赖示例中,可能并非最新的 Agents-Flex 版本请自行查看最新版本并修改版本号。最新版本查看地址https://search.maven.org/artifact/com.agentsflex/parent
## 未使用 SpringBoot 的场景
```xml
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-bom</artifactId>
<version>1.2.2</version>
</dependency>
```
## 使用了 SpringBoot 的场景
```xml
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-spring-boot-starter</artifactId>
<version>1.2.2</version>
</dependency>
```