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 17919282ae6f14af4c7ee5d51b75eff88d62e786 Author: James Bognar <[email protected]> AuthorDate: Tue Jul 28 15:51:32 2026 -0400 build: add empty juneau-bean-jsonrpc module for the JSON-RPC envelope extraction Co-authored-by: Cursor <[email protected]> --- juneau-bean/juneau-bean-jsonrpc/pom.xml | 126 +++++++++++++++++++++ .../apache/juneau/bean/jsonrpc/package-info.java | 30 +++++ juneau-bean/pom.xml | 1 + juneau-bom/pom.xml | 1 + 4 files changed, 158 insertions(+) diff --git a/juneau-bean/juneau-bean-jsonrpc/pom.xml b/juneau-bean/juneau-bean-jsonrpc/pom.xml new file mode 100644 index 0000000000..af1958092c --- /dev/null +++ b/juneau-bean/juneau-bean-jsonrpc/pom.xml @@ -0,0 +1,126 @@ +<?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-bean</artifactId> + <version>10.0.0-SNAPSHOT</version> + </parent> + + <artifactId>juneau-bean-jsonrpc</artifactId> + <name>Apache Juneau JSON-RPC Beans</name> + <description>Apache Juneau Serializable Beans - JSON-RPC 2.0 envelope</description> + <packaging>bundle</packaging> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.juneau</groupId> + <artifactId>juneau-marshall</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</artifactId> + <version>${project.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-test-marshall-utils</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <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-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.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-bean/juneau-bean-jsonrpc/src/main/java/org/apache/juneau/bean/jsonrpc/package-info.java b/juneau-bean/juneau-bean-jsonrpc/src/main/java/org/apache/juneau/bean/jsonrpc/package-info.java new file mode 100644 index 0000000000..161649770b --- /dev/null +++ b/juneau-bean/juneau-bean-jsonrpc/src/main/java/org/apache/juneau/bean/jsonrpc/package-info.java @@ -0,0 +1,30 @@ +/* + * 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. + */ + +/** + * JSON-RPC 2.0 envelope beans. + * + * <p> + * Revision-neutral request/response/error framing plus the {@link org.apache.juneau.bean.jsonrpc.McpException} + * error carrier. This module carries no protocol-specific knowledge of any kind: it is the shared + * envelope layer beneath protocol-specific bean modules such as {@code juneau-bean-mcp-2025-06-18}. + * + * <h5 class='section'>See Also:</h5><ul> + * <li class='link'><a class="doclink" href="https://juneau.apache.org/docs/topics/JuneauBeanJsonRpc">juneau-bean-jsonrpc</a> + * </ul> + */ +package org.apache.juneau.bean.jsonrpc; diff --git a/juneau-bean/pom.xml b/juneau-bean/pom.xml index 4c2c939e01..1346b18b2c 100644 --- a/juneau-bean/pom.xml +++ b/juneau-bean/pom.xml @@ -37,6 +37,7 @@ <module>juneau-bean-html5</module> <module>juneau-bean-jsonapi</module> <module>juneau-bean-jsonpatch</module> + <module>juneau-bean-jsonrpc</module> <module>juneau-bean-jsonschema</module> <module>juneau-bean-mcp</module> <module>juneau-bean-openapi-v3</module> diff --git a/juneau-bom/pom.xml b/juneau-bom/pom.xml index cb25080ae1..a6a995a4b7 100644 --- a/juneau-bom/pom.xml +++ b/juneau-bom/pom.xml @@ -92,6 +92,7 @@ <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-jsonpatch</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-jsonapi</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-jsonschema</artifactId><version>${project.version}</version></dependency> + <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-jsonrpc</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-mcp</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-openapi-v3</artifactId><version>${project.version}</version></dependency> <dependency><groupId>org.apache.juneau</groupId><artifactId>juneau-bean-swagger-v2</artifactId><version>${project.version}</version></dependency>
