Skip to content

Commit 2d7228d

Browse files
committed
Clean the pom
1 parent 8d946bb commit 2d7228d

File tree

6 files changed

+24
-48
lines changed

6 files changed

+24
-48
lines changed

mcp-docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<descriptors>
7272
<descriptor>src/assembly/javadocs.xml</descriptor>
7373
</descriptors>
74-
<finalName>spring-ai-mcp-${project.version}</finalName>
74+
<finalName>mcp-${project.version}</finalName>
7575
<appendAssemblyId>true</appendAssemblyId>
7676
</configuration>
7777
</plugin>

mcp-docs/src/main/javadoc/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<html>
1818
<body>
1919
<p>
20-
This document is the API specification for <a href="https://docs.spring.io/spring-ai-mcp/reference" target="_top">Spring AI</a>
20+
This document is the API specification for <a href="https://docs.spring.io/spring-ai-mcp/reference" target="_top">MCP Java SDK</a>
2121
</p>
2222
<div id="overviewBody">
2323
<p>

mcp/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# Java MCP SDK
22

33
Java SDK implementation of the Model Context Protocol, enabling seamless integration with language models and AI tools.
4-
5-
Find more at [Java MCP SDK](https://docs.spring.io/spring-ai-mcp/reference/mcp.html)

mcp/src/main/java/org/modelcontextprotocol/client/McpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class SyncSpec {
159159

160160
private ClientCapabilities capabilities;
161161

162-
private Implementation clientInfo = new Implementation("Spring AI MCP Client", "1.0.0");
162+
private Implementation clientInfo = new Implementation("Java SDK MCP Client", "1.0.0");
163163

164164
private final Map<String, Root> roots = new HashMap<>();
165165

pom.xml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection>
1818
</scm>
1919

20-
<name>Spring AI MCP Parent</name>
21-
<description>Java SDK and Spring Framework integration for the Model Context Protocol (MCP), enabling interaction with AI models and tools through a standardized interface</description>
20+
<name>Java SDK MCP Parent</name>
21+
<description>Java SDK for the Model Context Protocol (MCP), enabling interaction with AI models and tools through a standardized interface</description>
2222

2323

2424
<organization>
25-
<name>Spring Framework</name>
26-
<url>https://spring.io</url>
25+
<name>Anthropic</name>
26+
<url>https://www.anthropic.com</url>
2727
</organization>
2828

2929
<licenses>
@@ -65,7 +65,6 @@
6565
<maven.compiler.source>17</maven.compiler.source>
6666
<maven.compiler.target>17</maven.compiler.target>
6767

68-
<spring-ai.version>1.0.0-M5</spring-ai.version>
6968
<assert4j.version>3.26.3</assert4j.version>
7069
<junit.version>5.10.2</junit.version>
7170
<mockito.version>5.11.0</mockito.version>
@@ -297,16 +296,23 @@
297296
</build>
298297
</profile>
299298
<profile>
300-
<id>relesae</id>
299+
<id>release</id>
301300
<build>
302301
<plugins>
303302
<plugin>
304-
<groupId>org.sonatype.central</groupId>
305-
<artifactId>central-publishing-maven-plugin</artifactId>
306-
<version>0.7.0</version>
303+
<groupId>org.sonatype.plugins</groupId>
304+
<artifactId>nexus-staging-maven-plugin</artifactId>
305+
<version>1.6.7</version>
307306
<extensions>true</extensions>
308307
<configuration>
309-
<publishingServerId>central</publishingServerId>
308+
<serverId>ossrh</serverId>
309+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
310+
<!--
311+
the property autoReleaseAfterClose set to false you can manually inspect the staging repository in
312+
the Nexus Repository Manager and trigger a release of the staging
313+
repository later
314+
-->
315+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
310316
</configuration>
311317
</plugin>
312318
<plugin>
@@ -332,10 +338,13 @@
332338
</plugins>
333339
</build>
334340
<distributionManagement>
341+
<snapshotRepository>
342+
<id>ossrh</id>
343+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
344+
</snapshotRepository>
335345
<repository>
336346
<id>ossrh</id>
337-
<name>Central Repository OSSRH</name>
338-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
347+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
339348
</repository>
340349
</distributionManagement>
341350
</profile>
@@ -350,13 +359,6 @@
350359
<type>pom</type>
351360
<scope>import</scope>
352361
</dependency>
353-
<dependency>
354-
<groupId>org.springframework.ai</groupId>
355-
<artifactId>spring-ai-bom</artifactId>
356-
<version>${spring-ai.version}</version>
357-
<type>pom</type>
358-
<scope>import</scope>
359-
</dependency>
360362
</dependencies>
361363
</dependencyManagement>
362364

settings.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)