-
Notifications
You must be signed in to change notification settings - Fork 165
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
GH-5090 Lucene 9 version of the Lucene SAIL #5091
base: main
Are you sure you want to change the base?
GH-5090 Lucene 9 version of the Lucene SAIL #5091
Conversation
- Copied the Lucene SAIL implementation and upgraded it to Lucene 9 Signed-off-by: Richard Eckart de Castilho <[email protected]>
@hmottestad build fails due to the Lucene 9 dependencies apparently not being on the whitelist. |
There is a license issue that the Eclipse IP-team needs to check for us. I'll try to look into that when I have some time. The second seems to be a Javadocs issue. That might just be that we need to whitelist something, but I'm not sure. Could also be an issue with some transitive dependencies in Lucene 9. |
I'm still not very comfortable with having two Lucene sails. Mixing two versions of the same library has previously led to issues down the road. If someone was depending on the parent pom I would assume they would get both versions of the Lucene library. |
Some relevant discussion: #5037 |
The maven resolver can only resolve a particular JAR to a single version, not to multiple. If you inherit from the parent POM, you get the Lucene version defined there. Nobody should really depend on the parent POM. They should use the The situation is somewhat similar to the The new module locally overrides the Lucene version property - it won't leak. Presently, I didn't even add a managed dependency for the module to the BOM - something that actually should still be done. |
The json-ld side is a bit different. There we are depending on two completely different libraries. The only issue that would occur if you depend on both is that you wouldn't be sure which one you end up getting through the Java Service Provider Interface. Here with Lucene we are depending on two versions of the same library. |
GitHub issue resolved: #5090
Briefly describe the changes proposed in this PR:
PR Author Checklist (see the contributor guidelines for more details):
mvn process-resources
to format from the command line)