Skip to content

Commit 7272d33

Browse files
committed
Update MCP dependency management
- Move MCP BOM dependency management configuration into spring-ai parent Resolves #2180
1 parent 6035516 commit 7272d33

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

mcp/common/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@
2121
<developerConnection>[email protected]:spring-projects/spring-ai.git</developerConnection>
2222
</scm>
2323

24-
<dependencyManagement>
25-
<dependencies>
26-
<dependency>
27-
<groupId>io.modelcontextprotocol.sdk</groupId>
28-
<artifactId>mcp-bom</artifactId>
29-
<version>${mcp.sdk.version}</version>
30-
<type>pom</type>
31-
<scope>import</scope>
32-
</dependency>
33-
</dependencies>
34-
</dependencyManagement>
35-
3624
<dependencies>
3725
<dependency>
3826
<groupId>io.modelcontextprotocol.sdk</groupId>

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,13 @@
826826
<type>pom</type>
827827
<scope>import</scope>
828828
</dependency>
829+
<dependency>
830+
<groupId>io.modelcontextprotocol.sdk</groupId>
831+
<artifactId>mcp-bom</artifactId>
832+
<version>${mcp.sdk.version}</version>
833+
<type>pom</type>
834+
<scope>import</scope>
835+
</dependency>
829836
</dependencies>
830837
</dependencyManagement>
831838

spring-ai-docs/src/main/asciidoc/mcp.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ Required dependencies:
9292
<dependency>
9393
<groupId>io.modelcontextprotocol.sdk</groupId>
9494
<artifactId>mcp-spring-webmvc</artifactId>
95-
<version>${mcp.version}</version>
9695
</dependency>
9796
<dependency>
9897
<groupId>org.springframework.boot</groupId>
@@ -118,7 +117,6 @@ Required dependencies:
118117
<dependency>
119118
<groupId>io.modelcontextprotocol.sdk</groupId>
120119
<artifactId>mcp-spring-webflux</artifactId>
121-
<version>${mcp.version}</version>
122120
</dependency>
123121
<dependency>
124122
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)