openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

Remove orbit bundles from runtime-pom

Open J-N-K opened this issue 2 years ago • 3 comments

They are not available on Maven Central and generate warning during the build.

J-N-K avatar Apr 21 '23 13:04 J-N-K

That would be nice but as you can see the artifacts on Maven Central do not work as well as the Orbit bundles. To get rid of the warnings just create some POMs and Kai should be able to upload those to Artifactory as well. There are also also some missing POMs for some add-on deps, see https://github.com/openhab/openhab-addons/issues/11524.

wborn avatar Apr 21 '23 14:04 wborn

It's essentially the same problem we saw in #3321: The xtext guys use Require-Bundle headers instead of Import-Package, and they require e.g. io.github.classgraph while the non-orbit bundle has a BSN io.github.classgraph.classgraph.

Maybe we should really re-package the xtext bundles and use Import-Package instead of Require-Bundle headers. This will also help us with the equninox/felix issue.

J-N-K avatar Apr 21 '23 14:04 J-N-K

Maybe just create and upload the POMs to fix the missing POM warnings instead of waiting for OSGi compatible artifacts to be released to Maven Central?

wborn avatar Jan 04 '24 08:01 wborn