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

Oliver Lietz commented on SLING-4412:
-------------------------------------

The {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} service should be 
optional as one can use different {{org.apache.jackrabbit.core.data.DataStore}} 
factories and 
{{org.apache.jackrabbit.oak.plugins.blob.datastore.DbDataStoreService}} is the 
only one which requires 
{{org.apache.jackrabbit.core.util.db.ConnectionFactory}} at all.

How can I tell _bnd_ to mark 
{{org.apache.jackrabbit.core.util.db.ConnectionFactory}} as optional? Adding 
{{cardinality = ReferenceCardinality.OPTIONAL_UNARY}} doesn't seem that smart.


The fragments were required in the past and weren't a problem so far. I've 
removed them now and all tests still pass.

> upgrade Karaf to 4.0
> --------------------
>
>                 Key: SLING-4412
>                 URL: https://issues.apache.org/jira/browse/SLING-4412
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>             Fix For: Launchpad Karaf Features 0.2.0, Launchpad Karaf 
> Integration Tests 0.2.0
>
>         Attachments: SLING-4412.WIP.patch, 
> bring_down_by_installing_feature-karaf.log
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to