-
Notifications
You must be signed in to change notification settings - Fork 652
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
Should jena-geosparql be shaded be downloadable without dependencies? #2645
Comments
There is a profile in Only having a shaded jena-geosparql could risk choosing the version of a dependency the application may be including directly. A hack that may work is to add Long term (no timescale!), I'd like to have |
Thank you for the information. The Long term solution sounds neat. A fork of AFS/fuseki-mods, https://github.com/AKSW/fuseki-mods/tree/adaptions/jena-fmod-geosparql added geosparql as one of the modules, but is a bit behind on version. In my experience there seems to often be issues with dropping in jars. New missing classes from dependencies etc., I should try to use/learn a more maven/java centric configuration/setup. |
Just a note on the fork: The module uses an adapted version of jena-geosparql (based on our AKSW/jena fork) where @LorenzBuehmann and @SimonBin added support for having spatial indexes on a per graph basis. The current module only supports one index over all graphs. The fuseki module also adds a little servlet where one can manually trigger recreation of the index for selected graphs or all. The main problem is, that jena-geosparql somewhat incorrectly builds upon the Resource abstraction, whereas Node would have been better, because the latter is serializable and the former not. So Lorenz retrofitted serialization with kryo but this is under BSD3 license and AFAIK incompatible with Apache V2. The right solution would be to replace most references to Resource with Node in jena-geosparql, but unfortunately so far we didn't have time to address this. (An evaluation of this was also part of our GeoSPARQL/Jena presentation at the GeoLD workshop at ESWC2024: slides, p15, p16. When we find time we'd like to contribute the good parts back, but so far no timeline.) Of course we'd also favor a long term solution for managing Fuseki modules. |
The conditions for other licenses is at https://www.apache.org/legal/resolved.html with many licenses already approved. "cat-A" is fine; it may need updates to the appropriate NOTICE file. "cat-B" is, roughly, "with care and binary only" and not in the formal source release (the "cat-X" is not possible due to imposing additional conditions on the work, restrictions on use, and various other reasons. BSD3 (if you mean 3-clause BSD - the "BSD" name is used for quite a lot of things) is cat-A - including source code. The Eclipse Distribution License is 3-clause BSD. (The Eclipse Public License is not). |
Version
5.1.0
Question
I get a startup error when dropping jena-geosparql-5.1.0.jar in $FUSEKI_BASE/extra folllowing the instructions
in https://jena.apache.org/documentation/geosparql/geosparql-assembler.html
The exception is:
If I instead download from https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/ (which is shaded) and put it in the extra folder, the server starts and geosparql works, but when I inspect the jar file it also contains alot (32 MB) of jena and fuseki itself as dependencies, and I think it has the purpose of being a standalone server, and not a drop-in.
See contents of jena-geosparql-5.1.0.jar
Should jena-geosparql also work as a drop-in module for fuseki, or is the purpose to drop in the jena-fuseki-geosparql jar, when using a fuseki-webapp, with geosparql as a module?
The text was updated successfully, but these errors were encountered: