diff --git a/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy b/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy index 852988cb7..8983c88fd 100644 --- a/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy +++ b/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy @@ -85,7 +85,7 @@ def addBundleToFeature(bundleAfter, newBundle, bundleName) { mvn:org.openhab.addons.bundles/##3/${project.version} '''.replace('##1', newBundle.replace('org.', '').replace('.', '-')).replace('##2', bundleName).replace('##3', newBundle) - def bomFile = new File(outputDirectory, '../features/karaf/openhab-addons/src/main/feature/feature.xml') + def bomFile = new File(outputDirectory, '../features/openhab-addons/src/main/feature/feature.xml') def newContent = '' def insertIndex = 0; def lines = bomFile.eachLine { line, index ->