refactor: update Spring AI artifact IDs to new naming convention

Update Spring AI dependency artifact IDs in documentation to follow the new naming convention:

- spring-ai-mcp-client-spring-boot-starter → spring-ai-starter-mcp-client
- spring-ai-anthropic-spring-boot-starter → spring-ai-starter-model-anthropic
- spring-ai-mcp-server-spring-boot-starter → spring-ai-starter-mcp-server

This is to align the quckstart documentation with the changes to be released with Spring-AI 1.0.0-M7

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
Christian Tzolov 2025-03-25 21:15:06 +01:00 • committed by Christian Tzolov
commit 88ee4befc4

View file

@ -775,7 +775,7 @@ You will need to add the following dependencies:
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-mcp-server-spring-boot-starter</artifactId>
<artifactId>spring-ai-starter-mcp-server</artifactId>
</dependency>
<dependency>
@ -788,7 +788,7 @@ You will need to add the following dependencies:
<Tab title="Gradle">
```groovy
dependencies {
implementation platform("org.springframework.ai:spring-ai-mcp-server-spring-boot-starter")
implementation platform("org.springframework.ai:spring-ai-starter-mcp-server")
implementation platform("org.springframework:spring-web")
}
```
@ -1011,12 +1011,12 @@ mcpClient.closeGracefully();
### Use MCP Client Boot Starter
Create a new boot starter applicaiton using the `spring-ai-mcp-client-spring-boot-starter` dependency:
Create a new boot starter applicaiton using the `spring-ai-starter-mcp-client` dependency:
```xml
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId>
<artifactId>spring-ai-starter-mcp-client</artifactId>
</dependency>
```