[ https://issues.apache.org/jira/browse/JAMES-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houssem updated JAMES-4104: --------------------------- Description: 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] was: 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 ------------------------- Code review of spark-11 fork 2. Update dependency and ensure green build 3. Develop regression tests > Migrate from unmaintained SparkJava to active fork > -------------------------------------------------- > > Key: JAMES-4104 > URL: https://issues.apache.org/jira/browse/JAMES-4104 > Project: James Server > Issue Type: Improvement > Reporter: Houssem > Priority: Minor > > 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] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org