Wrap URL handler

Dear openHAB Community

It seems like it is not possible to install the “Wrap URL handler” feature anymore.

openHAB runtime distribution “openHab 2.0.0 Build Release”

“feature:list” shows the wrap feature that I would like to install
wrap | 0.0.0 | Uninstalled | standard-4.0.8| Wrap URL handler

feature:install wrap
Error executing command: Error

I would very much appreciate your help.

Thanks, Daniel

I have the same problem, I need the wrap feature, which at some point last year was available.
In the log I can see the details of the error:

2017-01-25 19:01:54.826 [WARN ] [url.mvn.internal.AetherBasedResolver] - Error resolving artifact org.ops4j.pax.url:pax-url-wrap:jar:uber:2.5.2: [Could not find artifact org.ops4j.pax.url:pax-url-wrap:jar:uber:2.5.2 in openhab (https://dl.bintray.com/openhab/mvn/online-repo/2.0/)]

When browsing the repository, the mentioned bundle does not appear, as the error says. Is it something that should be fixed by OpenHAB or should we just add some repository that contains it? (e.g. in userdata/etc/org.ops4j.pax.url.mvn.cfg perhaps?)

Thanks,
Alvaro

Wrap is not “standard” feature any longer and must be embedded to not cause internet scan. Since openhab have different set of remote repositories (bintray) than default Karaf installation it doesn’t work.

As work around please modify etc/org.ops4j.pax.url.mvn.cfg and add to remoteRepositories property http://central.maven.org/ or http://repo1.maven.apache.org/maven2 (both should host the same artifacts) so you will get access to pax-url-wrap.

@Alvaro I made simple fix for that. Lets hope it will get accepted so you will be able to continue work on your things. :slight_smile:


Thanks! In the meantime the workaround works just fine.