mcp-declarative-java-sdk
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.codeboyzhou</groupId> <artifactId>mcp-declarative-java-sdk</artifactId> <version>0.3.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.codeboyzhou</groupId> <artifactId>mcp-declarative-java-sdk</artifactId> <version>0.3.0</version> <name>MCP Declarative Java SDK</name> <description>Annotation-driven MCP (Model Context Protocol) Development with Java - No Spring Framework Required</description> <url>https://github.com/codeboyzhou/mcp-declarative-java-sdk</url> <licenses> <license> <name>MIT License</name> <url>https://opensource.org/license/mit</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>codeboyzhou</name> <email>imzhouchen@gmail.com</email> </developer> </developers> <scm> <url>https://github.com/codeboyzhou/mcp-declarative-java-sdk</url> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/codeboyzhou/mcp-declarative-java-sdk/issues</url> </issueManagement> <properties> <java.version>17</java.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!--==================== maven plugin versions ====================--> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> <maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version> <maven-source-plugin.version>3.3.0</maven-source-plugin.version> <maven-surefire-plugin.version>3.2.3</maven-surefire-plugin.version> <sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version> <!--==================== dependency versions ======================--> <jetty.version>12.0.18</jetty.version> <junit5.version>5.10.2</junit5.version> <logback.version>1.5.18</logback.version> <mcp-sdk.version>0.9.0</mcp-sdk.version> <reflections.version>0.10.2</reflections.version> </properties> <dependencyManagement> <dependencies> <!-- Note: local installation is required if the mcp-sdk.version is SNAPSHOT --> <dependency> <groupId>io.modelcontextprotocol.sdk</groupId> <artifactId>mcp-bom</artifactId> <version>${mcp-sdk.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.modelcontextprotocol.sdk</groupId> <artifactId>mcp</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty.ee10</groupId> <artifactId>jetty-ee10-servlet</artifactId> <version>${jetty.version}</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit5.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>${reflections.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <version>${sortpom-maven-plugin.version}</version> <configuration> <nrOfIndentSpace>4</nrOfIndentSpace> <createBackupFile>false</createBackupFile> <indentAttribute>schemaLocation</indentAttribute> <sortModules>true</sortModules> <sortPlugins>groupId,artifactId</sortPlugins> <sortDependencies>groupId,artifactId</sortDependencies> <sortDependencyManagement>groupId,artifactId</sortDependencyManagement> </configuration> <executions> <execution> <goals> <goal>sort</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <!--suppress UnresolvedMavenProperty for IntelliJ IDEA--> <argLine>${jacoco.agent.argLine}</argLine> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <propertyName>jacoco.agent.argLine</propertyName> </configuration> </execution> <execution> <id>post-unit-test</id> <goals> <goal>report</goal> </goals> <phase>test</phase> <configuration> <outputDirectory>${project.build.directory}/unit-test-report</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <autoPublish>true</autoPublish> <publishingServerId>central</publishingServerId> <deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName> </configuration> </plugin> </plugins> </build> </project>