mvn camel:run is a maven plugin allowing you to quickly startup a camel context where it loads a spring application context.xml files (scanning the META-INF/services folder).
So its used when you developer and want to run it from a cmd line.
It also allows you to run some of the examples.
Its kinda like what mvn jetty:run does for web apps.
A bit info on the Camel maven plugins here:
The other is installing a .jar into an existing running OSGi kernel.
The big difference is that "mvn camel:run" creates a new JVM to run in. Doesn't load into an existing (run instance of) ServiceMix.
Also:I think META-INF/services should be META-INF/spring
So, follow-up question, is there a way to have "mvn camel:run" deploy to servicemix instance?
In Servicemix4 , we leverage the Spring DM to load the application context in the META-INF/spring of the bundle.
Please feel free to try it