Aklakan opened a new issue, #3046:
URL: https://github.com/apache/jena/issues/3046

   ### Version
   
   5.4.0-SNAPSHOT
   
   ### What happened?
   
   I am trying to start a `jena-fuseki-server` bundle with the spatial indexer 
plugin added a s a custom mod. However, it is not getting loaded (neither when 
added as a dependency nor as a separate jar file on the classpath).
   
   Recently, there has been #3001 - and if I am not mistaken, there it's not 
fully fixed:
   
   In `FusekiServerRunner.java` a set of default modules is registered:
   
   
https://github.com/apache/jena/blob/a50f0fe179c96e1e4e34ee7d7bab681bb94be8e6/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/mod/FusekiServerRunner.java#L81-L90
   
   
   In `FusekiMain.java`, a check is made for whether modules have already been 
initialized. It detects the default modules and skips loading of custom modules.
   
   
https://github.com/apache/jena/blob/a50f0fe179c96e1e4e34ee7d7bab681bb94be8e6/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/main/cmds/FusekiMain.java#L583-L589
   
   Perhaps module loading needs to be split for `fusekiModules` (always present 
regardless of --modules setting) and `customFusekiModules`?
   
   
   ### Relevant output and stacktrace
   
   ```shell
   
   ```
   
   ### Are you interested in making a pull request?
   
   Maybe


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to