Clean the pom

This commit is contained in:
Christian Tzolov 2025-01-28 13:06:05 +01:00
commit 2d7228d47c
6 changed files with 24 additions and 48 deletions

View file

@ -71,7 +71,7 @@
<descriptors>
<descriptor>src/assembly/javadocs.xml</descriptor>
</descriptors>
<finalName>spring-ai-mcp-${project.version}</finalName>
<finalName>mcp-${project.version}</finalName>
<appendAssemblyId>true</appendAssemblyId>
</configuration>
</plugin>

View file

@ -17,7 +17,7 @@
<html>
<body>
<p>
This document is the API specification for <a href="https://docs.spring.io/spring-ai-mcp/reference" target="_top">Spring AI</a>
This document is the API specification for <a href="https://docs.spring.io/spring-ai-mcp/reference" target="_top">MCP Java SDK</a>
</p>
<div id="overviewBody">
<p>

View file

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

View file

@ -159,7 +159,7 @@ public interface McpClient {
private ClientCapabilities capabilities;
private Implementation clientInfo = new Implementation("Spring AI MCP Client", "1.0.0");
private Implementation clientInfo = new Implementation("Java SDK MCP Client", "1.0.0");
private final Map<String, Root> roots = new HashMap<>();

40
pom.xml
View file

@ -17,13 +17,13 @@
<developerConnection>git@github.com/modelcontextprotocol/java-sdk.git</developerConnection>
</scm>
<name>Spring AI MCP Parent</name>
<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>
<name>Java SDK MCP Parent</name>
<description>Java SDK for the Model Context Protocol (MCP), enabling interaction with AI models and tools through a standardized interface</description>
<organization>
<name>Spring Framework</name>
<url>https://spring.io</url>
<name>Anthropic</name>
<url>https://www.anthropic.com</url>
</organization>
<licenses>
@ -65,7 +65,6 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<spring-ai.version>1.0.0-M5</spring-ai.version>
<assert4j.version>3.26.3</assert4j.version>
<junit.version>5.10.2</junit.version>
<mockito.version>5.11.0</mockito.version>
@ -297,16 +296,23 @@
</build>
</profile>
<profile>
<id>relesae</id>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<!--
the property autoReleaseAfterClose set to false you can manually inspect the staging repository in
the Nexus Repository Manager and trigger a release of the staging
repository later
-->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
@ -332,10 +338,13 @@
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
@ -350,13 +359,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${spring-ai.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

View file

@ -1,24 +0,0 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>spring-snapshots</id>
<username>${env.ARTIFACTORY_USERNAME}</username>
<password>${env.ARTIFACTORY_PASSWORD}</password>
</server>
<server>
<id>spring-staging</id>
<username>${env.ARTIFACTORY_USERNAME}</username>
<password>${env.ARTIFACTORY_PASSWORD}</password>
</server>
<server>
<id>spring-milestones</id>
<username>${env.ARTIFACTORY_USERNAME}</username>
<password>${env.ARTIFACTORY_PASSWORD}</password>
</server>
</servers>
</settings>