Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature check fails to resolve openhab-core-io-rest-sitemap in addon #1207

Closed
J-N-K opened this issue Nov 12, 2019 · 4 comments
Closed

Feature check fails to resolve openhab-core-io-rest-sitemap in addon #1207

J-N-K opened this issue Nov 12, 2019 · 4 comments

Comments

@J-N-K
Copy link
Member

@J-N-K J-N-K commented Nov 12, 2019

    <feature name="openhab-transport-webdav" description="WebDAV Transport" version="${project.version}">
        <feature>openhab-runtime-base</feature>
        <feature>openhab.tp-httpclient</feature>
        <bundle dependency="true">mvn:org.apache.httpcomponents/httpclient-osgi/4.5.5</bundle>
        <bundle dependency="true">mvn:org.apache.httpcomponents/httpcore-osgi/4.4.9</bundle>
        <bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.io.transport.webdav/${project.version}</bundle>
    </feature>

results in

[WARNING] Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-transport-webdav; type=karaf.feature; version=2.5.0.SNAPSHOT; filter:="(&(osgi.identity=openhab-transport-webdav)(type=karaf.feature)(version>=2.5.0.SNAPSHOT))" [caused by: Unable to resolve openhab-transport-webdav/2.5.0.SNAPSHOT: missing requirement [openhab-transport-webdav/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-runtime-base; type=karaf.feature [caused by: Unable to resolve openhab-runtime-base/2.5.0.SNAPSHOT: missing requirement [openhab-runtime-base/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-io-rest-sitemap; type=karaf.feature [caused by: Unable to resolve openhab-core-io-rest-sitemap/2.5.0.SNAPSHOT: missing requirement [openhab-core-io-rest-sitemap/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.io.rest.sitemap; type=osgi.bundle; version="[2.5.0.201911121749,2.5.0.201911121749]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.io.rest.sitemap/2.5.0.201911121749: missing requirement [org.openhab.core.io.rest.sitemap/2.5.0.201911121749] osgi.service; filter:="(objectClass=org.eclipse.smarthome.ui.items.ItemUIRegistry)"; effective:=active [caused by: Unable to resolve org.openhab.core.ui/2.5.0.201911121748: missing requirement [org.openhab.core.ui/2.5.0.201911121748] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.jetty.proxy)(version>=9.3.0)(!(version>=10.0.0)))" [caused by: Unable to resolve org.eclipse.jetty.proxy/9.4.20.v20190813: missing requirement [org.eclipse.jetty.proxy/9.4.20.v20190813] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.jetty.server)(version>=9.4.20)(!(version>=10.0.0)))"]]]]]]

The feature check in core succeeds. I can fix my failure by adding the jetty-server as dependency to the openhab.tp-http-client feature.

Any explanation? Any objections against adding said bundle to the core-feature?

@J-N-K

This comment has been minimized.

Copy link
Member Author

@J-N-K J-N-K commented Nov 12, 2019

@wborn could this be related to your latest jetty upgrade?

@wborn

This comment has been minimized.

Copy link
Member

@wborn wborn commented Nov 12, 2019

It could be, but I don't have an explanation for it.

@wborn

This comment has been minimized.

Copy link
Member

@wborn wborn commented Nov 12, 2019

I just ran into the same issue but got it fixed by rebasing the branch on the latest master.

@J-N-K

This comment has been minimized.

Copy link
Member Author

@J-N-K J-N-K commented Nov 24, 2019

Seems to be fixed by rebasing.

@J-N-K J-N-K closed this Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.