1

Is there any way to provision/deploy features to Fuse ESB/Servicemix automaticaly though Maven, like cargo for Tomcat? Using ant+ssh is not an option.

Peter Keller
  • 7,526
  • 2
  • 26
  • 29
user2107244
  • 31
  • 1
  • 4
  • Tried http://mvnplugins.fusesource.org/maven/1.14-SNAPSHOT/maven-provision-plugin/index.html ? – artbristol Mar 05 '13 at 12:55
  • What are you trying to do? Is this to do automatic tests? – Christian Schneider Mar 06 '13 at 11:50
  • This is needed for automatic deployment on Fuse. I was thinking about something like JMX based, that i could see if bundles are actually provisioned and fail build if they are not, so Maven Provision Plugin doesn't look usable. Thanks. – user2107244 Mar 06 '13 at 15:47

1 Answers1

4

I'm currently finalizing a client wrapped in a maven plugin that will do just that, but instead of the fusesource approach of using the hot deployment folder I connect directly to the remote karaf console and execute the commands required to (un)install features.

The auto deploy is part of automated regression tests executed by Jenkins through a set of SoapUI test scripts.

Basically I use apache SSHD to connect to karaf (see an example here: https://cwiki.apache.org/KARAF/63-programmatically-connect-to-the-console.html) and some custom code to execute the commands and parse the result.