Hello community,
In the process of from migrating javax to jakarta in framework, then in plugins , I came across a compilation issue.
Links to MR : [1] [2]
This issue comes from the solr plugin. After some research, it seems that the plugin doesn't handle jakarta yet and still uses javax [3] Lucene is up to date at this point and already at version 10.1 while Solr is in the process of releasing the 10.0 [4] If in understand correctly, both libraries should be sync in their version number. Jacques already tried to upgrade Solr in the past, and despite all efforts, it seems it didn't work [5]

I see several options :
- Temporarily disabling the Solr plugin, but carry on with the migration and migrate Solr plugin once the 10.0 version is out
- Move the Solr plugin to the Attic, and update it when the need comes
- Wait until the Solr migration is out to continue the migration work

FWIW, with both framework and plugins on branch OFBIZ-12989, and the Solr plugin removed, OFBiz compiles and the integration tests are OK.

So i'd like to open the discussion !
Thanks
Best Regards,
Gaetan

[1] https://github.com/apache/ofbiz-plugins/pull/133
[2] https://github.com/apache/ofbiz-framework/pull/875
[3] https://issues.apache.org/jira/browse/SOLR-17503
[4] https://issues.apache.org/jira/browse/SOLR-17631
[5] https://issues.apache.org/jira/browse/OFBIZ-12645

Base OFBiz ticket : https://issues.apache.org/jira/browse/OFBIZ-12989

Reply via email to