Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As shown in the project types, each different project type can be deployed to a server using the JBI plugin (through the ANT tasks defined in the JBI specification).  The only issue here can be working out dependencies and trying to make sure that you deploy the dependencies.  This means if you have a Service Assembly you wish to deploy you need to first get the dependent components (and maybe even the dependent shared libraries) to deploy.  The Maven2 JBI plugin provides a couple of goals that can help you work through this.

mvn jbi:

...

projectDeploy 

If you have created you assemblies, service units, components and shared libraries as Maven projects (which all ServiceMix components are) you can use this goal.  In essence the plugin will walk the dependencies starting in the current project then deploy each of the dependencies in reverse order.  This can be very useful if you want to quickly get up and running with a new Service Assembly against an installed instance of Apache ServiceMix.

...