-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to Jakarta EE #3559
Comments
Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
We need to update:
|
After giving this a shot I've decided it's far too much work to make sure that we don't break compatibility with existing application servers. |
@hmottestad Is there any chance we could bring this back on the table, probably in a new major version of rdf4j? I am trying to migrate a spring-boot project (with rdf4j dependencies) to spring-boot 3.x, and it requires the javax -> jakarta migration. So this issue is a total blocker..... |
@erikgb Last I looked into this it seemed like a fairly large task. Would you be interested in contributing a fix yourself? Do you know which modules your code depends on? Maybe there is a chance that the scope can be reduced to a smaller part of the RDF4J codebase. |
I could give it a shot.
We depend on quite a lot, and I don't think this migration can be limited to a part of the codebase. Here is an example of the stack-traces I get:
|
@hmottestad I started on an early draft PR, just to get some overview: #4367 Since spring-boot 3.x and spring 6.x requires Java 17, I suggest we start by bumping the min Java version to Java 17. Which branch should I target for such a change? Have you established a branch for the next major version? I also think we should fix some deprecation warnings in the codebase, especially those in the Spring area. They will for sure bother us when bumping versions of Spring dependencies. My local investigation so far indicates that removing the dependency to commons-fileupload is a blocker that will take some time. Multipart is built in in newer version of the Servlet spec, so no need for commons-fileupload, and no new release since 2018 anyway. Please let me know what you think! Maybe @jeenbroekstra also should share his point of view regarding this potential change? I don't want to spend time on this if the Maintainers are not fully "on board". 😸 |
@erikgb Thanks for starting on this :) Last autumn we had a developer meeting and discussed the next major release (5.0.0). We decided to stick with Java 11 as the minimum requirement for the time being. Moving to Java 17 is definitely something we want to do, but at the moment it would be a blocker for some of our stakeholders. |
@hmottestad I opened #4370 to address an issue that I think could be resolved before the migration. Please add your comments. |
We are also moving our application to JakartaEE and that JAXB Maybe we can even replace that
|
@jetztgradnet That is a great suggestion. I think we need to isolate the javax/jakarta dependencies. |
@erikgb , @hmottestad : for your awareness, the aspect of Java XML Bind is now extracted into its own ticket #4421 |
We've already moved JAXB, but there are still a few references to other EE stuff that should be moved to Jakarta. IntelliJ has a migration for this which will hopefully help.
The text was updated successfully, but these errors were encountered: