davsclaus opened a new pull request, #27514:
URL: https://github.com/apache/camel/pull/27514
Three fixes for running projects and examples with `camel run`, one commit
each.
**CAMEL-25422: detect Quarkus projects that name the BOM with properties**
- `camel run pom.xml` ran a project generated by code.quarkus.io (and the
camel-quarkus-examples) as a plain Camel Main project. The BOM is declared as
`${quarkus.platform.artifact-id}`, and the pom properties were not resolved.
- The pom properties are now resolved before matching.
- The runtime is also detected from the `quarkus-maven-plugin` or
`spring-boot-maven-plugin` build plugin.
- Verified: `camel run pom.xml` on camel-quarkus-examples/timer-log now says
"Running Quarkus project" and runs.
**CAMEL-25423: run Camel Main and Spring Boot apps in the current directory**
- `--runtime=camel-main` and `--runtime=spring-boot` started the exported
app in the export folder (`.camel-jbang-run/<time>`). Routes that read or write
files relative to the working directory used that folder instead.
- So an example run with these runtimes processed nothing: `file:orders` did
not see the example's orders folder.
- They now run in the current directory, as JBang and Quarkus already do.
- Verified with `camel run --example=route/content-based-router` on all
three runtimes: each processes the three orders.
**CAMEL-25426: start the infra service of the aws-sqs example with its
implementation**
- The aws-sqs catalog entry said `aws`, which fails with "service aws not
found". It needs `aws sqs`.
- The launcher now passes the implementation on to `camel infra run`. It
still knows the running service by its name, `aws`.
- The catalog source is fixed in apache/camel-jbang-examples too.
Tests: new `RunHelperDetectRuntimeTest` and `LaunchManagerInfraTest`. The
`Run*Test` and `LaunchManager*Test` tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m
--
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]