xixi-box opened a new pull request, #9585:
URL: https://github.com/apache/camel-quarkus/pull/9585

   Fixes #9342
   
   Fixes #9342.
   
   The MCP Server runtime and deployment dependencies selected the Quarkiverse 
HTTP transport for every application. Camel publishes tools and resources 
through the Quarkiverse core API, so it only needs the core runtime and 
deployment artifacts.
   
   The extension and BOM now use those core artifacts. The MCP Server and 
OpenAI integration applications declare HTTP at compile scope so application 
packaging includes it. A Maven Enforcer regression checks the resolved 
deployment graph, including the runtime extension, for transport dependencies.
   
   Applications that serve tools and resources over streamable HTTP need to add 
`io.quarkiverse.mcp:quarkus-mcp-server-http` explicitly. The usage 
documentation and 4.0 migration guide show how.
   
   Tests: `./mvnw -B -ntp -pl extensions/mcp-server/deployment -am test 
-Dquickly`.
   Result: ./mvnw -B -ntp -pl extensions/mcp-server/deployment -am test 
-Dquickly — base exit 1: the named Enforcer execution rejected 
quarkus-mcp-server-http and quarkus-mcp-server-http-deployment. See 
OSSCOUT_BASE.log.
   Result: ./mvnw -B -ntp -pl extensions/mcp-server/deployment -am test 
-Dquickly — patched exit 0, including a rerun after formatting and BOM 
generation: BannedDependencies passed and BUILD SUCCESS. See 
OSSCOUT_PATCHED.log.
   Result: ./mvnw -B -ntp clean install -pl 
extensions/mcp-server/runtime,extensions/mcp-server/deployment -am -Dquickly — 
exit 0: both extension artifacts rebuilt and installed, and the transport 
regression passed.
   Result: ./mvnw -B -ntp -pl 
extensions/mcp-server/runtime,extensions/mcp-server/deployment,integration-tests/mcp-server,integration-tests/openai
 dependency:tree -Dincludes=io.quarkiverse.mcp — exit 0: core only in the 
extension modules, with explicit HTTP at compile scope in both integration 
applications.
   Result: ./mvnw -B -ntp -pl 
integration-tests/mcp-server,integration-tests/openai -am test 
-Dtest=McpServerTest,McpServerStatelessTest,OpenaiChatTest,OpenaiAudioTest,OpenaiEmbeddingTest
 -Dsurefire.failIfNoSpecifiedTests=false -DskipTests=false — base exit 1: MCP 
Server augmentation failed on ObjectMapperCustomizer before tests ran, and 
OpenAI was skipped by the reactor.
   Result: ./mvnw -B -ntp -fae -pl 
integration-tests/mcp-server,integration-tests/openai test -DskipTests=false — 
patched exit 1: both suites failed during augmentation on the same missing 
ObjectMapperCustomizer class before any test cases ran.
   Result: ./mvnw -B -ntp -pl integration-tests/mcp-server verify -Dnative 
-Ddocker -Dquarkus.build.skip=false -DskipTests=false -Dtest=NoJvmTests 
-Dsurefire.failIfNoSpecifiedTests=false — patched exit 1: Quarkus packaging 
failed on the same missing ObjectMapperCustomizer before native-image or 
Failsafe ran.
   Result: ./mvnw -B -ntp process-resources -Pformat -pl 
:camel-quarkus,extensions/mcp-server/runtime,extensions/mcp-server/deployment,integration-tests/mcp-server,integration-tests/openai,poms/bom-test
 — exit 0 after installing local reactor prerequisites, including 
cq:update-quarkus-metadata.
   Result: ./mvnw -B -ntp -pl extensions/mcp-server/deployment process-classes 
— exit 0: regenerated the MCP Server reference page.
   Result: ./mvnw -B -ntp install -pl poms/bom — exit 0: regenerated all three 
flattened BOMs, ran bom-overlaps, and installed the reduced BOM.
   Regression coverage: `extensions/mcp-server/deployment/pom.xml`.
   
   - [x] Link the existing issue and keep the change focused.
   - [ ] Use a meaningful commit subject and body with the issue number.
   - [x] Explain what the change does, how it works, and why it is needed.
   - [x] Include the issue-closing reference.
   - [x] Run the Maven format profile for the affected modules.
   - [x] Follow the contributor guide.
   <!-- oss-scout-job:job-0acb3fd8-5291-4511-b41d-e54d3d0e1642 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to