Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2532

OSGiIT fails on 1.0 branch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.12
    • Component/s: core
    • Labels:
      None

      Description

      The error is:

      (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.jackrabbit.oak-core [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp)(version>=1.4.0)(!(version>=2.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.jackrabbit.oak-core [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.dbcp)(version>=1.4.0)(!(version>=2.0.0)))
      

      Looks like this was introduced when RDBDocumentStore was ported back to the 1.0 branch.

      Changing the Import-Package in oak-core seems to fix it (using the same as in trunk):

                  <Import-Package>
                    *;resolution:=optional
                  </Import-Package>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: