jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3335) RepositorySidegrade has runtime dependency on jackrabbit-core
Date Wed, 02 Mar 2016 15:35:18 GMT

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

Davide Giannella updated OAK-3335:
    Fix Version/s: 1.4

> 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.4, 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

View raw message