Forum Home » Fuse Distributions » Fuse ESB

Thread: Custom Feature Deployment

 

Permlink Replies: 0 Threads: [ Previous | Next ]
eric.bender

Posts: 25
Registered: 12/05/11
Custom Feature Deployment
Posted: Jul 12, 2012 8:05 PM
  Click to reply to this thread Reply
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.