[ 
https://issues.apache.org/jira/browse/JENA-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280495#comment-17280495
 ] 

Andy Seaborne commented on JENA-2023:
-------------------------------------

Originally: "Java package overlap: jena-cmds has package "jena", so does 
jena-text"

To provide this, add a mechanism to allow code to inject code for commands 
which only have placeholders in jena-cmds. Then code can inject (e.g. during 
Jena initialization) the implementation without getting into dependency 
complexity of jena-cmds having to depend on all modules with commands.

The injected command willonly works if the code is on the classpath. jena-cmds 
can ship in the basic distribution even if the command implementation does not.

 

> jena-cmds to support adding commands from code init
> ---------------------------------------------------
>
>                 Key: JENA-2023
>                 URL: https://issues.apache.org/jira/browse/JENA-2023
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Text
>    Affects Versions: Jena 3.17.0
>            Reporter: Andy Seaborne
>            Priority: Major
>
> Overlapping packages cause problems in the javadoc production.
> jena-text/src/main/java/jena needs to move.
> (Maybe placeholder indirections can go in jena-cmds and the correct code be 
> injected at runtime with Jena Init / Service Loader)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to