You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/07/06 09:40:00 UTC

[jira] [Commented] (JCRVLT-546) Remove private references from exported classes

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

Konrad Windszus commented on JCRVLT-546:
----------------------------------------

1. and 3. require major version increments (i.e. are not backwards compatible changes). The other two can be solved by an optional import of org.apache.jackrabbit.spi2dav.

> Remove private references from exported classes
> -----------------------------------------------
>
>                 Key: JCRVLT-546
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-546
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.5.2
>
>
> The following issues are reported by Bnd:
>  # {{[ERROR] .../vault-core/bnd.bnd [0:0]: Export org.apache.jackrabbit.vault.fs, has 1, private references [org.apache.jackrabbit.vault.fs.impl]}}: This is caused by some public classes extending {{org.apache.jackrabbit.vault.fs.impl.AbstractArtifact}} like {{DirectoryArtifact}} and others.
>  # {{[ERROR] .../vault-core/bnd.bnd [0:0]: Export org.apache.jackrabbit.vault.fs.api, has 1, private references [org.apache.jackrabbit.spi2dav]}}: This is caused by {{RepositoryFactory}} using {{org.apache.jackrabbit.spi2dav.ConnectionOptions}} in method {{createRepository}}
>  # {{[ERROR] .../vault-core/bnd.bnd [0:0]: Export org.apache.jackrabbit.vault.packaging, has 1, private references [org.apache.jackrabbit.vault.packaging.registry.impl]}}: This is caused by {{Packaging}} returning {{JcrPackageRegistry}} in {{getJcrPackageRegistry(...)}}.
>  # {{[ERROR] .../vault-core/bnd.bnd [0:0]: Export org.apache.jackrabbit.vault.util, has 1, private references [org.apache.jackrabbit.spi2dav]}}: This is caused by {{RepositoryProvider}} using {{org.apache.jackrabbit.spi2dav.ConnectionOptions}} in method {{createRepository}}



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