You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "janevskistefan (via GitHub)" <gi...@apache.org> on 2025/03/20 09:30:16 UTC
[I] Upgrade to Java 21 [camel-karavan]
janevskistefan opened a new issue, #1507:
URL: https://github.com/apache/camel-karavan/issues/1507
### Describe the solution you'd like
Hi Everyone,
As you all know Java 21 is the latest LTS release, bringing performance improvements and new features all of which will benefit this project.
I took it upon myself to skim over the code and figure out what needs to be changed in order to make this upgrade possible, so far this is what I've found:
- Change the base images:
- https://github.com/apache/camel-karavan/blob/main/karavan-app/src/main/docker/Dockerfile
- https://github.com/apache/camel-karavan/blob/main/karavan-devmode/Dockerfile
- Update the compiler source and target versions inside the following pom.xml files:
- https://github.com/apache/camel-karavan/blob/main/karavan-app/pom.xml
- https://github.com/apache/camel-karavan/blob/main/karavan-generator/pom.xml
- https://github.com/apache/camel-karavan/blob/main/karavan-generator/dependency-reduced-pom.xml
- Update the JDK version inside the following github workflows:
- https://github.com/apache/camel-karavan/blob/main/.github/workflows/app-oidc.yml
- https://github.com/apache/camel-karavan/blob/main/.github/workflows/app.yml
- https://github.com/apache/camel-karavan/blob/main/.github/workflows/vscode.yml
However, if there are any dependencies or issues that might affect this upgrade, please let me know.
Important Links:
- https://www.oracle.com/java/technologies/java-se-support-roadmap.html
- https://www.oracle.com/java/technologies/javase/21-relnote-issues.html
- https://javaalmanac.io/jdk/21/apidiff/17/
### Variant
Both
### Container Management (if applicable)
None
### Operating System (for VS Code Extension)
None
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Upgrade to Java 21 [camel-karavan]
Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #1507: Upgrade to Java 21
URL: https://github.com/apache/camel-karavan/issues/1507
--
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: [I] Upgrade to Java 21 [camel-karavan]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #1507:
URL: https://github.com/apache/camel-karavan/issues/1507#issuecomment-3112610717
Camel 4.14 with camel-jbang et all is using java 21 as default instead of 17.
So I think when karavan upgrades to next LTS then this should be done too.
--
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