From 5fa57a36f728ee7fd75896f2cb867442b16eaedc Mon Sep 17 00:00:00 2001 From: YunKui Lu Date: Fri, 16 May 2025 22:20:59 +0800 Subject: [PATCH] chore: use Maven CI Friendly Versions - Add support for building a specific SDK version via the `revision` property. Signed-off-by: YunKui Lu --- mcp-bom/pom.xml | 3 ++- mcp-spring/mcp-spring-webflux/pom.xml | 6 +++--- mcp-spring/mcp-spring-webmvc/pom.xml | 6 +++--- mcp-test/pom.xml | 5 +++-- mcp/pom.xml | 3 ++- pom.xml | 4 +++- 6 files changed, 16 insertions(+), 11 deletions(-) diff --git a/mcp-bom/pom.xml b/mcp-bom/pom.xml index 7214dacd..388ff184 100644 --- a/mcp-bom/pom.xml +++ b/mcp-bom/pom.xml @@ -7,7 +7,8 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} + ../pom.xml mcp-bom diff --git a/mcp-spring/mcp-spring-webflux/pom.xml b/mcp-spring/mcp-spring-webflux/pom.xml index a8b92bd0..57143f81 100644 --- a/mcp-spring/mcp-spring-webflux/pom.xml +++ b/mcp-spring/mcp-spring-webflux/pom.xml @@ -6,7 +6,7 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} ../../pom.xml mcp-spring-webflux @@ -25,13 +25,13 @@ io.modelcontextprotocol.sdk mcp - 0.11.0-SNAPSHOT + ${project.version} io.modelcontextprotocol.sdk mcp-test - 0.11.0-SNAPSHOT + ${project.version} test diff --git a/mcp-spring/mcp-spring-webmvc/pom.xml b/mcp-spring/mcp-spring-webmvc/pom.xml index 48d1c346..a1b8a5f7 100644 --- a/mcp-spring/mcp-spring-webmvc/pom.xml +++ b/mcp-spring/mcp-spring-webmvc/pom.xml @@ -6,7 +6,7 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} ../../pom.xml mcp-spring-webmvc @@ -25,13 +25,13 @@ io.modelcontextprotocol.sdk mcp - 0.11.0-SNAPSHOT + ${project.version} io.modelcontextprotocol.sdk mcp-test - 0.11.0-SNAPSHOT + ${project.version} test diff --git a/mcp-test/pom.xml b/mcp-test/pom.xml index a6e5bdb0..a223b15c 100644 --- a/mcp-test/pom.xml +++ b/mcp-test/pom.xml @@ -6,7 +6,8 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} + ../pom.xml mcp-test jar @@ -24,7 +25,7 @@ io.modelcontextprotocol.sdk mcp - 0.11.0-SNAPSHOT + ${project.version} diff --git a/mcp/pom.xml b/mcp/pom.xml index 77343282..ef81d450 100644 --- a/mcp/pom.xml +++ b/mcp/pom.xml @@ -6,7 +6,8 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} + ../pom.xml mcp jar diff --git a/pom.xml b/pom.xml index c2327ee8..a7c29148 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.modelcontextprotocol.sdk mcp-parent - 0.11.0-SNAPSHOT + ${revision} pom https://github.com/modelcontextprotocol/java-sdk @@ -52,6 +52,8 @@ + 0.11.0-SNAPSHOT + UTF-8 UTF-8 17