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

Alexander Klimetschek commented on JCR-3705:
--------------------------------------------

I don't think this belongs into jackrabbit-jcr-commons. Commons is something 
that is intended to be used by JCR API clients as well, which I don't see for 
many of those classes. These are a kind of SPI commons - some base classes that 
a custom DataStore implementation would find useful, but that is an SPI for 
extending Jackrabbit, not an API.

For that I think there is jackrabbit-spi-commons, although I wonder why this 
can't be in jackrabbit-data, and jackrabbit-core has a dependency on it?

> Extract data store API and implementations from jackrabbit-core
> ---------------------------------------------------------------
>
>                 Key: JCR-3705
>                 URL: https://issues.apache.org/jira/browse/JCR-3705
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Jukka Zitting
>              Labels: patch
>         Attachments: JCR-3705.patch
>
>
> In Oak we'd like to use the Jackrabbit data stores (OAK-805). Doing so would 
> currently require a direct dependency to jackrabbit-core, which is 
> troublesome for various reasons.
> Since the DataStore interface and its implementations are mostly independent 
> of the rest of Jackrabbit internals, it should be possible to avoid that 
> dependency by moving the data store bits to some other component.
> One alternative would be to place them in jackrabbit-jcr-commons, another to 
> create a separate new jackrabbit-data component for this purpose. WDYT?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to