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 "Julian Sedding (JIRA)" <ji...@apache.org> on 2015/10/27 14:46:27 UTC

[jira] [Resolved] (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 ]

Julian Sedding resolved OAK-3335.
---------------------------------
    Resolution: Won't Fix

Since {{oak-upgrade}} is a runnable jar file now, and it embeds JR2 classes, this is no longer a problem.

> 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.10
>
>
> 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)