ramu11 commented on PR #9509:
URL: https://github.com/apache/camel-quarkus/pull/9509#issuecomment-7163625048

   ### Quarkus 4 dependency and local testing setup
   
   A note for maintainers about the Quarkus 4 compatibility work and how I am 
currently testing this PR.
   
   The [[Quarkiverse MCP Server compatibility 
table](https://github.com/quarkiverse/quarkus-mcp-server#compatibility)](https://github.com/quarkiverse/quarkus-mcp-server#compatibility)
 now identifies its `main` branch as the 3.0.x line, compatible with Quarkus 
4.x and Java 21+. The Quarkus 4 migration was merged in 
[[quarkiverse/quarkus-mcp-server#1149](https://github.com/quarkiverse/quarkus-mcp-server/pull/1149)](https://github.com/quarkiverse/quarkus-mcp-server/pull/1149).
   
   **Dependency version and local setup**
   
   The upstream Quarkiverse MCP Server `main` POM still declares 
`999-SNAPSHOT`. Since the Quarkus 4-compatible 3.0.x artifacts are not yet 
available as a published release, I am using `3.0.0-SNAPSHOT` as a local 
version alias in this Camel Quarkus branch.
   
   I install the upstream Quarkiverse MCP Server source locally using:
   
   The helper:
   1. Checks out the Quarkiverse MCP Server source at the Quarkus 4 migration 
commit (`1098acf5f1bd17bd30282f9ad176fdc3f5abd19a`).
   2. Re-versions the upstream `999-SNAPSHOT` POM entries to `3.0.0-SNAPSHOT` 
locally.
   3. Builds and installs those artifacts into my local Maven repository.
   
   Camel Quarkus then uses `3.0.0-SNAPSHOT` through the 
`quarkiverse-mcp-server.version` property, shared by the relevant runtime, 
deployment and test BOM entries.
   
   **Local validation**
   
   The MCP runtime and deployment modules compile successfully.
   
   I am currently running the following validation:
   
   ```bash
   ./mvnw -pl integration-tests/mcp-server -am verify
   
   ./mvnw -pl integration-tests/mcp-server-no-security -am verify
   
   ./mvnw -pl 
integration-tests/mcp-server,integration-tests/mcp-server-no-security -am 
-Dnative verify
   
   ./mvnw -N cq:update-quarkus-metadata
   
   ./mvnw process-resources -Pformat -pl :camel-quarkus-catalog
   ```
   
   **CI consideration**
   
   The `3.0.0-SNAPSHOT` alias is currently installed only in my local Maven 
repository. A GitHub Actions runner will not have that locally installed 
artifact, so the PR CI build is expected to encounter dependency-resolution 
failures unless the corresponding Quarkiverse artifacts are published to a 
repository accessible by CI, or the CI build also builds and installs the 
Quarkiverse MCP Server source first.
   
   I am sharing this upfront so the current CI limitation is clear. Please let 
me know which dependency/versioning approach you would prefer until the 
Quarkiverse 3.0.x artifacts are officially published. I keep this PR in DRAFT 


-- 
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