Hello Houssem
Thanks for the proposal.
I had a review of the library and of its diff. Upgrades seems minimal
and fixes the issues that plaggues spark-core.
I support this change.
Is it as easy as bumping the dependency?
Please open a JIRA ticket to track this and feel free to work on this.
Thanks for the initiative.
Best regards,
Benoit
PS:
(Pro-tip: in order not to mess up formatting on Mailing lists it is
common practice to send plain text only versions of the email.
This can for example be achieved in Thunderbird: Options > Sending
format > Only Plain Text)
On 27/01/2025 14:21, Houssem NASRI wrote:
Dear James Community,
SparkJava (com.sparkjava:spark-core) is a critical dependency in the James
codebase,used across 90+ files, but has entered an unmaintained state:
* 200+ unresolved issues on GitHub* No active development for 3 years (last
commit: July 2022)* Compatibility risks with modern Java/Jakarta EE* Security
concerns due to outdated dependencies
-------------------------PROPOSED SOLUTION-------------------------Adopt the
maintained spark-11 fork by nmondal:https://github.com/nmondal/spark-11
Key improvements:---------------------------------- Modern Java 17+ baseline-
Virtual thread (Java 21) support- Jetty 12 integration (HTTP/2.0 compatible)-
javax -> jakarta API migration- Websocket refactoring for Jetty 11+
Diff comparison with
upstream:https://github.com/perwendel/spark/compare/master...nmondal:spark-11:master
------------------------- NEXT STEPS------------------------- 1. Community
review of spark-11 fork2. Update dependency and ensure green build3. Develop
regression tests
Please share your thoughts on this proposal.
Best regards,Houssem NASRI
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org