You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/10/14 08:08:46 UTC

[PR] CAMEL-25629: camel-jbang - the camel.jbang.javaVersion metadata lists Java 25 too [camel]

davsclaus opened a new pull request, #27810:
URL: https://github.com/apache/camel/pull/27810

   ## Summary
   
   Fixes [CAMEL-25629](https://issues.apache.org/jira/browse/CAMEL-25629).
   
   The `camel.jbang.javaVersion` configuration was documented with only `21` as its allowed value, while `--java-version` offers `21` and `25` (`JavaVersionCompletionCandidates`), and export has Dockerfile templates for both. Tooling that reads the configuration metadata, for example from the catalog, would reject `25`.
   
   ## Changes
   
   - `CamelJBangConstants.JAVA_VERSION`: `enums = "21,25"`. The default stays `21`.
   - Regenerated `camel-jbang-configuration-metadata.json` and its copy in camel-catalog.
   
   ## Tests
   
   - `JavaVersionMetadataTest`: the versions in the generated metadata are the same as the `--java-version` completion candidates, so the two cannot drift apart again.
   
   Labelled `port/camel-4.22.x` (fix version 4.22.2): the same line is on `camel-4.22.x`, so the change cherry-picks as is.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25629: camel-jbang - the camel.jbang.javaVersion metadata lists Java 25 too [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27810:
URL: https://github.com/apache/camel/pull/27810#issuecomment-6163893727

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25629: camel-jbang - the camel.jbang.javaVersion metadata lists Java 25 too [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27810:
URL: https://github.com/apache/camel/pull/27810#issuecomment-6166747029

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `catalog/camel-catalog`
   - `dsl/camel-jbang/camel-jbang-core`
   
   ---
   
   <details><summary>:microscope: Scalpel shadow comparison — Scalpel: 7 of 703 tested, 22 compile-only — current: 7 all tested</summary>
   
   [Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **7 affected modules** (current approach: 7).
   
   **Skip-tests mode would test 7 modules** (2 direct + 7 downstream), **skip tests for 22** (generated code, meta-modules)
   
   <details><summary>Modules Scalpel would test (7)</summary>
   
   - `camel-jbang-mcp` ← downstream of org.apache.camel:camel-catalog
   - `camel-jbang-plugin-mcp` ← downstream of org.apache.camel:camel-jbang-core
   - `camel-jbang-plugin-tui` ← downstream of org.apache.camel:camel-catalog
   - `camel-jbang-plugin-validate` ← downstream of org.apache.camel:camel-jbang-core
   - `camel-launcher-container` ← downstream of org.apache.camel:camel-launcher
   - `camel-yaml-dsl-validator` ← downstream of org.apache.camel:camel-catalog
   - `camel-yaml-dsl-validator-maven-plugin` ← downstream of org.apache.camel:camel-yaml-dsl-validator
   
   </details>
   
   <details><summary>Modules with tests skipped (22)</summary>
   
   - `apache-camel`
   - `camel-catalog-console`
   - `camel-catalog-maven`
   - `camel-catalog-suggest`
   - `camel-componentdsl`
   - `camel-endpointdsl`
   - `camel-endpointdsl-support`
   - `camel-itest`
   - `camel-jbang-it`
   - `camel-jbang-main`
   - `camel-jbang-plugin-edit`
   - `camel-jbang-plugin-generate`
   - `camel-jbang-plugin-kubernetes`
   - `camel-jbang-plugin-test`
   - `camel-kamelet-main`
   - `camel-launcher`
   - `camel-report-maven-plugin`
   - `camel-route-parser`
   - `camel-yaml-dsl`
   - `camel-yaml-dsl-deserializers`
   - `camel-yaml-dsl-maven-plugin`
   - `coverage`
   
   </details>
   
   > :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
   
   </details>
   
   :warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
   
   - `dsl/camel-jbang/camel-jbang-core`: 2 test(s) disabled on GitHub Actions
   
   :bulb: **Manual integration tests recommended:**
   
   > You modified `dsl/camel-jbang/camel-jbang-core`. The related integration tests in `dsl/camel-jbang/camel-jbang-it` are excluded from CI. Consider running them manually:
   > ```
   > mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
   > ```
   
   <details><summary>All tested modules (31 modules, 4m 58s total)</summary>
   
   **Total reactor time:** 4m 58s
   
   | Module | Duration | Status |
   | --- | --- | --- |
   | Camel :: Launcher | 50.3s | SUCCESS |
   | Camel :: JBang :: MCP | 40.9s | SUCCESS |
   | Camel :: Component DSL | 23.4s | SUCCESS |
   | Camel :: JBang :: Plugin :: Kubernetes | 23.3s | SUCCESS |
   | Camel :: Catalog :: Camel Catalog | 22.2s | SUCCESS |
   | Camel :: YAML DSL | 20.5s | SUCCESS |
   | Camel :: YAML DSL :: Validator | 19.3s | SUCCESS |
   | Camel :: JBang :: Plugin :: Validate | 17.6s | SUCCESS |
   | Camel :: Kamelet Main | 12.9s | SUCCESS |
   | Camel :: Catalog :: Camel Route Parser | 11.8s | SUCCESS |
   | Camel :: JBang :: Plugin :: Testing | 11.0s | SUCCESS |
   | Camel :: YAML DSL :: Deserializers | 9.3s | SUCCESS |
   | Camel :: Catalog :: Camel Report Maven Plugin | 6.7s | SUCCESS |
   | Camel :: YAML DSL :: Maven Plugins | 5.0s | SUCCESS |
   | Camel :: YAML DSL :: Validator Maven Plugin | 4.7s | SUCCESS |
   | Camel :: Catalog :: Maven | 3.4s | SUCCESS |
   | Camel :: Catalog :: Suggest (deprecated) | 2.7s | SUCCESS |
   | Camel :: Assembly | 2.3s | SUCCESS |
   | Camel :: Catalog :: Console | 1.8s | SUCCESS |
   | Camel :: JBang :: Plugin :: MCP | 1.4s | SUCCESS |
   | Camel :: JBang :: Plugin :: Edit | 1.4s | SUCCESS |
   | Camel :: JBang :: Plugin :: Generate | 1.3s | SUCCESS |
   | Camel :: Coverage | 1.2s | SUCCESS |
   | Camel :: JBang :: Main | 1.2s | SUCCESS |
   | Camel :: JBang :: Integration tests | 0.9s | SUCCESS |
   | Camel :: Launcher :: Container | 0.8s | SUCCESS |
   | Camel :: Endpoint DSL :: Support | 0.7s | SUCCESS |
   | Camel :: Endpoint DSL | n/a |  |
   | Camel :: Integration Tests | n/a |  |
   | Camel :: JBang :: Core | n/a |  |
   | Camel :: JBang :: Plugin :: TUI | n/a |  |
   
   **Top 20 slowest modules:**
   - `Camel :: Launcher` (50.3s)
   - `Camel :: JBang :: MCP` (40.9s)
   - `Camel :: Component DSL` (23.4s)
   - `Camel :: JBang :: Plugin :: Kubernetes` (23.3s)
   - `Camel :: Catalog :: Camel Catalog` (22.2s)
   - `Camel :: YAML DSL` (20.5s)
   - `Camel :: YAML DSL :: Validator` (19.3s)
   - `Camel :: JBang :: Plugin :: Validate` (17.6s)
   - `Camel :: Kamelet Main` (12.9s)
   - `Camel :: Catalog :: Camel Route Parser` (11.8s)
   - `Camel :: JBang :: Plugin :: Testing` (11.0s)
   - `Camel :: YAML DSL :: Deserializers` (9.3s)
   - `Camel :: Catalog :: Camel Report Maven Plugin` (6.7s)
   - `Camel :: YAML DSL :: Maven Plugins` (5.0s)
   - `Camel :: YAML DSL :: Validator Maven Plugin` (4.7s)
   - `Camel :: Catalog :: Maven` (3.4s)
   - `Camel :: Catalog :: Suggest (deprecated)` (2.7s)
   - `Camel :: Assembly` (2.3s)
   - `Camel :: Catalog :: Console` (1.8s)
   - `Camel :: JBang :: Plugin :: MCP` (1.4s)
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/38533064133)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25629: camel-jbang - the camel.jbang.javaVersion metadata lists Java 25 too [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #27810:
URL: https://github.com/apache/camel/pull/27810


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-25629: camel-jbang - the camel.jbang.javaVersion metadata lists Java 25 too [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on PR #27810:
URL: https://github.com/apache/camel/pull/27810#issuecomment-6166839901

   <!-- camel-backport-bot -->
   
   ### 🔄 Backport Bot
   
   **Port PRs created:**
   - ✅ `camel-4.22.x` → #27828
   
   â„šī¸ If you push additional commits after `/port`, use `/port` again to update the port PRs.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org