# How to create a binding for 2.5.x

**URL:** <https://community.openhab.org/t/how-to-create-a-binding-for-2-5-x/88887>\
**Category:** Development\
**Created:** [December 29, 2019, 9:28pm UTC](https://community.openhab.org/t/how-to-create-a-binding-for-2-5-x/88887 "2019-12-29T21:28:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![cweitkamp](https://community.openhab.org/user_avatar/community.openhab.org/cweitkamp/32/56864_2.png) [@cweitkamp](https://community.openhab.org/u/cweitkamp)\
**Post date:** [December 31, 2019, 12:38pm UTC](https://community.openhab.org/t/how-to-create-a-binding-for-2-5-x/88887/7 "2019-12-31T12:38:15Z")

</div>

> [@markus\_pfleger](#):
>
> Is this the feature.xml file located in “MY\_BINDING/target/feature/feature.xml”?

No. You have to change the file (`src/main/feature/feature.xml`).

See also:

> [@New Binding error - Cannot find directory for project: org.openhab.addons:org.openhab.addons.reactor](https://community.openhab.org/t/new-binding-error-cannot-find-directory-for-project-org-openhab-addons-org-openhab-addons-reactor/85774/14):
>
> We are working on it. Currently you have to perform two changes after running the script on the 2.5.x branch: Change the version in the POM of the new binding (pom.xml) to: \<version\>2.5.1-SNAPSHOT\</version\> Change the openhab Core repository version in the feature file (src/main/feature/feature.xml) by renaming the variable {project.version} to {ohc.version}: \<repository\>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features\</repositor…

---

_[View the full topic](https://community.openhab.org/t/how-to-create-a-binding-for-2-5-x/88887)._
