[archetype] new binding feature should use ohc.version (#1311)
When generating a new binding with the maven archetype it should refer to openhab core via the variable `ohc.version` In the feature.xml. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>pull/1312/head
parent
1c1bde0ef7
commit
9a50b262a3
|
@ -14,10 +14,9 @@
|
|||
|
||||
-->
|
||||
<features name="${rootArtifactId}-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">
|
||||
<repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${project.version}/xml/features</repository>
|
||||
<repository>mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features</repository>
|
||||
|
||||
<feature name="openhab-binding-${bindingId}" description="${bindingIdCamelCase} Binding"
|
||||
version="${project.version}">
|
||||
<feature name="openhab-binding-${bindingId}" description="${bindingIdCamelCase} Binding" version="${project.version}">
|
||||
<feature>openhab-runtime-base</feature>
|
||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/${rootArtifactId}/${project.version}</bundle>
|
||||
</feature>
|
||||
|
|
Loading…
Reference in New Issue