Marcel Reutegger created OAK-2532:
-------------------------------------
Summary: OSGiIT fails on 1.0 branch
Key: OAK-2532
URL: https://issues.apache.org/jira/browse/OAK-2532
Project: Jackrabbit Oak
Issue Type: Bug
Components: core
Reporter: Marcel Reutegger
The error is:
{noformat}
(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)))
{noformat}
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):
{noformat}
<Import-Package>
*;resolution:=optional
</Import-Package>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)