gradle-karaf-plugin
gradle-karaf-plugin copied to clipboard
project dependency does not have a version
I have bnd project consisting of 3 sub-projects. one sub project is the karaf "feature" project, the two other projects are my provider bundle and application bundle.
the build.gradle of the "feature" project contains the following dependencies:
dependencies { iot project(':com.iotapp.provider') iot project(':com.iotapp.application') mqtt 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.1' }
karaf { features { name = "${project.name}-${version}" xsdVersion = '1.3.0' outputFile = file("${project.buildDir}/karaf/features/${project.name}-feature.xml") includeProject = false;
feature {
name = 'iotapp'
description = 'iot message processing'
configurations 'mqtt', 'iot'
feature 'scr'
}
} }
When I run the gradle generateFeatures it generates the following feature xml:
as you can see in the last two bundles no version is added.