[
https://issues.apache.org/jira/browse/JCRVLT-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379104#comment-17379104
]
Dominik Süß commented on JCRVLT-546:
------------------------------------
[~kwin], [~tripod] - the change may be problematic as it introduces a major
version bump to org.apache.jackrabbit.vault.fs and therefore introducing a
backward incompatibility on OSGi level. Even when the effective API change is
not being used consumers of this package would have to recompile preventing a
provider based push rollout without touching the consumer code.
> 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)