Adaptions in feature.xml in own project

Dear Community,

When developing a new binding you need to make changes to two xml files: feature.xml and pom.xml. The pom.xml file is in the same java project and branch, but the feature.xml is at another location. So how to commit the new binding then - do you need to make a PR to two projects, openhab-distro and openhab-addons?

Thanks in advance.

Best regards,

The feature file is also in the open2-addons repository. In feature directory. You need to add to that file:

I do wonder though, if we can have a feature.xml per project (that would also be part of the skeleton binding), for example:

<features name="${project.artifactId}-${project.version}" xmlns="">
    <feature name="openhab-binding-airquality" description="Air Quality Binding" version="${project.version}">
        <bundle start-level="80">mvn:org.openhab.binding/org.openhab.binding.airquality/${project.version}</bundle>

and combine all those in the root pom with something like:


Was this implemented, if so where can I learn more how to get a working feature and pom combination? the file @hilbrand linked to is now missing and I notice that each binding has its own feature.xml located at…


Developer docs -> Buildsystem maybe