You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2015/09/27 16:16:06 UTC

[jira] [Updated] (OAK-3335) RepositorySidegrade has runtime dependency on jackrabbit-core

     [ https://issues.apache.org/jira/browse/OAK-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain updated OAK-3335:
---------------------------
    Fix Version/s:     (was: 1.3.7)
                   1.3.8

> RepositorySidegrade has runtime dependency on jackrabbit-core
> -------------------------------------------------------------
>
>                 Key: OAK-3335
>                 URL: https://issues.apache.org/jira/browse/OAK-3335
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>    Affects Versions: 1.3.5
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>             Fix For: 1.3.8
>
>
> It should be possible to run {{RepositorySidegrade}} from a runnable jar file that does not embed {{jackrabbit-core}}. E.g. once {{RepositorySidegrade}} is enabled in {{oak-run}}, it shoudl work in the variant that does not embed jackrabbit-core.
> OAK-3239 introduced a transitive runtime dependency from {{RepositorySidegrade}} to {{RepositoryUpgrade}} (via static imports), which has dependencies to classes in {{jackrabbit-core}}. This leads to failure with a {{ClassNotFoundException}}.
> Moving the constants and static method to {{RepositorySidegrade}} and importing them in {{RepositoryUpgrade}} instead should resolve the issue.



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