[
https://issues.apache.org/jira/browse/JCRVLT-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375407#comment-17375407
]
Konrad Windszus edited comment on JCRVLT-546 at 7/6/21, 9:45 AM:
-----------------------------------------------------------------
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.
[~tripod] Are the artifact implementation really supposed to be public API or
should they rather not be exported at all?
was (Author: kwin):
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)