This is an automated email from the ASF dual-hosted git repository. jamesbognar pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/juneau.git
commit d9f866b3aa013c4d2ddc6ee8c75a35f38db46e2e Author: James Bognar <[email protected]> AuthorDate: Tue Jul 28 16:58:33 2026 -0400 build: add empty juneau-rest-server-mcp-2025-06-18 adapter module Co-authored-by: Cursor <[email protected]> --- juneau-bom/pom.xml | 1 + juneau-distrib/pom.xml | 31 +++++ juneau-integration-tests/pom.xml | 5 + .../juneau-rest-server-mcp-2025-06-18/pom.xml | 131 +++++++++++++++++++++ .../rest/server/mcp/v20250618/package-info.java | 35 ++++++ juneau-rest/pom.xml | 1 + juneau-shaded/juneau-shaded-all/pom.xml | 5 + 7 files changed, 209 insertions(+) diff --git a/juneau-bom/pom.xml b/juneau-bom/pom.xml index 04cf223fb6..9b0ce5b56c 100644 --- a/juneau-bom/pom.xml +++ b/juneau-bom/pom.xml @@ -51,6 +51,7 @@ <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-rdf</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-mcp</artifactId><version>${project.version}</version></dependency> + <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-mcp-2025-06-18</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-auth-jwt</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-auth-saml</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-rest-server-auth-oauth</artifactId><version>${project.version}</version></dependency> diff --git a/juneau-distrib/pom.xml b/juneau-distrib/pom.xml index ae13ef2eaf..99bee866a7 100644 --- a/juneau-distrib/pom.xml +++ b/juneau-distrib/pom.xml @@ -165,6 +165,12 @@ <version>${project.version}</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> <dependency> <groupId>org.apache.juneau</groupId> <artifactId>juneau-rest-server-auth-jwt</artifactId> @@ -743,6 +749,31 @@ <destFileName>org.apache.juneau.rest.server.mcp_${project.version}.jar</destFileName> </artifactItem> + <!-- juneau-rest-server-mcp-2025-06-18 --> + <artifactItem> + <outputDirectory>${project.build.directory}/src/lib</outputDirectory> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + <type>jar</type> + <classifier>sources</classifier> + <destFileName>apache-juneau-rest-server-mcp-2025-06-18-${project.version}-sources.jar</destFileName> + </artifactItem> + <artifactItem> + <outputDirectory>${project.build.directory}/bin/lib</outputDirectory> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + <destFileName>apache-juneau-rest-server-mcp-2025-06-18-${project.version}.jar</destFileName> + </artifactItem> + <artifactItem> + <outputDirectory>${project.build.directory}/bin/osgi</outputDirectory> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + <destFileName>org.apache.juneau.rest.server.mcp.v20250618_${project.version}.jar</destFileName> + </artifactItem> + <!-- juneau-rest-server-auth-jwt --> <artifactItem> <outputDirectory>${project.build.directory}/src/lib</outputDirectory> diff --git a/juneau-integration-tests/pom.xml b/juneau-integration-tests/pom.xml index 51a58558ee..3019aa43fe 100644 --- a/juneau-integration-tests/pom.xml +++ b/juneau-integration-tests/pom.xml @@ -206,6 +206,11 @@ <artifactId>juneau-rest-server-mcp</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + </dependency> <dependency> <groupId>org.apache.juneau</groupId> <artifactId>juneau-rest-server-auth-jwt</artifactId> diff --git a/juneau-rest/juneau-rest-server-mcp-2025-06-18/pom.xml b/juneau-rest/juneau-rest-server-mcp-2025-06-18/pom.xml new file mode 100644 index 0000000000..57255db9ca --- /dev/null +++ b/juneau-rest/juneau-rest-server-mcp-2025-06-18/pom.xml @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest</artifactId> + <version>10.0.0-SNAPSHOT</version> + </parent> + + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <name>Apache Juneau REST Server MCP (2025-06-18)</name> + <description>Apache Juneau REST Server - Model Context Protocol revision 2025-06-18</description> + <packaging>bundle</packaging> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-bean-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> + <version>${junit.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-test-utils</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-mock</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-test</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <phase>verify</phase> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <supportIncrementalBuild>true</supportIncrementalBuild> + </configuration> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <id>default-prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>default-report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/juneau-rest/juneau-rest-server-mcp-2025-06-18/src/main/java/org/apache/juneau/rest/server/mcp/v20250618/package-info.java b/juneau-rest/juneau-rest-server-mcp-2025-06-18/src/main/java/org/apache/juneau/rest/server/mcp/v20250618/package-info.java new file mode 100644 index 0000000000..85211f2356 --- /dev/null +++ b/juneau-rest/juneau-rest-server-mcp-2025-06-18/src/main/java/org/apache/juneau/rest/server/mcp/v20250618/package-info.java @@ -0,0 +1,35 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * MCP {@code 2025-06-18} binding for {@code juneau-rest-server-mcp}. + * + * <p> + * Contains everything that knows about the {@code 2025-06-18} wire format: the JSON-RPC method + * table, the mapping between the revision-neutral model in + * {@link org.apache.juneau.rest.server.mcp} and the wire beans in + * {@link org.apache.juneau.bean.mcp.v20250618}, this revision's JSON-RPC error-code table, and the + * two entry points a consumer binds against + * ({@link org.apache.juneau.rest.server.mcp.v20250618.McpRestServlet20250618} for the + * servlet-subclass path and + * {@link org.apache.juneau.rest.server.mcp.v20250618.McpEndpoint20250618} for the mixin path). + * + * <h5 class='section'>See Also:</h5><ul> + * <li class='link'><a class="doclink" href="https://juneau.apache.org/docs/topics/JuneauRestServerMcp">juneau-rest-server-mcp</a> + * </ul> + */ +package org.apache.juneau.rest.server.mcp.v20250618; diff --git a/juneau-rest/pom.xml b/juneau-rest/pom.xml index 4a259535b3..def61093dd 100644 --- a/juneau-rest/pom.xml +++ b/juneau-rest/pom.xml @@ -36,6 +36,7 @@ <module>juneau-rest-server</module> <module>juneau-rest-server-rdf</module> <module>juneau-rest-server-mcp</module> + <module>juneau-rest-server-mcp-2025-06-18</module> <module>juneau-rest-server-auth-jwt</module> <module>juneau-rest-server-auth-saml</module> <module>juneau-rest-server-auth-oauth</module> diff --git a/juneau-shaded/juneau-shaded-all/pom.xml b/juneau-shaded/juneau-shaded-all/pom.xml index 391d6a248c..c34bd60d0d 100644 --- a/juneau-shaded/juneau-shaded-all/pom.xml +++ b/juneau-shaded/juneau-shaded-all/pom.xml @@ -64,6 +64,11 @@ <artifactId>juneau-rest-server-mcp</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-rest-server-mcp-2025-06-18</artifactId> + <version>${project.version}</version> + </dependency> <!-- Bean modules --> <dependency>
