Julian Sedding created OAK-3335:
-----------------------------------

             Summary: 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.6


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)

Reply via email to