Skip to content

[4.18.x] CAMEL-23192 - Backport JBang Quarkus export fixes#22710

Merged
jamesnetherton merged 5 commits intoapache:camel-4.18.xfrom
jamesnetherton:CAMEL-23192-4.18.x-backports
Apr 21, 2026
Merged

[4.18.x] CAMEL-23192 - Backport JBang Quarkus export fixes#22710
jamesnetherton merged 5 commits intoapache:camel-4.18.xfrom
jamesnetherton:CAMEL-23192-4.18.x-backports

Conversation

@jamesnetherton
Copy link
Copy Markdown
Contributor

Note - includes changes from currently unmerged #22708.

@jamesnetherton
Copy link
Copy Markdown
Contributor Author

@Croway not sure if there is something missing on the 4.18.x branch for the JDK 21 minimum version stuff?

The CI build is failing:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (enforce-java-version) on project camel-jbang-core: 
[ERROR] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion failed with message:
[ERROR] JDK 21+ is required to build Apache Camel. The multi-release JAR in camel-util requires JDK 21+ to compile virtual thread support. Building with JDK 17 produces JARs without virtual thread support.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce 

I don't think the changes in this PR are related.

@Croway
Copy link
Copy Markdown
Contributor

Croway commented Apr 21, 2026

yeah, just merged it, this must be some backport we forgot from the main branch. I'll fix that.

Edit: the missing backport #22711

mcarlett and others added 5 commits April 21, 2026 13:57
…ype option

- Add --quarkus-package-type CLI option (uber-jar default, fast-jar optional)
- Add Dockerfile.jvm for fast-jar mode, Dockerfile.native-micro for native builds
- Update Dockerfile.native base image to UBI 9.7
- Set quarkus.package.jar.type in generated POM based on package type selection
@jamesnetherton jamesnetherton force-pushed the CAMEL-23192-4.18.x-backports branch from 64a2462 to f96a57a Compare April 21, 2026 12:58
@Croway
Copy link
Copy Markdown
Contributor

Croway commented Apr 21, 2026

Are the 5 commits expected?

@jamesnetherton
Copy link
Copy Markdown
Contributor Author

Are the 5 commits expected?

They are cherry-picks from main, but I can squash them up on merge.

@jamesnetherton jamesnetherton merged commit 301e3a3 into apache:camel-4.18.x Apr 21, 2026
3 checks passed
@jamesnetherton jamesnetherton deleted the CAMEL-23192-4.18.x-backports branch April 21, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants