Hi

Can you try adding dependency="true" to the <bundle> in your features.
http://karaf.apache.org/manual/2.2.5/users-guide/provisioning.html

It may make a difference. We do have that in many of the features we
use in Camel.

On Mon, Jul 16, 2012 at 4:40 PM, gt6081a <[email protected]> wrote:
> I have created a custom bundle that I am trying to wrap up as a feature for
> deployment.
>
> Currently my features.xml is as follows:
>
> <features name="mdm-realtime-features">
> <feature name="mdm-realtime-route" version="1.1.0-SNAPSHOT">
> <feature version="2.8.0-fuse-01-13">camel-jetty</feature>
> <feature version="2.8.0-fuse-01-13">camel-cxf</feature>
> <feature version="2.8.0-fuse-01-13">camel-velocity</feature>
> <bundle>mvn:com.ihg.javelin/mdm-realtime-route/1.1.0-SNAPSHOT</bundle>
> </feature>
> </features>
>
> I have added the features file to the container and ensured it is being
> picked up properly. I am running into an issue when I try to
> features:install mdm-realtime-route though as it says
>
> karaf@root> features:install mdm-realtime-route
> Error executing command: Could not start bundle
> mvn:com.ihg.javelin/mdm-realtime-route/1.1.0-SNAPSHOT in feature(s)
> mdm-realtime-route-1.1.0-SNAPSHOT: Unresolved constraint in bundle
> com.ihg.javelin.m
> dm.realtime.route 167: Unable to resolve 167.0: missing requirement
> http://167.0 package;
> (&(package=org.apache.camel.component.velocity)(version>=2.8.0)(!(version>=3.0.0)))
>
> What am I doing wrong that it is not trying to install the features that are
> listed in the features.xml beforehand? I did a manual features:install of
> camel-velocity and it works fine.
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Custom-Feature-Deployment-tp5713898.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to