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

OSGiIT fails on 1.0 branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.12
    • core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: