[backport camel-4.18.x] CAMEL-23828: Honor explicit --quarkus-version during export#24230
Merged
davsclaus merged 1 commit intoJun 25, 2026
Merged
Conversation
Contributor
|
How does this work on the main branch? We cannot make special code on 4.18.x if its not similar/same as the main branch |
Contributor
Author
In upstream, there was a big change https://issues.apache.org/jira/browse/CAMEL-23560 and part of it is QuarkusPlatformMixin, which provides the same functionality (I mentioned the upstream fix in the ticket for 4.18.x, but I should mention it in the PR as well) |
Contributor
|
Ah okay, then this is fine |
davsclaus
approved these changes
Jun 24, 2026
When the user specifies --quarkus-version on the CLI, via application.properties, or via system property, the export command should use that exact version instead of resolving from the Quarkus Extension Registry. Previously the registry resolution was unconditional and would overwrite the user's version with the latest patch for that stream. The fix removes the default value from the --quarkus-version option so the field starts as null. ExportQuarkus now only applies the build-time default and registry resolution when no explicit version was provided.
14d3116 to
f1d32d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes https://issues.apache.org/jira/browse/CAMEL-23828
When the user specifies --quarkus-version on the CLI, via application.properties, or via system property, the export command should use that exact version instead of resolving from the Quarkus Extension Registry. Previously the registry resolution was unconditional and would overwrite the user's version with the latest patch for that stream.
The fix removes the default value from the --quarkus-version option so the field starts as null. ExportQuarkus now only applies the build-time default and registry resolution when no explicit version was provided.
Description
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.