Closed eschizoid closed 8 years ago
The plugin does no support the capability element, something like the following is needed when defining a feature:
capability
<feature name="aries-blueprint" description="Aries Blueprint" version="4.0.1"> <feature prerequisite="false" dependency="false">aries-proxy</feature> <bundle start-level="20"> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1 </bundle> <bundle start-level="20"> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.0.6 </bundle> <bundle start-level="20"> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/1.0.0 </bundle> <bundle start-level="20"> mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.4.3 </bundle> <conditional> <condition>bundle</condition> <bundle start-level="30"> mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.0.1 </bundle> </conditional> <capability> osgi.service;effective:=active;objectClass=org.apache.aries.blueprint.services.ParserService, osgi.extender; osgi.extender="osgi.blueprint";uses:="org.osgi.service.blueprint.container,org.osgi.service.blueprint.reflect";version:Version="1.0" </capability> </feature>
Can you open the issue on gradle-karaf-plugin ? ;-) Do you have any idea for a nice DSL ?
@lburgazzoli Let me think about it :wink:
https://github.com/ieugen/karaf-gradle-plugin/issues/4
The plugin does no support the
capability
element, something like the following is needed when defining a feature: