From 9a50b262a3e41fee07301a8b0db74f9f05a15409 Mon Sep 17 00:00:00 2001 From: Hilbrand Bouwkamp Date: Tue, 31 Dec 2019 14:33:36 +0100 Subject: [PATCH] [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 --- .../archetype-resources/src/main/feature/feature.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/archetype/binding/src/main/resources/archetype-resources/src/main/feature/feature.xml b/tools/archetype/binding/src/main/resources/archetype-resources/src/main/feature/feature.xml index 6ca672ec74de9..c07d24311de33 100644 --- a/tools/archetype/binding/src/main/resources/archetype-resources/src/main/feature/feature.xml +++ b/tools/archetype/binding/src/main/resources/archetype-resources/src/main/feature/feature.xml @@ -14,10 +14,9 @@ --> - mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${project.version}/xml/features + mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/${ohc.version}/xml/features - + openhab-runtime-base mvn:org.openhab.addons.bundles/${rootArtifactId}/${project.version}