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/05/21 07:41:37 UTC
[PR] CAMEL-23563: Support @CommandLine.Mixin in JBang command doc generation [camel]
davsclaus opened a new pull request, #23401:
URL: https://github.com/apache/camel/pull/23401
## Summary
- The JBang command documentation generator (`PrepareCamelJBangCommandsMojo`) now supports picocli `@CommandLine.Mixin` fields, which were introduced in PR #23333 but caused mixin options to disappear from generated docs.
- Options from mixin classes (`MavenResolverMixin`, `QuarkusPlatformMixin`, `QuarkusExtensionRegistryMixin`, `CamelUpdateMixin`) now appear in the generated metadata and documentation for all commands that use them (`run`, `export`, `doc`, `catalog *`, `version-list`, etc.).
- Handles mixin inheritance, nested mixins, and mixin superclass options via recursive parsing.
## Test plan
- [x] All existing plugin tests pass (46/46)
- [x] Verified `camel-jbang-commands-metadata.json` now includes mixin options for `run`, `export`, `doc`, `catalog *`, `version-list`, and other affected commands
- [x] Verified generated `.adoc` doc pages include the mixin options (e.g., `--download`, `--repo/--repos`, `--fresh`, `--quarkus-group-id`, `--quarkus-version`, `--quarkus-ext-registry`)
- [x] Verified mixin inheritance works (`QuarkusPlatformMixin extends QuarkusExtensionRegistryMixin`)
- [x] Verified nested mixins work (`CamelUpdateMixin` containing `@Mixin MavenResolverMixin`)
_Claude Code on behalf of Claus Ibsen_
--
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-23563: Support @CommandLine.Mixin in JBang command doc generation [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23401:
URL: https://github.com/apache/camel/pull/23401#issuecomment-4505887397
: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-23563: Support @CommandLine.Mixin in JBang command doc generation [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23401:
URL: https://github.com/apache/camel/pull/23401#issuecomment-4506054634
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `docs`
- `dsl/camel-jbang/camel-jbang-core`
- `tooling/maven/camel-package-maven-plugin`
> :information_source: Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the `test-dependents` label to force testing all dependents.
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `dsl/camel-jbang/camel-jbang-core`: 1 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>Build reactor — dependencies compiled but only changed modules were tested (3 modules)</summary>
- Camel :: Docs
- Camel :: JBang :: Core
- Camel :: Maven Plugins :: Camel Maven Package
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/26212552697)
--
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-23563: Support @CommandLine.Mixin in JBang command doc generation [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23401:
URL: https://github.com/apache/camel/pull/23401
--
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